1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-11 22:11:21 -08:00
Commit graph

105676 commits

Author SHA1 Message Date
Glenn Morris
eb7afdaddc Don't mess with INFOPATH in ns builds
It's not necessary, and would break if INFOPATH was already set (bug#2791).
Ref also
http://lists.gnu.org/archive/html/emacs-devel/2009-05/msg00035.html
http://lists.gnu.org/archive/html/emacs-devel/2005-06/msg00064.html

* lisp/paths.el (Info-default-directory-list):
* lisp/info.el (info-initialize): For self-contained NS builds, put the
included info/ directory at the front. 

* src/nsterm.m (ns_init_paths): Don't mess with INFOPATH.
2012-05-26 14:23:28 -07:00
Glenn Morris
04188bb9ad * lisp/paths.el (Info-default-directory-list): Make it a defcustom.
This is mainly so that we can use custom-initialize-delay,
which means we do not have to worry about "unpruned" directories.
2012-05-26 14:17:06 -07:00
Glenn Morris
5db10eafdc Comment 2012-05-26 13:57:31 -07:00
Stefan Monnier
434163923d * lisp/subr.el (buffer-has-markers-at): Mark obsolete. 2012-05-26 15:55:07 -04:00
Stefan Monnier
a179e3f7b4 Use declare' in lambda' and mis minor changes.
* lisp/subr.el (lambda): Use declare.
* lisp/emacs-lisp/lisp-mode.el (lambda):
* lisp/emacs-lisp/edebug.el (lambda): Move properties to its definition.
* lisp/gnus/legacy-gnus-agent.el (gnus-agent-unhook-expire-days):
* lisp/gnus/gnus-demon.el (gnus-demon-init): Don't bother with type-of.
2012-05-26 11:52:27 -04:00
Eli Zaretskii
53a63be64d Extend mouse support on W32 text-mode console.
src/xdisp.c (draw_row_with_mouse_face): Call
 tty_draw_row_with_mouse_face for WINDOWSNT as well.
 src/w32console.c: Include window.h.
 (w32con_write_glyphs_with_face, tty_draw_row_with_mouse_face): New
 functions.
 (initialize_w32_display): Initialize mouse-highlight data.
 src/w32inevt.c: Include termchar.h and window.h.
 (do_mouse_event): Support mouse-autoselect-window.  When the mouse
 moves, call note_mouse_highlight.  If help_echo changed, call
 gen_help_event to produce help-echo message in the echo area.
 Call clear_mouse_face if mouse_face_hidden is set in the mouse
 highlight info.

 etc/NEWS: Describe the changes.
2012-05-26 15:14:56 +03:00
Eli Zaretskii
c4aeb92ab4 Support help-echo and tooltip messages on w32 text-mode terminals.
src/w32inevt.c (do_mouse_event): If help_echo changed, call gen_help_event
 to produce help-echo message in the echo area.
2012-05-26 14:58:19 +03:00
Eli Zaretskii
f12fdf0237 Support mouse-autoselect-window on w32 text-mode terminals.
src/w32inevt.c (do_mouse_event): Support mouse-autoselect-window.
2012-05-26 14:46:20 +03:00
Eli Zaretskii
42e3a36157 Refactor mouse highlight invocation for w32 console.
src/w32inevt.c: Include termchar.h.
 (mouse_moved_to): Move the call to note_mouse_highlight from here...
 (do_mouse_event): ...to here.
 Call clear_mouse_face if mouse_face_hidden is set in the mouse
 highlight info.
2012-05-26 12:56:31 +03:00
Eli Zaretskii
eb3f6f0189 Support mouse highlight on w32 text-mode frames.
src/xdisp.c (draw_row_with_mouse_face): Call
 tty_draw_row_with_mouse_face for WINDOWSNT as well.
 src/w32inevt.c (mouse_moved_to): When the mouse moves, call
 note_mouse_highlight.
 src/w32console.c: Include window.h.
 (w32con_write_glyphs_with_face, tty_draw_row_with_mouse_face): New
 functions.
 (initialize_w32_display): Initialize mouse-highlight data.
2012-05-26 12:31:59 +03:00
Paul Eggert
4cfd81f6c9 * lread.c (read1): Simplify slightly to avoid an overflow warning
with GCC 4.7.0 on x86-64.
2012-05-26 01:30:49 -07:00
Eli Zaretskii
4446092aff Revert last change in bidi.c.
src/bidi.c (bidi_mirror_char): Revert last change: an int is
 definitely wide enough here.
2012-05-26 10:03:39 +03:00
Aaron S. Hawley
34a008d93c * lisp/thingatpt.el (forward-same-syntax): Handle no ARG case.
Fixes: debbugs:11560
2012-05-25 19:40:47 -07:00
Glenn Morris
0a3b289f43 * lisp/progmodes/cc-mode.el (auto-mode-alist): Fix typo. 2012-05-25 19:34:16 -07:00
Glenn Morris
f9f334f0c2 * lisp/paths.el: Remove no-byte-compile.
* lisp/loadup.el: No need to load lisp/paths.el uncompiled.

* src/lisp.mk (lisp): Update for this change.
2012-05-25 18:13:24 -04:00
Paul Eggert
8825930890 Merge from trunk. 2012-05-25 13:31:25 -07:00
Paul Eggert
024811862b * src/buffer.c (Fmove_overflay): Clip instead of trying to fix bug 9642. 2012-05-25 13:30:19 -07:00
Glenn Morris
87eb79c25b * lisp/image.el (imagemagick-types-inhibit): Doc fix.
* etc/NEWS: Related edits.
2012-05-25 16:24:58 -04:00
Paul Eggert
23d10a2703 Merge from trunk. 2012-05-25 12:27:58 -07:00
Paul Eggert
243e053005 Merge recent dbus changes better. 2012-05-25 12:24:54 -07:00
Glenn Morris
c6574eb515 * src/lisp.mk (lisp): Update for more files being compiled now. 2012-05-25 14:58:25 -04:00
Glenn Morris
758c81e87d There's no reason not to compile version.el
AFAICS, this is ancient code dating from when there was an "inc-vers.el",
that was used to bump the build number on version.el. Nowadays that
happens in loadup.el.

* lisp/version.el: Remove no-byte-compile and associated formatting.

* lisp/loadup.el: No need to load lisp/version.el uncompiled.
2012-05-25 14:57:51 -04:00
Paul Eggert
42b2a986d9 Merge from trunk. 2012-05-25 11:19:24 -07:00
Stefan Monnier
48def666f1 * src/lread.c: Remove `read_pure' which makes no difference.
(read_pure): Remove var.
(unreadpure): Remove function.
(readevalloop): Don't call read_list with -1 flag.
(read1, read_vector): Don't test read_pure any more.
(read_list): Simplify.
2012-05-25 14:06:13 -04:00
Stefan Monnier
a8d3cbf75d * lisp/progmodes/js.el: Add notes in comments. 2012-05-25 11:03:22 -04:00
Stefan Monnier
e8d32c7e80 * src/fileio.c, src/character.h: Minor style tweaks. 2012-05-25 11:01:30 -04:00
Stefan Monnier
245101e5da * lisp/gnus/gnus-win.el (gnus-configure-frame): Don't signal an error when
jumping to *Server* from a dedicated *Group* window.
(gnus-configure-frame): CSE.
* lisp/gnus/gnus-registry.el: Minor style cleanup.
(gnus-registry--set/remove-mark): New function, extracted from
gnus-registry-install-shortcuts.
(gnus-registry-install-shortcuts): Use it.
2012-05-25 10:58:17 -04:00
Stefan Monnier
e7e85dc0a0 * lisp/progmodes/gdb-mi.el: Minor style changes.
(gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
Turn into minor modes.
(gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
(gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
(gdb-shell): Remove unneeded let-binding.
(gdb-get-many-fields): Eliminate O(n²) behavior.
2012-05-25 10:47:57 -04:00
Eli Zaretskii
b51d2e5a65 Minor fixes for MSDOS build to track latest changes.
msdos/sed6.inp (INFO_EXT): Edit to .info.
 (INFO_OPTS): Edit to --no-split.
 lisp/cus-start.el <vertical-centering-font-regexp>: Avoid warning on
 platforms that don't link in fontset.c.
2012-05-25 13:35:13 +03:00
Eli Zaretskii
f31237a47f Follow-up for 2012-05-02T13:00:29Z!cyd@gnu.org.
lisp/cus-start.el <vertical-centering-font-regexp>: Avoid warning on
 platforms that don't link in fontset.c.
2012-05-25 13:31:18 +03:00
Eli Zaretskii
18e86e24b6 Follow-up for 2012-05-04T06:45:03Z!rgm@gnu.org.
msdos/sed6.inp (INFO_EXT): Edit to .info.
 (INFO_OPTS): Edit to --no-split.
2012-05-25 13:21:30 +03:00
Leo Liu
9979ea1c6c * lisp/url/url-http.el (url-http-codes): Fix mal-formed defconst. 2012-05-25 18:19:01 +08:00
Katsumi Yamaoka
ec9d4b084a nnspool.el (news-path): Use eval-and-compile 2012-05-25 06:43:29 +00:00
Juri Linkov
bc1b21bb4e Use the same diff color scheme as in modern VCSes (bug#10181).
* lisp/vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
to avoid confusion with `diff-added' that now uses green colors.
(diff-removed): Use shades of red.
(diff-added): Use shades of green.
(diff-changed): Leave just the yellow color.
(diff-use-changed-face): New variable.
(diff-font-lock-keywords): Use `diff-use-changed-face' to decide
how to highlight context diff changes.
(diff-refine-change): Use shades of yellow.
(diff-refine-removed): New face that uses shades of red.
(diff-refine-added): New face that uses shades of green.
(diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
`diff-refine-removed' in the call to `smerge-refine-subst'
depending on the value of `diff-use-changed-face'.

* lisp/vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
Add face condition `min-colors 88' with shades of red.
(ediff-current-diff-B, ediff-fine-diff-B): Add face condition
`min-colors 88' with shades of green.
(ediff-current-diff-C, ediff-fine-diff-C): Add face condition
`min-colors 88' with shades of yellow.

* lisp/vc/smerge-mode.el (smerge-mine): Use shades of red.
(smerge-other): Use shades of green.
(smerge-base): Use shades of yellow.
(smerge-refined-change): Empty face.
(smerge-refined-removed): New face that uses shades of red.
(smerge-refined-added): New face that uses shades of green.
(smerge-refine-subst): Rename arg `props' to `props-c'.  Add new
args `props-r' and `props-a', and use them.  Doc fix.
(smerge-refine): Evaluate `smerge-use-changed-face' and depending
on its value use different faces `smerge-refined-change',
`smerge-refined-removed', `smerge-refined-added' in the call to
`smerge-refine-subst'.
2012-05-25 03:55:40 +03:00
Glenn Morris
532f361c96 Fix previous (slogin and rlogin not appropriate for remote-shell-program) 2012-05-24 17:27:22 -04:00
Glenn Morris
ead5edc086 Move prune-directory-list, remote-shell-program from paths.el to files.el
* lisp/paths.el (prune-directory-list, remote-shell-program): Move to ...
* lisp/files.el (prune-directory-list, remote-shell-program): ...here.
For the latter, delay initialization, prefer ssh, just search PATH.
2012-05-24 16:40:19 -04:00
Glenn Morris
f18b81e6d6 * lisp/paths.el (term-file-prefix): Move to lisp/faces.el (the only user).
* faces.el (term-file-prefix): Move here, make it a defcustom.
2012-05-24 00:53:21 -07:00
Glenn Morris
ee2f89a665 * paths.el (news-inews-program): Move to gnus/nnspool.el.
* gnus/nnspool.el (news-inews-program): Move here from paths.el.
Don't see a need for this to be autoloaded.  (Or even to exist; it is
only used to init another variable.)
2012-05-24 00:31:45 -07:00
Glenn Morris
61a583cade * paths.el (news-directory, news-path): Move to gnus/nnspool.el.
* gnus/nnspool.el (news-directory, news-path): Move here from paths.el.
Don't see a need for these to be autoloaded.  This file is the only
place that uses them, to init another variable.
2012-05-24 00:27:24 -07:00
Glenn Morris
98e15937be Add missing autload pieces needed for rmail-spool-directory's delayed init 2012-05-24 00:20:34 -07:00
Glenn Morris
f8815e4c9b No need to define gnus-default-nntp-server in paths.el
Don't see a need for this to be autoloaded, since it is only used in
gnus.el (in one place, as a fallback).  Maybe it should be obsolete?

* paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).

* gnus/gnus.el (gnus-default-nntp-server): Make it a defcustom.
Merge in doc from paths.el version.
2012-05-24 00:11:19 -07:00
Glenn Morris
c8f3b42c71 Move some rmail variables from paths.el to rmail.el
Ref eg
http://lists.gnu.org/archive/html/emacs-devel/2004-10/msg00620.html

* paths.el (rmail-file-name, rmail-spool-directory): Move from here...
* mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
Make the latter a defcustom, with a delayed initialization.
2012-05-23 23:53:08 -07:00
Glenn Morris
6df9112c19 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
These were deleted from Gnus itself late 2010.
2012-05-23 23:42:26 -07:00
Glenn Morris
1d94303ab3 Do not set a local value for version-control in version.el
There's no reason to; this file isn't auto-generated or anything like
that.
2012-05-23 23:38:41 -07:00
Dmitry Antipov
4b2addb7e3 * src/window.h (clip_changed): Remove useless declaration. 2012-05-23 23:13:51 -07:00
Glenn Morris
42bbbe8bb0 Auto-commit of generated files. 2012-05-23 06:17:31 -04:00
Juanma Barranquero
bd7239f542 Fix ChangeLog typos. 2012-05-22 20:31:19 +02:00
Juanma Barranquero
9e1701c68b lisp/progmodes/which-func.el (which-func-ff-hook): Check against user-error. 2012-05-22 18:50:02 +02:00
Juanma Barranquero
5dadff364e lisp/emacs-lisp/edebug.el: Do not load cl-specs.el. 2012-05-22 18:45:44 +02:00
Juanma Barranquero
584461b299 src/makefile.w32-in: Follow-up to 2012-05-22T16:20:27Z!eggert@cs.ucla.edu.
(TAGS, TAGS-gmake, CONFIG_H): Remove further references to m/intel386.h.
2012-05-22 18:42:08 +02:00