bpt/emacs.git
12 years agoconfigure.in tweak for LD_SWITCH_SYSTEM on FreeBSD, NetBSD (bug#10313)
Glenn Morris [Wed, 2 May 2012 16:55:00 +0000 (12:55 -0400)]
configure.in tweak for LD_SWITCH_SYSTEM on FreeBSD, NetBSD (bug#10313)

* configure.in (LD_SWITCH_SYSTEM):
Don't try to defeat the choices made by FreeBSD and NetBSD.

12 years agoYet more merged ChangeLog fixes
Glenn Morris [Wed, 2 May 2012 16:28:03 +0000 (09:28 -0700)]
Yet more merged ChangeLog fixes

12 years agoFix merged ChangeLog entry
Glenn Morris [Wed, 2 May 2012 16:14:20 +0000 (09:14 -0700)]
Fix merged ChangeLog entry

12 years agoAuto-commit of generated files.
Glenn Morris [Wed, 2 May 2012 16:10:02 +0000 (12:10 -0400)]
Auto-commit of generated files.

12 years agoAdd customization data to several built-in variables.
Chong Yidong [Wed, 2 May 2012 13:00:29 +0000 (21:00 +0800)]
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.

12 years agoFix ChangeLog typos.
Juanma Barranquero [Wed, 2 May 2012 11:43:14 +0000 (13:43 +0200)]
Fix ChangeLog typos.

12 years agoSilence byte-compiler warnings.
Juanma Barranquero [Wed, 2 May 2012 11:38:01 +0000 (13:38 +0200)]
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.

12 years agolib-src/emacsclient.c (min): Undef before redefining it.
Juanma Barranquero [Wed, 2 May 2012 11:33:49 +0000 (13:33 +0200)]
lib-src/emacsclient.c (min): Undef before redefining it.

12 years agoFix naming of abnormal hook vars in allout.el.
Chong Yidong [Wed, 2 May 2012 10:57:03 +0000 (18:57 +0800)]
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.

12 years ago* lib-src/emacsclient.c (send_to_emacs): Avoid invalid strcpy
Jim Meyering [Wed, 2 May 2012 10:41:27 +0000 (18:41 +0800)]
* lib-src/emacsclient.c (send_to_emacs): Avoid invalid strcpy
upon partial send.

Fixes: debbugs:11374

12 years ago* src/xfns.c (x_window): Use xstrdup (Bug#11375).
Jim Meyering [Wed, 2 May 2012 10:20:35 +0000 (18:20 +0800)]
* src/xfns.c (x_window): Use xstrdup (Bug#11375).

12 years ago* src/xterm.c (x_term_init): Use memcpy instead of strncpy.
Jim Meyering [Wed, 2 May 2012 10:17:03 +0000 (18:17 +0800)]
* src/xterm.c (x_term_init): Use memcpy instead of strncpy.

Fixes: debbugs:11373

12 years agoDon't hard-code the list of info files in the top-level Makefile
Glenn Morris [Wed, 2 May 2012 07:45:16 +0000 (00:45 -0700)]
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.

12 years agoAdd change missed from previous merge from emacs-24
Glenn Morris [Wed, 2 May 2012 07:33:52 +0000 (00:33 -0700)]
Add change missed from previous merge from emacs-24

12 years agoMerge from emacs-24; up to 2012-04-16T19:06:02Z!rgm@gnu.org
Glenn Morris [Wed, 2 May 2012 07:20:29 +0000 (00:20 -0700)]
Merge from emacs-24; up to 2012-04-16T19:06:02Z!rgm@gnu.org

12 years ago* admin/bzrmerge.el (bzrmerge-skip-regexp): Add "Auto-commit".
Glenn Morris [Wed, 2 May 2012 07:12:52 +0000 (00:12 -0700)]
* admin/bzrmerge.el (bzrmerge-skip-regexp): Add "Auto-commit".

12 years ago* Makefile.in (uninstall): Remove useless-use-of-for.
Glenn Morris [Wed, 2 May 2012 07:01:36 +0000 (00:01 -0700)]
* Makefile.in (uninstall): Remove useless-use-of-for.
For some reason it caused problems on an old Solaris.

12 years agoMakefile.in fix for systems without /bin/install or somesuch
Glenn Morris [Wed, 2 May 2012 06:53:21 +0000 (23:53 -0700)]
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.

12 years ago* Makefile.in (INFO_FILES): Add emacs-gnutls;
Glenn Morris [Wed, 2 May 2012 06:46:34 +0000 (23:46 -0700)]
* Makefile.in (INFO_FILES): Add emacs-gnutls;
accidentally omitted from 2012-04-12 backport from trunk.
(Do not merge to trunk.)

12 years ago* Makefile.in (install-arch-indep): Combine install-data, install-info loops.
Glenn Morris [Wed, 2 May 2012 02:10:43 +0000 (22:10 -0400)]
* Makefile.in (install-arch-indep): Combine install-data, install-info loops.

12 years agoFix some info/dir entries
Glenn Morris [Wed, 2 May 2012 01:22:26 +0000 (21:22 -0400)]
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.

12 years ago* configure.in (LIBS_TERMCAP): Fix netbsd logic, broken 2012-03-04.
Glenn Morris [Wed, 2 May 2012 00:11:24 +0000 (20:11 -0400)]
* configure.in (LIBS_TERMCAP): Fix netbsd logic, broken 2012-03-04.

Ref http://debbugs.gnu.org/6190

12 years agoauth.texi (Help for users): Update for .gpg file being second
Ted Zlatanov [Tue, 1 May 2012 22:28:14 +0000 (22:28 +0000)]
auth.texi (Help for users): Update for .gpg file being second

12 years ago* lisp/cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
Glenn Morris [Tue, 1 May 2012 21:06:59 +0000 (17:06 -0400)]
* lisp/cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.

12 years agoDon't hard-code manual pages in top-level Makefile.in
Glenn Morris [Tue, 1 May 2012 21:05:28 +0000 (17:05 -0400)]
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.

12 years agoSome updates for etc/TODO
Glenn Morris [Tue, 1 May 2012 19:31:18 +0000 (15:31 -0400)]
Some updates for etc/TODO

12 years agoFurther doc fix.
Glenn Morris [Tue, 1 May 2012 19:27:10 +0000 (15:27 -0400)]
Further doc fix.

12 years ago* lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
Glenn Morris [Tue, 1 May 2012 18:48:46 +0000 (14:48 -0400)]
* lisp/eshell/esh-cmd.el (eshell-debug-command): Doc fix.  Add :set.

12 years ago* lisp/cus-edit.el (custom-variable-documentation): Simplify with format.
Glenn Morris [Tue, 1 May 2012 18:47:23 +0000 (14:47 -0400)]
* lisp/cus-edit.el (custom-variable-documentation): Simplify with format.

12 years ago* lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't leave an "opening..."
Stefan Monnier [Tue, 1 May 2012 18:37:21 +0000 (14:37 -0400)]
* lisp/gnus/nnimap.el (nnimap-open-connection-1): Don't leave an "opening..."
message once it's actually open.

12 years agoReimplement execute-extended-command in Elisp.
Aaron S. Hawley [Tue, 1 May 2012 16:10:02 +0000 (12:10 -0400)]
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.

12 years agoFix mouse wheel scrolling in Follow mode.
Chong Yidong [Tue, 1 May 2012 14:00:16 +0000 (22:00 +0800)]
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

12 years ago* lisp/follow.el: Rework, eliminating reliance on advice.
Chong Yidong [Tue, 1 May 2012 13:37:56 +0000 (21:37 +0800)]
* 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.

12 years agoAuto-commit of loaddefs files.
Glenn Morris [Tue, 1 May 2012 10:20:43 +0000 (06:20 -0400)]
Auto-commit of loaddefs files.

12 years agoAuto-commit of generated files.
Glenn Morris [Tue, 1 May 2012 10:17:25 +0000 (06:17 -0400)]
Auto-commit of generated files.

12 years agoOnly print the edition number of the manuals in the TeX version
Glenn Morris [Tue, 1 May 2012 07:38:15 +0000 (00:38 -0700)]
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.

12 years agoRemove no-byte-compile setting from some lisp/term files.
Glenn Morris [Tue, 1 May 2012 06:59:34 +0000 (23:59 -0700)]
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.

12 years agoRemove references to macros that are not defined anywhere
Glenn Morris [Tue, 1 May 2012 03:45:39 +0000 (20:45 -0700)]
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.

12 years agoFix typo in previous rpath-related change (thanks hydra)
Glenn Morris [Tue, 1 May 2012 01:13:18 +0000 (21:13 -0400)]
Fix typo in previous rpath-related change (thanks hydra)

12 years agoUse libtinfo in preference to libncurses (bug#9741)
Glenn Morris [Tue, 1 May 2012 01:07:14 +0000 (21:07 -0400)]
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.

12 years ago* configure.in: Combine adjacent $opsys case blocks.
Glenn Morris [Tue, 1 May 2012 00:56:47 +0000 (20:56 -0400)]
* configure.in: Combine adjacent $opsys case blocks.

12 years ago* configure.in (LIBS_TERMCAP): Remove unreachable branch for sol2.
Glenn Morris [Tue, 1 May 2012 00:50:55 +0000 (20:50 -0400)]
* configure.in (LIBS_TERMCAP): Remove unreachable branch for sol2.

12 years ago* configure.in: Invert the TERMINFO logic
Glenn Morris [Tue, 1 May 2012 00:46:02 +0000 (20:46 -0400)]
* configure.in: Invert the TERMINFO logic
(since "yes" is far more common than "no")

12 years agoUpdate comment in configure.in
Glenn Morris [Tue, 1 May 2012 00:34:56 +0000 (20:34 -0400)]
Update comment in configure.in

12 years agoRemove HAVE_LIBNCURSES; it is required to be true
Glenn Morris [Tue, 1 May 2012 00:30:11 +0000 (20:30 -0400)]
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.

12 years ago* lisp/minibuffer.el (completion-table-with-quoting): Fix compatibility
Stefan Monnier [Tue, 1 May 2012 00:21:23 +0000 (20:21 -0400)]
* lisp/minibuffer.el (completion-table-with-quoting): Fix compatibility
all-completions code to not return a number in the last cdr.

12 years agoRename autoconf output variable LD_SWITCH_X_SITE_AUX_RPATH
Glenn Morris [Tue, 1 May 2012 00:16:02 +0000 (20:16 -0400)]
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.

12 years agoRemove LD_SWITCH_X_SITE_AUX, which is no longer used
Glenn Morris [Tue, 1 May 2012 00:12:02 +0000 (20:12 -0400)]
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.

12 years ago* .gdbinit (xpr): Remove checks for no longer existing misc types.
Andreas Schwab [Tue, 1 May 2012 00:07:23 +0000 (02:07 +0200)]
* .gdbinit (xpr): Remove checks for no longer existing misc types.
(xintfwd, xboolfwd, xobjfwd, xbufobjfwd, xkbobjfwd, xbuflocal):
Remove.

12 years agoResurrect encoding of replies by Rmail which was lost in 2012-04-11T21:37:13Z!monnier...
Eli Zaretskii [Mon, 30 Apr 2012 12:50:12 +0000 (15:50 +0300)]
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.

12 years ago* lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
Leo Liu [Mon, 30 Apr 2012 11:57:47 +0000 (19:57 +0800)]
* lisp/ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
read-only error.

12 years agoFix entry in display-buffer--action-function-custom-type
Martin Rudalics [Mon, 30 Apr 2012 09:09:26 +0000 (11:09 +0200)]
Fix entry in display-buffer--action-function-custom-type

12 years agoRegenerate etc/refcards/*.pdf
Glenn Morris [Mon, 30 Apr 2012 07:46:03 +0000 (00:46 -0700)]
Regenerate etc/refcards/*.pdf

12 years ago* doc/emacs/search.texi (Regexp Search): Just say "Emacs".
Glenn Morris [Mon, 30 Apr 2012 06:53:56 +0000 (23:53 -0700)]
* doc/emacs/search.texi (Regexp Search): Just say "Emacs".

12 years agoTweak page break in display.texi
Glenn Morris [Mon, 30 Apr 2012 06:51:44 +0000 (23:51 -0700)]
Tweak page break in display.texi

* doc/emacs/display.texi (Auto Scrolling):
Reword to avoid repetition and improve page break.

12 years agoFixes: debbugs:11380
Andreas Schwab [Sun, 29 Apr 2012 20:05:44 +0000 (22:05 +0200)]
Fixes: debbugs:11380

* make-docfile.c (scan_lisp_file) [DEBUG]: Also skip if and
byte-code forms.

12 years agoFix bug #11367 with assertion violation during vertical motion in egg.el.
Eli Zaretskii [Sun, 29 Apr 2012 17:19:08 +0000 (20:19 +0300)]
Fix bug #11367 with assertion violation during vertical motion in egg.el.

 src/xdisp.c (pos_visible_p): If already at a newline from the
 display string before the 'while' loop, don't walk back the glyphs
 from it3.glyph_row.  Solves assertion violation when the display
 string begins with a newline (egg.el).

12 years ago* doc/lispref/text.texi (Change Hooks): Minor fix for after-change-functions.
Chong Yidong [Sun, 29 Apr 2012 06:56:58 +0000 (14:56 +0800)]
* doc/lispref/text.texi (Change Hooks): Minor fix for after-change-functions.

12 years agoFix Follow mode's calculation of window ends.
Chong Yidong [Sun, 29 Apr 2012 01:48:23 +0000 (09:48 +0800)]
Fix Follow mode's calculation of window ends.

* lisp/follow.el (follow-calc-win-end): Rewrite to handle partial
screen lines correctly.
(follow-avoid-tail-recenter): Minor cleanup.

Fixes: debbugs:8390

12 years agoDo not avoid creating empty evaporating overlays (Bug#9642).
Paul Eggert [Sat, 28 Apr 2012 22:17:27 +0000 (15:17 -0700)]
Do not avoid creating empty evaporating overlays (Bug#9642).

* buffer.c (Fmove_overlay): Revert the change of 2012-04-23.
That is, do not delete an evaporating overlay if it becomes
empty after its bounds are adjusted to fit within its buffer.
This fix caused other problems, and I'm reverting it until we get
to the bottom of them.

12 years agoAvoid the obsolete `assoc' package.
Stefan Monnier [Sat, 28 Apr 2012 21:59:08 +0000 (17:59 -0400)]
Avoid the obsolete `assoc' package.
* lisp/speedbar.el (speedbar-refresh): Avoid adelete.
(speedbar-file-lists): Simplify and avoid aput.
* lisp/man.el (Man--sections, Man--refpages): New vars, replacing
Man-sections-alist and Man-refpages-alist.
(Man-build-section-alist, Man-build-references-alist):
Use them; avoid aput.
(Man--last-section, Man--last-refpage): New vars.
(Man-follow-manual-reference): Use them.
Use the `default' arg of completing-read.
(Man-goto-section): Idem.  Move prompt to the `interactive' spec.
* lisp/gnus/auth-source.el (auth-source--aput-1, auth-source--aput)
(auth-source--aget): New functions and macros.
Use them instead of aput/aget.

12 years agoAdd some shell indentation test cases.
Stefan Monnier [Sat, 28 Apr 2012 20:04:34 +0000 (16:04 -0400)]
Add some shell indentation test cases.
* test/indent/shell.sh:
* test/indent/shell.rc: Add some test cases.

12 years agoRemove some overfull lines in doc/misc/faq
Glenn Morris [Sat, 28 Apr 2012 19:04:01 +0000 (12:04 -0700)]
Remove some overfull lines in doc/misc/faq

* doc/misc/faq.texi: (File-name conventions):
Shorten section name to avoid overfull line.
(How to add fonts): Use smallexample to avoid overfull lines.

12 years ago* doc/misc/faq.texi: Convert @inforefs to @xrefs.
Glenn Morris [Sat, 28 Apr 2012 18:43:55 +0000 (11:43 -0700)]
* doc/misc/faq.texi: Convert @inforefs to @xrefs.
Fix some malformed cross-references.

12 years ago* emacs-lisp-intro.texi (Syntax): Reword to avoid underfull hbox.
Glenn Morris [Sat, 28 Apr 2012 18:26:17 +0000 (11:26 -0700)]
* emacs-lisp-intro.texi (Syntax): Reword to avoid underfull hbox.

12 years agoAuto-commit of generated files.
Glenn Morris [Sat, 28 Apr 2012 11:17:27 +0000 (07:17 -0400)]
Auto-commit of generated files.

12 years agoReword some doc/lispref to remove/reduce some overly long/short lines.
Glenn Morris [Sat, 28 Apr 2012 08:05:01 +0000 (01:05 -0700)]
Reword some doc/lispref to remove/reduce some overly long/short lines.

* package.texi (Packaging Basics):
* loading.texi (Autoload):
* files.texi (Magic File Names):
Reword to remove/reduce some overly long/short lines.

12 years agoReword some doc/emacs to remove/reduce some overly long/short lines.
Glenn Morris [Sat, 28 Apr 2012 07:45:03 +0000 (00:45 -0700)]
Reword some doc/emacs to remove/reduce some overly long/short lines.

* xresources.texi (Resources):
* mule.texi (Language Environments):
* misc.texi (Amusements):
* maintaining.texi (VC Change Log):
* frames.texi (Fonts):
* custom.texi (Specifying File Variables, Minibuffer Maps):
* cmdargs.texi (Initial Options):
* building.texi (Flymake):
Reword to remove/reduce some overly long/short lines.

12 years agoUpdate CC Mode version to 5.32.3.
Alan Mackenzie [Fri, 27 Apr 2012 17:49:31 +0000 (17:49 +0000)]
Update CC Mode version to 5.32.3.

12 years agoBump version to 24.0.96.
Chong Yidong [Fri, 27 Apr 2012 16:33:57 +0000 (00:33 +0800)]
Bump version to 24.0.96.
Regenerate AUTHORS and ldefs-boot.el.

12 years ago* lisp/vc/diff.el (diff-sentinel): Go to bob.
Chong Yidong [Fri, 27 Apr 2012 14:16:02 +0000 (22:16 +0800)]
* lisp/vc/diff.el (diff-sentinel): Go to bob.

Fixes: debbugs:10259

12 years agoFix org-ctags.el change from trunk 2012-04-09T13:05:48Z!cyd@gnu.org
Glenn Morris [Fri, 27 Apr 2012 06:21:10 +0000 (23:21 -0700)]
Fix org-ctags.el change from trunk 2012-04-09T13:05:48Z!cyd@gnu.org

* lisp/org/org-ctags.el (org-ctags-new-topic-template):
Revert 2012-04-09 removal of * from defcustom value, not doc.

12 years agoFix dates of some merged ChangeLog entries
Glenn Morris [Fri, 27 Apr 2012 06:08:14 +0000 (23:08 -0700)]
Fix dates of some merged ChangeLog entries

12 years agoFix application of menu-bar-mode etc. by X resources.
Chong Yidong [Fri, 27 Apr 2012 05:40:46 +0000 (13:40 +0800)]
Fix application of menu-bar-mode etc. by X resources.

* lisp/startup.el (x-apply-session-resources): New function.

* lisp/term/ns-win.el (ns-initialize-window-system):
* lisp/term/w32-win.el (w32-initialize-window-system):
* lisp/term/x-win.el (x-initialize-window-system): Use it to properly
set menu-bar-mode and other vars from X resources, even if the initial
frame is not a window-system frame (Bug#2299).

12 years agoMerge changes from emacs-24 branch
Chong Yidong [Fri, 27 Apr 2012 03:10:38 +0000 (11:10 +0800)]
Merge changes from emacs-24 branch

12 years agoFix missing prefix warning in pascal.el.
Chong Yidong [Fri, 27 Apr 2012 02:48:38 +0000 (10:48 +0800)]
Fix missing prefix warning in pascal.el.

* progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
fix "missing prefix" warning.  All callers changed.

12 years agoFix for tool-bar confusion in read-key.
Chong Yidong [Fri, 27 Apr 2012 02:24:38 +0000 (10:24 +0800)]
Fix for tool-bar confusion in read-key.

* lisp/subr.el (read-key): Avoid running filter function when setting
up temporary tool bar entries.

Fixes: debbugs:9922

12 years agoAdd NEWS entry pointing to ORG-NEWS.
Chong Yidong [Fri, 27 Apr 2012 02:15:51 +0000 (10:15 +0800)]
Add NEWS entry pointing to ORG-NEWS.

Delete non-Emacs-24 specific items from ORG-NEWS (since standalone Org
mode has its own NEWS, these are not necessary).

12 years ago* emacs-lisp/assoc.el: Move to obsolete/.
Stefan Monnier [Fri, 27 Apr 2012 00:30:56 +0000 (20:30 -0400)]
* emacs-lisp/assoc.el: Move to obsolete/.

12 years agoFix previous change
Glenn Morris [Fri, 27 Apr 2012 00:23:54 +0000 (20:23 -0400)]
Fix previous change

12 years ago* doc/emacs/emacs.texi: Some fixes for detailed menu.
Glenn Morris [Fri, 27 Apr 2012 00:20:02 +0000 (20:20 -0400)]
* doc/emacs/emacs.texi: Some fixes for detailed menu.

12 years agolisp/gnus/plstore.el: Fix buildbot failure with XEmacs
Daiki Ueno [Thu, 26 Apr 2012 22:07:59 +0000 (22:07 +0000)]
lisp/gnus/plstore.el: Fix buildbot failure with XEmacs

12 years agoorg-ctags.el (org-ctags-new-topic-template): Fix the option default value back again.
Bastien Guerry [Thu, 26 Apr 2012 20:46:10 +0000 (22:46 +0200)]
org-ctags.el (org-ctags-new-topic-template): Fix the option default value back again.

This option was changed by error in this commit:
http://git.savannah.gnu.org/cgit/emacs.git/diff/lisp/org/org-protocol.el?h=emacs-24&id=0fc749f9

I first overwrote this change by error, then backported it
into Org git repo, then backported the error back into Emacs.

This is now fixed.

12 years agoChangeLog fix
Glenn Morris [Thu, 26 Apr 2012 18:57:49 +0000 (14:57 -0400)]
ChangeLog fix

12 years ago* lisp/emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue.
Stefan Monnier [Thu, 26 Apr 2012 18:21:03 +0000 (14:21 -0400)]
* lisp/emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue.

Fixes: debbugs:11352

12 years agoChangeLog fix
Glenn Morris [Thu, 26 Apr 2012 18:10:02 +0000 (14:10 -0400)]
ChangeLog fix

12 years agoSome menu fixes for doc/lispref
Glenn Morris [Thu, 26 Apr 2012 17:56:38 +0000 (13:56 -0400)]
Some menu fixes for doc/lispref

* doc/lispref/elisp.texi, doc/lispref/vol1.texi, doc/lispref/vol2.texi:
Some fixes for detailed menu.

* doc/lispref/modes.texi (Major Modes, Auto-Indentation):
* doc/lispref/buffers.texi (Buffers): Some fixes for menu descriptions.

12 years agoSync with Org git commit 374c56b.
Bastien Guerry [Thu, 26 Apr 2012 17:30:04 +0000 (19:30 +0200)]
Sync with Org git commit 374c56b.

12 years agoetc/ORG-NEWS: New file documenting changes between Org 6.34 and current one.
Bastien Guerry [Thu, 26 Apr 2012 17:02:36 +0000 (19:02 +0200)]
etc/ORG-NEWS: New file documenting changes between Org 6.34 and current one.

12 years agolisp/org/ChangeLog: remove references to files that are not in the directory.
Bastien Guerry [Thu, 26 Apr 2012 16:57:34 +0000 (18:57 +0200)]
lisp/org/ChangeLog: remove references to files that are not in the directory.

12 years agoReplace lexical-let by lexical-binding (except Gnus, CEDET, ERT).
Stefan Monnier [Thu, 26 Apr 2012 12:43:28 +0000 (08:43 -0400)]
Replace lexical-let by lexical-binding (except Gnus, CEDET, ERT).
* lisp/term/ns-win.el (ns-define-service):
* lisp/progmodes/pascal.el (pascal-goto-defun):
* lisp/progmodes/js.el (js--read-tab):
* lisp/progmodes/etags.el (tags-lazy-completion-table):
* lisp/emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
* lisp/emacs-lisp/ewoc.el (ewoc--wrap):
* lisp/emacs-lisp/assoc.el (aput, adelete, amake):
* lisp/doc-view.el (doc-view-convert-current-doc):
* lisp/url/url.el (url-retrieve-synchronously):
* lisp/vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.

12 years agoAllow word wrap together with whitespace-mode (bug #11341)
Eli Zaretskii [Thu, 26 Apr 2012 10:49:29 +0000 (13:49 +0300)]
Allow word wrap together with whitespace-mode (bug #11341)

 src/xdisp.c (IT_DISPLAYING_WHITESPACE): In addition to the loaded
 display element, check also the underlying string or buffer
 character.

12 years agoDon't disable Unicode menus on Windows NT and later due to random errors.
Eli Zaretskii [Thu, 26 Apr 2012 10:07:35 +0000 (13:07 +0300)]
Don't disable Unicode menus on Windows NT and later due to random errors.

 src/w32menu.c: Include w32heap.h.
 (add_menu_item): If the call to AppendMenuW (via
 unicode_append_menu) fails, disable Unicode menus only if we are
 running on Windows 9X/Me.

12 years agoFixes: debbugs:11344
Andreas Schwab [Thu, 26 Apr 2012 09:27:37 +0000 (11:27 +0200)]
Fixes: debbugs:11344

* vc/vc-git.el (vc-git-state): Fix regexp matching diff output.

12 years ago* image.el (image-type-from-buffer): Only return supported image type.
Chong Yidong [Thu, 26 Apr 2012 08:43:20 +0000 (16:43 +0800)]
* image.el (image-type-from-buffer): Only return supported image type.

Fixes: debbugs:9045

12 years agoFixes for diff-hunk-kill.
Chong Yidong [Thu, 26 Apr 2012 08:00:47 +0000 (16:00 +0800)]
Fixes for diff-hunk-kill.

* lisp/vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
value, for symmetry with diff-end-of-hunk.
(diff-split-hunk, diff-find-source-location)
(diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
(diff-bounds-of-hunk, diff-bounds-of-file): New functions.
(diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
compute the relevant hunk or file properly.
(diff-file-junk-re): Add bzr's "modified file" tag.

Fixes: debbugs:6041 debbugs:6005

12 years agoAllow undoing in read-only diff-mode buffers.
Chong Yidong [Thu, 26 Apr 2012 03:43:32 +0000 (11:43 +0800)]
Allow undoing in read-only diff-mode buffers.

* lisp/vc/diff-mode.el (diff-undo): New command.
(diff-mode-shared-map): Bind it to / and [remap undo].

Fixes: debbugs:5302

12 years ago* lisp/vc/vc-mtn.el:
Stefan Monnier [Thu, 26 Apr 2012 03:18:47 +0000 (23:18 -0400)]
* lisp/vc/vc-mtn.el:
* lisp/vc/vc-hg.el:
* lisp/vc/vc-git.el:
* lisp/vc/vc-dir.el:
* lisp/vc/vc-cvs.el:
* lisp/vc/vc-bzr.el:
* lisp/vc/vc-arch.el:
* lisp/vc/vc.el: Replace lexical-let by lexical-binding.
* lisp/minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
* lisp/emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
* lisp/emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).

12 years agoDeprecate the ((lambda ...) ...) form.
Stefan Monnier [Thu, 26 Apr 2012 03:06:36 +0000 (23:06 -0400)]
Deprecate the ((lambda ...) ...) form.
* doc/lispref/functions.texi (Simple Lambda, Argument List):
* doc/lispref/eval.texi (Function Indirection): Avoid deprecated form.

12 years agoAdapt ediff window handling to multi-tty.
Chong Yidong [Thu, 26 Apr 2012 03:04:36 +0000 (11:04 +0800)]
Adapt ediff window handling to multi-tty.

* vc/ediff-init.el: Always define ediff-pixel-width/height.

* vc/ediff-wind.el (ediff-setup-windows-default): New function.
(ediff-window-setup-function): Use it as the default, to set up
windows based on whether the current frame is graphical.
(ediff-choose-window-setup-function-automatically): Make obsolete.

Fixes: debbugs:2138