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

105223 commits

Author SHA1 Message Date
Glenn Morris
3d6af4d1f6 Fix merged ChangeLog entry 2012-05-02 09:14:20 -07:00
Glenn Morris
2dd1ff26f2 Auto-commit of generated files. 2012-05-02 12:10:02 -04:00
Chong Yidong
2bc356d71c Add customization data to several built-in variables.
* lisp/cus-start.el (gc-cons-percentage, exec-suffixes)
(dos-display-scancodes, dos-hyper-key, dos-super-key)
(dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
(make-cursor-line-fully-visible, void-text-area-pointer)
(font-list-limit): Add customization data.

* doc/lispref/display.texi (Font Lookup):
* doc/lispref/frames.texi (Pointer Shape):
* doc/lispref/processes.texi (Subprocess Creation): Use defopt for options.
2012-05-02 21:00:29 +08:00
Juanma Barranquero
5d3385a0eb Fix ChangeLog typos. 2012-05-02 13:43:14 +02:00
Juanma Barranquero
55a714795d Silence byte-compiler warnings.
lisp/notifications.el (dbus-debug):
lisp/term/linux.el (gpm-mouse-enable):
lisp/term/screen.el (xterm-register-default-colors): Declare.
2012-05-02 13:38:01 +02:00
Juanma Barranquero
069a7756f7 lib-src/emacsclient.c (min): Undef before redefining it. 2012-05-02 13:33:49 +02:00
Chong Yidong
7b97c76414 Fix naming of abnormal hook vars in allout.el.
* lisp/allout.el (allout-exposure-change-functions)
(allout-structure-added-functions)
(allout-structure-deleted-functions)
(allout-structure-shifted-functions): Rename abnormal hooks from *-hook,
and convert to defcustoms.
(allout-after-copy-or-kill-hook, allout-post-undo-hook): Convert
to defcustoms.
(allout-mode-hook, allout-mode-deactivate-hook): Doc fix.

* lisp/allout-widgets.el: Hook callers changed.
2012-05-02 18:57:03 +08:00
Jim Meyering
1e6f32f816 * lib-src/emacsclient.c (send_to_emacs): Avoid invalid strcpy
upon partial send.

Fixes: debbugs:11374
2012-05-02 18:41:27 +08:00
Jim Meyering
c7b8541ee7 * src/xfns.c (x_window): Use xstrdup (Bug#11375). 2012-05-02 18:20:35 +08:00
Jim Meyering
3f83ace849 * src/xterm.c (x_term_init): Use memcpy instead of strncpy.
Fixes: debbugs:11373
2012-05-02 18:17:03 +08:00
Glenn Morris
9aa071dfb9 Don't hard-code the list of info files in the top-level Makefile
The sed '/ing directory/d' piece is to remove the annoying
"entering/leaving directory" messages that GNU make insists on
printing when called recursively.  --no-print-directory isn't portable.

* Makefile.in (INFO_FILES): Remove variable.
(INFO_NONMISC): New variable.
(install-arch-indep, uninstall): Don't use $INFO_FILES.

* doc/misc/Makefile.in (echo-info): New phony target, used by top-level.
2012-05-02 00:45:16 -07:00
Glenn Morris
226b674362 Add change missed from previous merge from emacs-24 2012-05-02 00:33:52 -07:00
Glenn Morris
90207a1525 Merge from emacs-24; up to 2012-04-16T19:06:02Z!rgm@gnu.org 2012-05-02 00:20:29 -07:00
Glenn Morris
6116bd7e7a * admin/bzrmerge.el (bzrmerge-skip-regexp): Add "Auto-commit". 2012-05-02 00:12:52 -07:00
Glenn Morris
cd3771a08b * Makefile.in (uninstall): Remove useless-use-of-for.
For some reason it caused problems on an old Solaris.
2012-05-02 00:01:36 -07:00
Glenn Morris
a36e64d04b Makefile.in fix for systems without /bin/install or somesuch
* Makefile.in (install-arch-indep, uninstall):
Ensure that INSTALL-type commands are run from top-level.
2012-05-01 23:53:21 -07:00
Glenn Morris
3fef57a2f6 * Makefile.in (INFO_FILES): Add emacs-gnutls;
accidentally omitted from 2012-04-12 backport from trunk.
(Do not merge to trunk.)
2012-05-01 23:46:34 -07:00
Glenn Morris
7adecb9936 * Makefile.in (install-arch-indep): Combine install-data, install-info loops. 2012-05-01 22:10:43 -04:00
Glenn Morris
9e7a4bcfd8 Fix some info/dir entries
* doc/misc/emacs-gnutls.texi, doc/misc/ert.texi, doc/misc/org.texi:
Fix dircategory, direntry to match info/dir.

* doc/misc/viper.texi: Make direntry shorter (also it is no longer "newest").

* info/dir: Make some entries consistent with the source texi files.
2012-05-01 21:22:26 -04:00
Glenn Morris
9fa0e4168d * configure.in (LIBS_TERMCAP): Fix netbsd logic, broken 2012-03-04.
Ref http://debbugs.gnu.org/6190
2012-05-01 20:11:24 -04:00
Ted Zlatanov
723ea6b5d6 auth.texi (Help for users): Update for .gpg file being second 2012-05-01 22:28:14 +00:00
Glenn Morris
976f7668ab * lisp/cus-start.el (suggest-key-bindings): Remove, now it is in Lisp. 2012-05-01 17:06:59 -04:00
Glenn Morris
ab1121bd6d Don't hard-code manual pages in top-level Makefile.in
* Makefile.in (MAN_PAGES): Remove.
(install-arch-indep, uninstall): Don't use $MAN_PAGES.
2012-05-01 17:05:28 -04:00
Glenn Morris
479a281570 Some updates for etc/TODO 2012-05-01 15:31:18 -04:00
Glenn Morris
aac7ba08b8 Further doc fix. 2012-05-01 15:27:10 -04:00
Glenn Morris
beb83b5ac5 * lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set. 2012-05-01 14:48:46 -04:00
Glenn Morris
d80ac57b32 * lisp/cus-edit.el (custom-variable-documentation): Simplify with format. 2012-05-01 14:47:23 -04:00
Stefan Monnier
c8f8221fd1 * lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't leave an "opening..."
message once it's actually open.
2012-05-01 14:37:21 -04:00
Aaron S. Hawley
b593d6a999 Reimplement execute-extended-command in Elisp.
* src/keyboard.c (Fexecute_extended_command, Vsuggest_key_bindings):
Move to simple.el.
* lisp/simple.el (suggest-key-bindings, execute-extended-command):
Move from keyboard.c.
2012-05-01 12:10:02 -04:00
Chong Yidong
87233a14e0 Fix mouse wheel scrolling in Follow mode.
* lisp/follow.el (follow-mwheel-scroll): New function.
(follow-redraw-after-event): Fix last change.

Fixes: debbugs:4112
2012-05-01 22:00:16 +08:00
Chong Yidong
782fbf2a33 * lisp/follow.el: Rework, eliminating reliance on advice.
(set-process-filter, process-filter, sit-for): Advice deleted.
(follow-mode-off-hook): Obsolete hook removed.
(follow-avoid-tail-recenter-p, follow-process-filter-alist): Vars
deleted.
(follow-auto): Use a :set function.
(follow-mode): Rewritten.  Don't advise process filters.
(follow-switch-to-current-buffer-all, follow-scroll-up)
(follow-scroll-down): Assume follow-mode is bound.
(follow-comint-scroll-to-bottom)
(follow-align-compilation-windows): New functions.
(follow--window-sorter): New function.
(follow-all-followers): Use it to explicitly sort windows by their
positions; don't make assumptions about next-window order.
(follow-windows-start-end, follow-delete-other-windows-and-split)
(follow-calc-win-start): Doc fix.
(follow-windows-aligned-p, follow-select-if-visible): Don't call
vertical-motion unnecessarily.
(follow-adjust-window): New function.
(follow-post-command-hook): Use it.
(follow-call-set-process-filter, follow-call-process-filter)
(follow-intercept-process-output, follow-tidy-process-filter-alist)
(follow-stop-intercept-process-output, follow-generic-filter):
Functions deleted.
(follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
(follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down): New
functions, replacing advice on scroll-bar-* commands.

* lisp/comint.el (comint-adjust-point): New function.
(comint-postoutput-scroll-to-bottom): Use it.  Call
follow-comint-scroll-to-bottom for Follow mode buffers.
2012-05-01 21:37:56 +08:00
Glenn Morris
eb0ae1d143 Auto-commit of loaddefs files. 2012-05-01 06:20:43 -04:00
Glenn Morris
ae629daec9 Auto-commit of generated files. 2012-05-01 06:17:25 -04:00
Glenn Morris
bbba8869a2 Only print the edition number of the manuals in the TeX version
Frankly, I think the edition conveys little to no information.
The version number of Emacs is much more relevant.
No-one seems to know what the rules are for updating the edition anyway...

* doc/emacs/emacs.texi (@copying): Only print EDITION in the TeX version.

* doc/lispref/elisp.texi (@copying):
* doc/lispref/intro.texi (Introduction): Only print VERSION in the TeX version.
2012-05-01 00:38:15 -07:00
Glenn Morris
290af74003 Remove no-byte-compile setting from some lisp/term files.
Not that compiling these will bring any noticeable speed benefit, but
there's really no reason not to compile them.  The extra disk space
and build time is negligible, and it might reveal use of obsolete
functions, bugs, etc.
2012-04-30 23:59:34 -07:00
Glenn Morris
99cf43f93b Remove references to macros that are not defined anywhere
* src/syssignal.h: Remove reference to BROKEN_SIGINFO (last used in
s/ptx4.h), BROKEN_SIGTSTP (last used in m/ustation.h, m/dpx2.h),
and BROKEN_SIGURG (was in s/gnu-linux.h prior to 2008-02-10).
All were removed before 23.1.
2012-04-30 20:45:39 -07:00
Glenn Morris
1056cb66e6 Fix typo in previous rpath-related change (thanks hydra) 2012-04-30 21:13:18 -04:00
Glenn Morris
a4a18b8bbe Use libtinfo in preference to libncurses (bug#9741)
* configure.in: Try libtinfo for tputs.
(LIBS_TERMCAP) [gnu*]: Use libtinfo if it was found.  

* etc/NEWS: Mention this.
2012-04-30 21:07:14 -04:00
Glenn Morris
3ba0a545ec * configure.in: Combine adjacent $opsys case blocks. 2012-04-30 20:56:47 -04:00
Glenn Morris
e3da5b1949 * configure.in (LIBS_TERMCAP): Remove unreachable branch for sol2. 2012-04-30 20:50:55 -04:00
Glenn Morris
262f06da76 * configure.in: Invert the TERMINFO logic
(since "yes" is far more common than "no")
2012-04-30 20:46:02 -04:00
Glenn Morris
43b3c7d40c Update comment in configure.in 2012-04-30 20:34:56 -04:00
Glenn Morris
9311dcff1d Remove HAVE_LIBNCURSES; it is required to be true
Also, it was a confusing name, since it does not necessarily mean that
we literally have libncurses; rather that we have tputs etc.

* configure.in (HAVE_LIBNCURSES): Remove; it is required to be true.

* src/dispnew.c: Remove HAVE_LIBNCURSES test;
it is always true on relevant platforms.

* nt/config.nt (HAVE_LIBNCURSES): Remove undef; not needed.
2012-04-30 20:30:11 -04:00
Stefan Monnier
6eac8dc9ac * lisp/minibuffer.el (completion-table-with-quoting): Fix compatibility
all-completions code to not return a number in the last cdr.
2012-04-30 20:21:23 -04:00
Glenn Morris
4d5c63499a Rename autoconf output variable LD_SWITCH_X_SITE_AUX_RPATH
* configure.in (LD_SWITCH_X_SITE_RPATH):
Rename from LD_SWITCH_X_SITE_AUX_RPATH.

* src/Makefile.in (LD_SWITCH_X_SITE_RPATH):
Rename from LD_SWITCH_X_SITE_AUX_RPATH.
2012-04-30 20:16:02 -04:00
Glenn Morris
4737362e43 Remove LD_SWITCH_X_SITE_AUX, which is no longer used
* configure.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used.
* src/Makefile.in (LD_SWITCH_X_SITE_AUX): Remove; no longer used.
2012-04-30 20:12:02 -04:00
Andreas Schwab
74dd3a6bbb * .gdbinit (xpr): Remove checks for no longer existing misc types.
(xintfwd, xboolfwd, xobjfwd, xbufobjfwd, xkbobjfwd, xbuflocal):
Remove.
2012-05-01 02:07:23 +02:00
Eli Zaretskii
91af76bf30 Resurrect encoding of replies by Rmail which was lost in 2012-04-11T21:37:13Z!monnier@iro.umontreal.ca.
lisp/mail/rmail.el (rmail-yank-current-message): Use the encoding of
 the yanked message in preference to the default value of
 buffer-file-coding-system.
2012-04-30 15:50:12 +03:00
Leo Liu
9cc7819c61 * lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
read-only error.
2012-04-30 19:57:47 +08:00
Martin Rudalics
d9558cadd4 Fix entry in display-buffer--action-function-custom-type 2012-04-30 11:09:26 +02:00