Glenn Morris [Fri, 11 Apr 2014 06:51:49 +0000 (23:51 -0700)]
Avoid EMACSDATA in user environment interfering with building
* admin/grammars/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
* leim/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
* lisp/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
* test/automated/Makefile.in (EMACSDATA, EMACSDOC, EMACSPATH):
Unexport.
Fixes: debbugs:16429
Glenn Morris [Fri, 11 Apr 2014 06:43:20 +0000 (23:43 -0700)]
Merge from emacs-24; up to 2014-04-04T23:31:02Z!joaotavora@gmail.com
Glenn Morris [Fri, 11 Apr 2014 06:39:11 +0000 (23:39 -0700)]
* make-dist: Distribute lib-src/update-game-score.exe.manifest.
Glenn Morris [Fri, 11 Apr 2014 06:25:25 +0000 (23:25 -0700)]
* make-dist: Do not distribute generated admin/grammars/Makefile.
Glenn Morris [Fri, 11 Apr 2014 06:09:12 +0000 (23:09 -0700)]
Fix for some etc/refcards encoding issues
* etc/refcards/cs-dired-ref.tex, etc/refcards/cs-refcard.tex:
* etc/refcards/cs-survival.tex, etc/refcards/sk-dired-ref.tex:
* etc/refcards/sk-refcard.tex, etc/refcards/sk-survival.tex:
Input "utf8off", which seems to be needed.
Glenn Morris [Fri, 11 Apr 2014 05:53:02 +0000 (22:53 -0700)]
Bump version to 24.3.90; regenerate AUTHORS
Glenn Morris [Fri, 11 Apr 2014 05:47:32 +0000 (22:47 -0700)]
* src/keyboard.c (Fopen_dribble_file): Make file private.
Fixes: debbugs:17187
Stefan Monnier [Fri, 11 Apr 2014 01:06:35 +0000 (21:06 -0400)]
* lisp/emulation/cua-base.el (<toplevel>, cua--pre-command-handler-1):
Remove left-over code.
Stefan Monnier [Fri, 11 Apr 2014 01:05:03 +0000 (21:05 -0400)]
* lisp/newcomment.el (comment-indent-new-line): Sink code where it's used.
Reuse the previous comment's indentation unconditionally if it's on its
own line.
Glenn Morris [Fri, 11 Apr 2014 00:55:58 +0000 (20:55 -0400)]
ChangeLog fixes
Stefan Monnier [Thu, 10 Apr 2014 19:15:01 +0000 (15:15 -0400)]
Ediff's overlay priorities cause more trouble than they solve.
* lisp/vc/ediff-init.el (ediff-shadow-overlay-priority): Remove variable.
(ediff-highest-priority): Remove function.
* lisp/vc/ediff-util.el (ediff-highlight-diff-in-one-buffer):
* lisp/vc/ediff-diff.el (ediff-set-diff-overlays-in-one-buffer)
(ediff-set-fine-diff-properties-in-one-buffer): Don't mess with
overlay priorities.
Fixes: debbugs:17234
Paul Eggert [Thu, 10 Apr 2014 19:12:34 +0000 (12:12 -0700)]
Spelling fixes.
* automated/electric-tests.el: Fix spelling error in test name.
(whitespace-skipping-for-quotes-not-outside):
Rename from whitespace-skipping-for-quotes-not-ouside.
Feng Li [Thu, 10 Apr 2014 13:56:28 +0000 (09:56 -0400)]
* lisp/progmodes/pascal.el (pascal-font-lock-keywords): Fix incorrect format
entry; use symbol boundaries to avoid mis-matches.
Michael Albinus [Thu, 10 Apr 2014 07:17:40 +0000 (09:17 +0200)]
* net/tramp.el (tramp-file-name-handler)
(tramp-completion-file-name-handler): Avoid recursive loading.
* net/tramp-sh.el (tramp-make-copy-program-file-name):
Quote result also locally.
Daniel Colascione [Thu, 10 Apr 2014 00:05:34 +0000 (17:05 -0700)]
Increase BASE_PURESIZE
Ken Brown [Wed, 9 Apr 2014 21:16:37 +0000 (17:16 -0400)]
Revert most of the recent change involving manifests on Cygwin. (Bug#17176)
* configure.ac (EMACS_MANIFEST): Revert last change (but leave
UPDATE_MANIFEST empty).
* nt/emacs.rc: Revert last change.
* src/Makefile.in (EMACS_MANIFEST): Revert last change.
Daniel Colascione [Wed, 9 Apr 2014 16:58:08 +0000 (09:58 -0700)]
Make up-list and backward-up-list get out of more spots
Daniel Colascione [Wed, 9 Apr 2014 15:33:43 +0000 (08:33 -0700)]
Tweak regex from last change
Leo Liu [Wed, 9 Apr 2014 13:37:49 +0000 (21:37 +0800)]
New command rcirc-cmd-reconnect
* net/rcirc.el (rcirc-connection-info): New variable.
(rcirc-connect): Use it to store connection info.
(rcirc-buffer-process): Avoid get-buffer-process which returns nil
for killed process.
(rcirc-cmd-reconnect): New command.
(rcirc-mode, set-rcirc-encode-coding-system)
(set-rcirc-decode-coding-system, rcirc-connect): Use setq-local.
Fixes: debbugs:17045
Stefan Monnier [Wed, 9 Apr 2014 13:21:30 +0000 (09:21 -0400)]
* src/keyboard.c (syms_of_keyboard): Make deactivate-mark buffer-local.
Daniel Colascione [Wed, 9 Apr 2014 08:16:41 +0000 (01:16 -0700)]
Make cl-indent work better for elisp
Glenn Morris [Wed, 9 Apr 2014 03:37:56 +0000 (20:37 -0700)]
Merge from emacs-24; up to 2014-04-02T16:17:08Z!dmantipov@yandex.ru
Glenn Morris [Wed, 9 Apr 2014 01:50:29 +0000 (21:50 -0400)]
Fix python-triple-quote-pairing test
* test/automated/python-tests.el (python-triple-quote-pairing):
Enable/disable electric-pair-mode as needed.
Stefan Monnier [Wed, 9 Apr 2014 01:48:07 +0000 (21:48 -0400)]
* src/insdel.c (prepare_to_modify_buffer_1): Cancel lock-file checks and
region handling (and don't call signal_before_change) if
inhibit_modification_hooks is set.
(signal_before_change): Don't check inhibit_modification_hooks any more.
* lisp/subr.el (with-silent-modifications): Don't bind deactivate-mark,
buffer-file-name, and buffer-file-truename any more.
Glenn Morris [Wed, 9 Apr 2014 01:34:16 +0000 (21:34 -0400)]
* electric-tests.el (electric-pair-backspace-1): Replace deleted function.
Dmitry Gutov [Wed, 9 Apr 2014 00:14:37 +0000 (04:14 +0400)]
Highlight more Module methods
* lisp/progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
Module methods.
Fixes: debbugs:17216
Stefan Monnier [Tue, 8 Apr 2014 19:48:38 +0000 (15:48 -0400)]
* lisp/help.el (describe-bindings): Fix buffer handling.
(describe-bindings-internal): Mark obsolete.
Fixes: debbugs:17210
Daniel Colascione [Tue, 8 Apr 2014 12:39:40 +0000 (05:39 -0700)]
Correct merge
Daniel Colascione [Tue, 8 Apr 2014 12:34:30 +0000 (05:34 -0700)]
More GC assertions
Daniel Colascione [Tue, 8 Apr 2014 12:32:45 +0000 (05:32 -0700)]
Rearrange pointer logging
Daniel Colascione [Tue, 8 Apr 2014 10:33:48 +0000 (03:33 -0700)]
Tweak completion documentation
Leo Liu [Tue, 8 Apr 2014 03:32:37 +0000 (11:32 +0800)]
Use lexical-binding and require cl-lib
* net/rcirc.el (rcirc, rcirc-handler-ctcp-KEEPALIVE)
(rcirc-handler-generic, rcirc-fill-paragraph)
(rcirc-format-response-string, rcirc-target-buffer)
(rcirc-last-line, rcirc-record-activity, rcirc-split-activity)
(rcirc-activity-string, rcirc-make-trees, rcirc-cmd-ctcp)
(rcirc-ctcp-sender-PING, rcirc-browse-url)
(rcirc-markup-timestamp, rcirc-markup-attributes)
(rcirc-markup-my-nick, rcirc-markup-urls)
(rcirc-markup-bright-nicks, rcirc-markup-fill)
(rcirc-check-auth-status, rcirc-handler-WALLOPS)
(rcirc-handler-JOIN, rcirc-handler-PART-or-KICK)
(rcirc-handler-PART, rcirc-handler-KICK, rcirc-handler-QUIT)
(rcirc-handler-NICK, rcirc-handler-PING, rcirc-handler-PONG)
(rcirc-handler-TOPIC, rcirc-handler-301, rcirc-handler-317)
(rcirc-handler-332, rcirc-handler-333, rcirc-handler-477)
(rcirc-handler-MODE, rcirc-handler-353, rcirc-handler-366)
(rcirc-authenticate, rcirc-handler-INVITE, rcirc-handler-ERROR)
(rcirc-handler-ctcp-VERSION, rcirc-handler-ctcp-TIME)
(rcirc-handler-CTCP-response): Fix unused arguments warnings and
use cl-lib.
Glenn Morris [Mon, 7 Apr 2014 21:19:31 +0000 (17:19 -0400)]
ChangeLog fixes
Merged entries get today's date.
May as well combine consecutive separate entries by same author into one.
Backported entries should not appear twice.
Glenn Morris [Mon, 7 Apr 2014 21:15:45 +0000 (17:15 -0400)]
ChangeLog fix (no need to merge to trunk)
Daniel Colascione [Mon, 7 Apr 2014 20:54:16 +0000 (13:54 -0700)]
Merge from emacs-24; up to 2014-04-01T20:18:12Z!eggert@cs.ucla.edu
Paul Eggert [Mon, 7 Apr 2014 17:52:38 +0000 (10:52 -0700)]
* alloc.c: Simplify by removing use of HAVE_EXECINFO_H.
We have a substitute execinfo.h on hosts that lack it.
(suspicious_free_history): Make it EXTERNALLY_VISIBLE so it
isn't optimized away.
Stefan Monnier [Mon, 7 Apr 2014 16:08:46 +0000 (12:08 -0400)]
* src/alloc.c: Keep track of symbols referenced from pure space (bug#17168).
(symbol_block_pinned): New var.
(Fmake_symbol): Initialize `pinned'.
(purecopy): New function, extracted from Fpurecopy. Mark symbols as
pinned and signal an error for un-purifiable objects.
(pure_cons): Use it.
(Fpurecopy): Use it, except for objects that can't be purified.
(mark_pinned_symbols): New function.
(Fgarbage_collect): Use it.
(gc_sweep): Remove hack made unnecessary.
* src/lisp.h (struct Lisp_Symbol): New bitfield `pinned'.
Glenn Morris [Mon, 7 Apr 2014 10:21:22 +0000 (06:21 -0400)]
Auto-commit of loaddefs files.
João Távora [Mon, 7 Apr 2014 07:29:50 +0000 (08:29 +0100)]
Improve on previous quote autopairing change
Backported from trunk 2014-04-04T23:31:02Z!joaotavora@gmail.com
* lisp/elec-pair.el:
(electric-pair--syntax-ppss): When inside comments parse from
comment beginning.
(electric-pair--balance-info): Fix typo in comment.
(electric-pair--in-unterminated-string-p): Delete.
(electric-pair--unbalanced-strings-p): New function.
(electric-pair-string-bound-function): New var.
(electric-pair-inhibit-if-helps-balance): Decide quote pairing
according to `electric-pair--in-unterminated-string-p'
* test/automated/electric-tests.el (define-electric-pair-test): Don't
overtest..
(inhibit-in-mismatched-string-inside-ruby-comments): New test.
(inhibit-in-mismatched-string-inside-c-comments): New test.
João Távora [Mon, 7 Apr 2014 07:24:03 +0000 (08:24 +0100)]
Inhibit quote autopairing more frequently
Backported from trunk 2014-04-02T09:59:06Z!joaotavora@gmail.com
* lisp/elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit
quote pairing if point-max is inside an unterminated string.
(electric-pair--looking-at-unterminated-string-p):
Delete.
(electric-pair--in-unterminated-string-p): New function.
* test/automated/electric-tests.el (inhibit-if-strings-mismatched):
New test, change from `inhibit-only-of-next-is-mismatched'.
Glenn Morris [Mon, 7 Apr 2014 01:27:32 +0000 (18:27 -0700)]
* lisp/shell.el (shell-directory-tracker): Go back to just ignoring failures.
Fixes: debbugs:17159
Juanma Barranquero [Mon, 7 Apr 2014 00:51:52 +0000 (02:51 +0200)]
lisp/ChangeLog, src/ChangeLog: Fix typos.
Glenn Morris [Mon, 7 Apr 2014 00:04:00 +0000 (17:04 -0700)]
ChangeLog fix
João Távora [Sun, 6 Apr 2014 23:37:17 +0000 (00:37 +0100)]
Fix electric-pair-delete-adjacent-pairs in modes binding backspace.
* lisp/elec-pair.el (electric-pair-backward-delete-char): Delete.
(electric-pair-backward-delete-char-untabify): Delete.
(electric-pair-mode-map): Bind backspace to a menu item filtering
a new `electric-pair-delete-pair' command.
(electric-pair-delete-pair): New command.
Fixes: debbugs:16981
João Távora [Sun, 6 Apr 2014 23:23:45 +0000 (00:23 +0100)]
Fix triple-quoting electricity in python-mode
* lisp/progmodes/python.el (python-electric-pair-string-delimiter): Fix
triple-quoting electricity.
* test/automated/python-tests.el (python-triple-quote-pairing): New test.
(python-syntax-after-python-backspace): New test.
Fixes: debbugs:17192
João Távora [Sun, 6 Apr 2014 23:09:19 +0000 (00:09 +0100)]
Fix electric-pair-skip-whitespace with quotes in text-mode
* lisp/elec-pair.el (electric-pair-post-self-insert-function): Don't
skip whitespace for quote syntax when `electric-pair-text-pairs'
and `electric-pair-pairs' were used.
* test/automated/electric-tests.el (electric-pair-define-test-form):
More readable test docstrings.
(whitespace-skipping-for-quotes-not-ouside)
(whitespace-skipping-for-quotes-only-inside)
(whitespace-skipping-not-without-proper-syntax):
Fixes: debbugs:17183
Stefan Monnier [Sun, 6 Apr 2014 18:25:34 +0000 (14:25 -0400)]
* lisp/gnus/gnus-srvr.el (gnus-tmp-how, gnus-tmp-name, gnus-tmp-where)
(gnus-tmp-status, gnus-tmp-agent, gnus-tmp-cloud)
(gnus-tmp-news-server, gnus-tmp-news-method, gnus-tmp-user-defined):
Silence compiler warnings.
(gnus-server-insert-server-line): Don't use dyn-bind var as argument.
Stefan Monnier [Sun, 6 Apr 2014 18:15:09 +0000 (14:15 -0400)]
* lisp/dired-aux.el (dired-file-set-difference): Use lexical-scoping.
Eli Zaretskii [Sun, 6 Apr 2014 15:56:01 +0000 (18:56 +0300)]
src/bidi.c: Describe the design of reordering engine in the commentary.
Eli Zaretskii [Sun, 6 Apr 2014 15:21:35 +0000 (18:21 +0300)]
Fix bug #17199 with incorrect character produced by ipa-x-sampa IM.
lisp/leim/quail/ipa.el (ipa-x-sampa): Fix the character produced for "<F>".
Stefan Monnier [Sun, 6 Apr 2014 13:08:00 +0000 (09:08 -0400)]
* lisp/mpc.el (mpc--status-timer-run): Disable timer if not displayed.
(mpc--status-idle-timer-run): Use mpc--status-timer-run.
Paul Eggert [Sat, 5 Apr 2014 19:30:36 +0000 (12:30 -0700)]
Prefer 'ARRAYELTS (x)' to 'sizeof x / sizeof *x'.
* alloc.c (memory_full):
* charset.c (syms_of_charset):
* doc.c (Fsnarf_documentation):
* emacs.c (main):
* font.c (BUILD_STYLE_TABLE):
* keyboard.c (make_lispy_event):
* profiler.c (setup_cpu_timer):
* xgselect.c (xg_select):
* xterm.c (record_event, STORE_KEYSYM_FOR_DEBUG):
Use ARRAYELTS.
* font.c (FONT_PROPERTY_TABLE_SIZE): Remove.
Replace the only use with ARRAYELTS (font_property_table).
* xfaces.c (DIM): Remove. All uses replaced by ARRAYELTS.
Glenn Morris [Sat, 5 Apr 2014 18:40:52 +0000 (11:40 -0700)]
ChangeLog fix
Related entries do not get separated by blank lines (per standards.info).
Use form from admin/notes/changelogs for repeated items.
Glenn Morris [Sat, 5 Apr 2014 18:33:55 +0000 (11:33 -0700)]
Minor doc updates related to dribble files
* doc/emacs/trouble.texi (Checklist):
* doc/lispref/os.texi (Recording Input): Dribble files may contain passwords.
* lisp/help.el (view-lossage): Doc tweak.
* src/keyboard.c (Fopen_dribble_file): Doc tweak.
Glenn Morris [Sat, 5 Apr 2014 10:17:34 +0000 (06:17 -0400)]
Auto-commit of loaddefs files.
Matthias Dahl [Sat, 5 Apr 2014 07:44:56 +0000 (10:44 +0300)]
Fix bug #16434 with handling the -rv command-line option.
lisp/faces.el (make-face-x-resource-internal): Do nothing when
inhibit-x-resources is non-nil. Don't touch the default face if
reversed video is given--as was done in previous versions of Emacs.
(face-set-after-frame-default): Don't call
make-face-x-resource-internal here.
Matthias Dahl [Sat, 5 Apr 2014 07:25:52 +0000 (10:25 +0300)]
Fix bug #16378 with mishandling of empty faces.
lisp/faces.el (face-spec-choose): Accept additional optional argument,
whose value is returned if no matching attributes are found.
(face-spec-recalc): Use the new optional argument when calling
face-spec-choose.
Matthias Dahl [Sat, 5 Apr 2014 07:15:11 +0000 (10:15 +0300)]
Fix bug #16694 with theme face precedence.
lisp/faces.el (face-spec-recalc): Call make-face-x-resource-internal
only when inhibit-x-resources is nil, and do that earlier in the
function. Doc fix.
Leo Liu [Sat, 5 Apr 2014 02:33:36 +0000 (10:33 +0800)]
* emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression): Add
define-compilation-mode.
João Távora [Fri, 4 Apr 2014 23:31:02 +0000 (00:31 +0100)]
Improve on previous quote autopairing change
* lisp/elec-pair.el:
(electric-pair--syntax-ppss): When inside comments parse from
comment beginning.
(electric-pair--balance-info): Fix typo in comment.
(electric-pair--in-unterminated-string-p): Delete.
(electric-pair--unbalanced-strings-p): New function.
(electric-pair-string-bound-function): New var.
(electric-pair-inhibit-if-helps-balance): Decide quote pairing
according to `electric-pair--in-unterminated-string-p'
* test/automated/electric-tests.el (define-electric-pair-test): Don't
overtest..
(inhibit-in-mismatched-string-inside-ruby-comments): New test.
(inhibit-in-mismatched-string-inside-c-comments): New test.
Stefan Monnier [Fri, 4 Apr 2014 20:16:24 +0000 (16:16 -0400)]
* lisp/textmodes/reftex-parse.el (reftex--index-tags): Rename `index-tags'.
Move declaration before first use.
(reftex-move-to-next-arg): Silence compiler warning.
Tassilo Horn [Fri, 4 Apr 2014 17:42:55 +0000 (19:42 +0200)]
Fix bug#16090.
* lisp/doc-view.el (doc-view-bookmark-jump): Use
`bookmark-after-jump-hook' to jump to the right page after the
buffer is shown in a window.
Stefan Monnier [Fri, 4 Apr 2014 17:26:23 +0000 (13:26 -0400)]
* lisp/erc/erc.el (erc-invite-only-mode, erc-toggle-channel-mode): Simplify.
(erc-load-script): Tighten a regexp.
Stefan Monnier [Fri, 4 Apr 2014 16:59:50 +0000 (12:59 -0400)]
src/buffer.h, src/frame.h: Clarify doc of optimization variables.
Jan Djärv [Fri, 4 Apr 2014 16:32:24 +0000 (18:32 +0200)]
Backport from trunk.
* nsmenu.m (update_frame_tool_bar): Return early if view or toolbar
is nil. If waiting for toolbar to complete, force a redraw.
(free_frame_tool_bar): Set wait_for_tool_bar = NO
* nsterm.h (EmacsView): Add wait_for_tool_bar.
* nsterm.m (updateFrameSize:): If waiting for the tool bar and tool
bar is zero height, just return (Bug#16976).
(initFrameFromEmacs:): Initialize wait_for_tool_bar.
Eli Zaretskii [Fri, 4 Apr 2014 13:19:35 +0000 (16:19 +0300)]
src/keyboard.c: Fix a typo in a comment to read_char.
Joost Kremers [Fri, 4 Apr 2014 12:10:22 +0000 (14:10 +0200)]
Use `window-total-width' instead of `window-width'.
* textmodes/reftex-toc.el (reftex-toc, reftex-re-enlarge): Use
`window-total-width' instead of `window-width'.
Eli Zaretskii [Fri, 4 Apr 2014 08:26:00 +0000 (11:26 +0300)]
A better fix for bug #17169.
lisp/international/characters.el (mirroring): Fix last change:
instead of loading uni-mirrored.el explicitly, do that implicitly
by creating the 'mirroring' uniprop table. This avoids announcing
the loading of uni-mirrored.el.
Glenn Morris [Fri, 4 Apr 2014 02:09:35 +0000 (22:09 -0400)]
Doc updates for buffer-stale-function now applying to file buffers too
* doc/emacs/arevert-xtra.texi (Supporting additional buffers):
* doc/lispref/backups.texi (Reverting):
Update for buffer-stale-function also applying to file-buffers.
* lisp/autorevert.el (auto-revert-buffers):
* lisp/files.el (buffer-stale--default-function)
(buffer-stale-function, revert-buffer--default): Doc tweaks.
* etc/NEWS: Related edits.
Glenn Morris [Fri, 4 Apr 2014 01:49:28 +0000 (21:49 -0400)]
Doc updates for default values of some -function vars no longer being nil
* doc/emacs/files.texi (Backup Names):
* doc/emacs/arevert-xtra.texi (Supporting additional buffers):
* doc/lispref/backups.texi (Making Backups, Reverting):
Update for default values of some -function vars no longer being nil.
* etc/NEWS: Related edits.
Daniel Colascione [Thu, 3 Apr 2014 20:46:04 +0000 (13:46 -0700)]
Rename EARRAYSIZE to ARRAYELTS
Eli Zaretskii [Thu, 3 Apr 2014 19:53:43 +0000 (22:53 +0300)]
Fix bug #17169 with infinite recursion in bidi_initialize under force-load-messages.
lisp/international/characters.el: Preload uni-mirrored.el.
Ken Brown [Thu, 3 Apr 2014 19:10:35 +0000 (15:10 -0400)]
Don't use manifest on Cygwin. (Bug#17176)
* nt/emacs.rc: Don't use manifest on Cygwin.
* configure.ac (EMACS_MANIFEST, UPDATE_MANIFEST): Leave these
variables empty on Cygwin.
* src/Makefile.in (EMACS_MANIFEST): Update comment.
Daniel Colascione [Thu, 3 Apr 2014 09:50:58 +0000 (02:50 -0700)]
Assert that function cells contain valid lisp objects
Daniel Colascione [Thu, 3 Apr 2014 09:44:41 +0000 (02:44 -0700)]
Rearrange suspicious pointer logging
Glenn Morris [Thu, 3 Apr 2014 07:21:37 +0000 (00:21 -0700)]
Refix previous NEWS fix
Glenn Morris [Thu, 3 Apr 2014 07:17:58 +0000 (00:17 -0700)]
Tweak previous NEWS change
Daniel Colascione [Thu, 3 Apr 2014 07:14:02 +0000 (00:14 -0700)]
Clean up array size calculations
Glenn Morris [Thu, 3 Apr 2014 07:06:40 +0000 (00:06 -0700)]
Doc updates related to changes in revert-buffer function variables
* lisp/files.el (make-backup-file-name-function)
(make-backup-file-name, make-backup-file-name--default-function)
(make-backup-file-name-1, find-backup-file-name)
(revert-buffer-function, revert-buffer-insert-file-contents-function)
(buffer-stale--default-function, buffer-stale-function)
(before-revert-hook, after-revert-hook, revert-buffer-in-progress-p)
(revert-buffer, revert-buffer--default)
(revert-buffer-insert-file-contents--default-function):
Doc fixes related to defaults no longer being nil.
(make-backup-file-name-function): Bump :version.
Restore nil as a valid but deprecated custom type.
* etc/NEWS: Related edit.
Glenn Morris [Thu, 3 Apr 2014 01:16:18 +0000 (21:16 -0400)]
* make-dist: Further update AC_INIT regexp.
Daniel Colascione [Thu, 3 Apr 2014 00:44:00 +0000 (17:44 -0700)]
Add missing src/ChangeLog text that somehow ended up in last commit message instead
Stefan Monnier [Thu, 3 Apr 2014 00:41:09 +0000 (20:41 -0400)]
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): Handle $'
used as a variable.
Fixes: debbugs:17174
Daniel Colascione [Thu, 3 Apr 2014 00:37:51 +0000 (17:37 -0700)]
Fix typo
* alloc.c: Include execinfo.h if available.
(SUSPICIOUS_OBJECT_CHECKING): New macro; define unconditionally.
(suspicious_free_record): New structure.
(suspicious_objects,suspicious_object_index)
(suspicious_free_history, suspicious_free_history_index): New
variables.
(find_suspicious_object_in_range,detect_suspicious_free,Fsuspicious_object):
New functions.
(cleanup_vector): Call find_suspicious_object_in_range.
Daniel Colascione [Thu, 3 Apr 2014 00:18:08 +0000 (17:18 -0700)]
Add GC bug investigation code
Stefan Monnier [Wed, 2 Apr 2014 19:50:05 +0000 (15:50 -0400)]
* lisp/progmodes/perl-mode.el (perl-syntax-propertize-function): Add "foreach"
and "for" statement modifiers introducing expressions.
Fixes: debbugs:17116
Stefan Monnier [Wed, 2 Apr 2014 19:47:50 +0000 (15:47 -0400)]
* lisp/progmodes/perl-mode.el (perl-indent-new-calculate):
Handle forward-sexp failure.
Fixes: debbugs:16985
Richard M. Stallman [Wed, 2 Apr 2014 17:21:34 +0000 (13:21 -0400)]
Revert subr.el workaround for GC bug.
* subr.el (set-transient-map): Comment out previous change.
Dmitry Antipov [Wed, 2 Apr 2014 16:17:08 +0000 (20:17 +0400)]
* xterm.c (x_term_init) [USE_LUCID]: Fix minor memory leak.
Juanma Barranquero [Wed, 2 Apr 2014 15:14:50 +0000 (17:14 +0200)]
Merge from emacs-24; up to 2014-03-28T01:39:30Z!rgm@gnu.org
Martin Rudalics [Wed, 2 Apr 2014 14:33:33 +0000 (16:33 +0200)]
In x_new_font don't calculate non-toolkit scrollbar width from font width (Bug#17163).
* xterm.c (x_new_font): Don't calculate non-toolkit scrollbar
width from font width (Bug#17163).
Dmitry Antipov [Wed, 2 Apr 2014 13:24:19 +0000 (17:24 +0400)]
* font.c (font_list_entities): Do not add empty vector to font cache.
(font_matching_entity): Likewise. If matching entity is found, insert
1-item vector with this entity instead of entity itself (Bug#17125).
João Távora [Wed, 2 Apr 2014 09:59:06 +0000 (10:59 +0100)]
Inhibit quote autopairing more frequently
* lisp/elec-pair.el (electric-pair-inhibit-if-helps-balance): Inhibit
quote pairing if point-max is inside an unterminated string.
(electric-pair--looking-at-unterminated-string-p):
Delete.
(electric-pair--in-unterminated-string-p): New function.
* test/automated/electric-tests.el (inhibit-if-strings-mismatched):
New test, change from `inhibit-only-of-next-is-mismatched'.
Glenn Morris [Wed, 2 Apr 2014 07:07:11 +0000 (00:07 -0700)]
Small codes update for revert-buffer-function no longer being nil by default
* lisp/menu-bar.el (menu-bar-file-menu):
* lisp/vc/ediff.el (ediff-current-file):
Update for revert-buffer-function no longer being nil by default.
Glenn Morris [Wed, 2 Apr 2014 07:01:07 +0000 (00:01 -0700)]
NEWS small edits
Glenn Morris [Wed, 2 Apr 2014 06:53:10 +0000 (23:53 -0700)]
* lisp/simple.el (command-execute): Respect nil disabled-command-function.
Nicolas Richard [Wed, 2 Apr 2014 06:51:59 +0000 (23:51 -0700)]
Fix for command-execute handling of disabled commands
* lisp/simple.el (command-execute): Do not execute the command when it
is disabled; fixes thinko in 2013-02-20 conversion from C.
Fixes: debbugs:17151
Daniel Colascione [Tue, 1 Apr 2014 20:48:02 +0000 (13:48 -0700)]
Prevent assertion failure when trying to complete the prompt
Paul Eggert [Tue, 1 Apr 2014 20:18:12 +0000 (13:18 -0700)]
* fns.c (validate_subarray): Rename from validate_substring,
since it works for vectors too. New arg ARRAY. Optimize for the
non-nil case. Instead of returning bool, throw an error if out of
range, so that the caller needn't do that. All uses changed.
Report original values if out of range.
(Fsubstring, Fsubstring_no_properties, secure_hash):
Also optimize the case where FROM is 0 or TO is the size.
Glenn Morris [Tue, 1 Apr 2014 16:27:59 +0000 (09:27 -0700)]
Backport cedet/ede/emacs.el change from trunk
In case anyone uses 24.4 to edit trunk Emacs sources
* lisp/cedet/ede/emacs.el (ede-emacs-version): Update AC_INIT regexp.
Fixes: debbugs:17160
Glenn Morris [Tue, 1 Apr 2014 16:17:19 +0000 (09:17 -0700)]
configure.ac comment