HideIfDef mode bug fixes and enhancements. This is #2 of 3 patches based
[bpt/emacs.git] / lisp / ChangeLog
index 0220741..5a71631 100644 (file)
@@ -1,3 +1,391 @@
+2014-06-26  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/authors.el (authors-valid-file-names)
+       (authors-renamed-files-alist): Additions.
+
+2014-06-25  Leo Liu  <sdl.web@gmail.com>
+
+       * textmodes/picture.el (picture-set-tab-stops):
+       * ruler-mode.el (ruler-mode-mouse-add-tab-stop)
+       (ruler-mode-ruler): Fix to work with nil tab-stop-list.
+
+       * progmodes/asm-mode.el (asm-calculate-indentation): Use
+       indent-next-tab-stop.
+
+       * indent.el (indent-accumulate-tab-stops): New function.
+
+2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/package.el (package-list-unsigned): New var (bug#17625).
+       (package-desc-status): Obey it.
+
+2014-06-25  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todo-mode.el: Fix two bugs.
+       (todo-insert-item--basic): If user cancels item insertion to
+       another category before setting priority, show original category
+       whether it is in the same or a different file.
+       (todo-set-item-priority): After selecting category, instead of
+       moving point to top, which extends an active region, restore it.
+
+2014-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * help-fns.el (describe-function-1): Check file-name is a string before
+       calling help-fns--autoloaded-p (bug#17564).
+
+2014-06-24  Juri Linkov  <juri@jurta.org>
+
+       * desktop.el (desktop-auto-save-enable)
+       (desktop-auto-save-disable): New functions.
+       (desktop-save-mode, desktop-auto-save-timeout): Use them.
+       (desktop-read): Disable the autosave before loading the desktop,
+       and enable afterwards.  (Bug#17351)
+
+2014-06-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       Fix some indentation problem with \; and pipes (bug#17842).
+       * progmodes/sh-script.el (sh-mode-syntax-table): Set syntax of ;|&.
+       (sh-smie--default-forward-token, sh-smie--default-backward-token):
+       New functions.
+       (sh-smie-sh-forward-token, sh-smie-sh-backward-token)
+       (sh-smie-rc-forward-token, sh-smie-rc-backward-token): Use them.
+       (sh-smie-sh-rules): Fix indentation of a pipe at BOL.
+
+2014-06-24  Eli Zaretskii  <eliz@gnu.org>
+
+       * international/fontset.el (script-representative-chars):
+       Add representative characters for scripts added in Unicode 7.0.
+       (otf-script-alist): Synchronize with the latest registry of OTF
+       script tags.
+
+       * international/characters.el (char-script-table): Update for
+       scripts added and codepoint ranges changed in Unicode 7.0.
+
+2014-06-23  Leo Liu  <sdl.web@gmail.com>
+
+       * align.el (align-adjust-col-for-rule): Unbreak due to defaulting
+       tab-stop-list to nil.  (Bug#16381)
+
+       * indent.el (indent-next-tab-stop): Rename from indent--next-tab-stop.
+       (indent-rigidly-left-to-tab-stop)
+       (indent-rigidly-right-to-tab-stop, tab-to-tab-stop)
+       (move-to-tab-stop): Change callers.
+
+2014-06-22  Eli Zaretskii  <eliz@gnu.org>
+
+       * skeleton.el (skeleton-insert): Yet another fix of the doc string
+       wrt behavior of \n as the first/last element of a skeleton.
+
+2014-06-22  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-adb.el (tramp-adb-handle-process-file):
+       * net/tramp-sh.el (tramp-sh-handle-process-file):
+       * net/tramp-smb.el (tramp-smb-handle-process-file): Do not raise
+       the output buffer when DISPLAY is non-nil.  (Bug#17815)
+
+2014-06-21  Glenn Morris  <rgm@gnu.org>
+
+       * play/landmark.el (landmark-move-down, landmark-move-up):
+       Fix 2007-10-20 change - preserve horizontal position.
+
+2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       Fix completion retrieval parsing (bug#17209).
+       * progmodes/python.el (python-mode):
+       (python-util-strip-string): New function.
+       (python-shell-completion-get-completions): Use it.
+
+2014-06-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * skeleton.el (skeleton-insert): Fix last change.
+
+2014-06-21  Fabián Ezequiel Gallina  <fgallina@gnu.org>
+
+       Enhancements for outline integration (bug#17796).
+       * progmodes/python.el (python-mode): Properly set
+       outline-heading-end-regexp so that comments after colons for
+       defuns are supported.
+
+2014-06-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * skeleton.el (skeleton-insert): Doc fix.
+
+2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/smie.el (smie-config--guess): Fix typo.
+       (smie-config-guess): Use smie-config-local so the rules are obeyed
+       (bug#17818).
+
+       * mouse.el (mouse-drag-line): Don't re-add to unread-comment-events,
+       since it's already done inside the loop (bug#17819).
+
+2014-06-20  Martin Rudalics  <rudalics@gmx.at>
+
+       * mouse.el (mouse-drag-line): Re-remove code initially removed
+       on 2013-03-09 and inadvertently reintroduced on 2013-11-30
+       (Bug#17819).
+
+2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/sh-script.el (sh-smie-sh-rules): For { after &&, don't
+       align with the surrounding parent (bug#17721).
+
+2014-06-20  Eli Zaretskii  <eliz@gnu.org>
+
+       * textmodes/texinfo.el (texinfo-mode): Set skeleton-end-newline
+       locally to nil.
+       (texinfo-insert-block, texinfo-insert-@end)
+       (texinfo-insert-@example, texinfo-insert-@quotation): Adjust to
+       local setting of skeleton-end-newline by adding an explicit \n to
+       the skeletons where appropriate.  (Bug#17801)
+
+2014-06-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/smie.el (smie--hanging-eolp-function): New var.
+       (smie-indent--hanging-p): Use it.
+       * progmodes/sh-script.el (sh-set-shell): Set it (bug#17621).
+
+2014-06-20  Leo Liu  <sdl.web@gmail.com>
+
+       * simple.el (read-quoted-char): Don't let help chars pop up help
+       buffer.  (Bug#16617)
+
+2014-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/sh-script.el (sh-smie-sh-rules): Use same rule for && as
+       for | (bug#17621).
+
+2014-06-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xt-mouse.el (xterm-mouse-translate-1): Fix last change (bug#17776).
+       (xterm-mouse--read-event-sequence-1000): Drop unknown events instead of
+       burping.
+
+2014-06-18  Eli Zaretskii  <eliz@gnu.org>
+
+       * term/w32-win.el (dynamic-library-alist): Support giflib 5.1.0
+       and later.  (Bug#17790)
+
+2014-06-18  Juri Linkov  <juri@jurta.org>
+
+       * dired.el (dired-mark-pop-up): Let-bind display-buffer-mark-dedicated
+       to `soft'.  (Bug#17554)
+
+2014-06-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * delsel.el (electric-newline-and-maybe-indent): Mark it as well
+       (bug#17737).
+
+2014-06-16  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Don't fontify
+       `!' in `!~' with `font-lock-negation-char-face'.  (Bug#17732)
+
+2014-06-15  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/dbus.el (dbus-call-method): Push only non D-Bus events into
+       `unread-command-events'.
+
+2014-06-14  Glenn Morris  <rgm@gnu.org>
+
+       * progmodes/cc-langs.el: Require cl-lib.  (Bug#17463)
+       Replace delete-duplicates and mapcan by cl- versions throughout.
+       And cl-macroexpand-all by macroexpand-all.
+       (delete-duplicates, mapcan, cl-macroexpand-all): No need to declare.
+
+2014-06-14  Eli Zaretskii  <eliz@gnu.org>
+
+       * subr.el (posn-col-row): Doc fix.  (Bug#17768)
+
+2014-06-14  Juri Linkov  <juri@jurta.org>
+
+       * bindings.el: Put `ascii-character' property on keypad keys
+       mapped to characters.  (Bug#17759)
+
+2014-06-13  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/smie.el (smie-next-sexp): Fix up "other-end" info when
+       bumping forward into a closing paren (bug#17761).
+
+       * term/xterm.el (xterm--version-handler): Work around for OSX
+       Terminal.app (bug#17607).
+
+2014-06-08  Glenn Morris  <rgm@gnu.org>
+
+       * startup.el (initial-buffer-choice): Doc fix.
+       Reset :version (adding an option does not merit a :version bump).
+
+       * bookmark.el (bookmark-load):
+       * uniquify.el (uniquify-buffer-name-style): Doc fixes.
+
+2014-06-06  Juri Linkov  <juri@jurta.org>
+
+       * desktop.el: Activate auto-saving on window configuration changes.
+       (desktop-save-mode, desktop-auto-save-timeout): Add/remove
+       `desktop-auto-save-set-timer' to/from `window-configuration-change-hook'.
+       (desktop-auto-save-set-timer): Change REPEAT arg of
+       `run-with-idle-timer' from t to nil.
+       http://lists.gnu.org/archive/html/emacs-devel/2014-06/msg00147.html
+
+2014-06-06  Santiago Payà i Miralta  <santiagopim@gmail.com>
+
+       * vc/vc-hg.el (vc-hg-working-revision): Use "hg parent" and
+       vc-hg-command (bug#17570).
+
+2014-06-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * international/mule-cmds.el (ucs-names): Add special entry for BEL
+       (bug#17702).
+
+2014-06-06  Glenn Morris  <rgm@gnu.org>
+
+       * startup.el (window-setup-hook): Doc fix.
+
+2014-06-05  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/package.el (package-check-signature)
+       (package-unsigned-archives): Doc fixes.
+
+2014-06-03  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (display-buffer-use-some-window): Don't make window
+       used smaller than it was before (Bug#17671).
+
+2014-06-03  Eli Zaretskii  <eliz@gnu.org>
+
+       * menu-bar.el (menu-bar-open): Fix last change: use the PC
+       'redisplay' instead of '(sit-for 0)'.
+
+2014-06-03  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-ssh-controlmaster-options): Improve search
+       regexp.  (Bug#17653)
+
+2014-06-03  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/package.el (package-pinned-packages): Doc fix.
+
+2014-06-02  Eli Zaretskii  <eliz@gnu.org>
+
+       * menu-bar.el (menu-bar-open): Fix invocation via M-x.
+
+2014-06-01  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (keyboard-quit): Force update of mode lines, to remove
+       the "Def" indicator, if we were defining a macro.  (Bug#17615)
+
+2014-06-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (minibuffer-force-complete-and-exit):
+       Obey minibuffer-default (bug#17545).
+
+       * progmodes/js.el (js-indent-line): Don't mix columns and chars
+       (bug#17619).
+
+2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (set-transient-map): Don't wait for some "nested"
+       transient-map to finish if we're only supposed to be active for
+       the next command (bug#17642).
+
+2014-05-31  Leo Liu  <sdl.web@gmail.com>
+
+       * emacs-lisp/gv.el (window-buffer, window-display-table)
+       (window-dedicated-p, window-hscroll, window-point, window-start):
+       Fix gv-expander.  (Bug#17630)
+
+2014-05-31  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * mouse.el (mouse-posn-property): Ignore posn-point for mode-line
+       clicks (bug#17633).
+
+       * leim/quail/latin-pre.el ("latin-2-prefix"): Use ",," rather than ", "
+       for the single comma, since ", " is *very* common in normal French text
+       (bug#17643).
+
+2014-05-30  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/package.el (package-check-signature)
+       (package-unsigned-archives): Fix :version.
+
+2014-05-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (sit-for): Don't run input-methods (bug#15614).
+
+2014-05-28  Glenn Morris  <rgm@gnu.org>
+
+       * cus-start.el: Fix some :version numbers.
+
+2014-05-27  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * simple.el (deactivate-mark): Set mark-active to nil even if
+       deactivation is done via setting transient-mark-mode to nil,
+       since one is buffer-local and the other is global.
+
+       * emacs-lisp/byte-opt.el (byte-optimize-binary-predicate): Don't assume
+       there can't be more than 2 arguments (bug#17584).
+
+2014-05-27  Glenn Morris  <rgm@gnu.org>
+
+       * simple.el (filter-buffer-substring-functions)
+       (filter-buffer-substring-function, buffer-substring-filters)
+       (filter-buffer-substring, buffer-substring--filter): Doc fixes.
+
+       * minibuffer.el (completion-in-region-functions, completion-in-region)
+       (completion--in-region): Doc fixes.
+
+       * abbrev.el (abbrev-expand-functions, abbrev-expand-function)
+       (expand-abbrev, abbrev--default-expand): Doc fixes.
+
+2014-05-26  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Include sources used to create macuvs.h.
+       * international/README: Refer to the Unicode Terms of Use rather
+       than copying it bodily here, as that simplifies maintenance.
+
+2014-05-25  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * cus-face.el (custom-face-attributes): Add :distant-foreground.
+
+2014-05-25  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window--dump-frame): Remove interactive
+       specification.
+
+2014-05-23  Glenn Morris  <rgm@gnu.org>
+
+       * hippie-exp.el (he-line-search-regexp):
+       Handle comint-prompt-regexp containing subgroups.  (Bug#17529)
+
+2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todo-mode.el: Remove dependence on auto-mode-alist,
+       to avoid errors when trying to create or visit a file foo.todo
+       located outside to todo-directory, and to allow having such files
+       without them being tied to Todo mode (bug#17482).
+       (todo-show, todo-move-category, todo-merge-category, todo-find-archive)
+       (todo-archive-done-item, todo-find-filtered-items-file)
+       (todo-filter-items, todo-find-item, todo-diary-goto-entry)
+       (todo-category-completions, todo-read-category): When visiting a
+       Todo file, make sure we're in the right mode and the buffer local
+       variables are set.
+       (todo-make-categories-list, todo-reset-nondiary-marker)
+       (todo-reset-done-string, todo-reset-comment-string):
+       After processing all Todo files, kill the buffers of those files that
+       weren't being visited before the processing.
+       (todo-display-as-todo-file, todo-add-to-buffer-list)
+       (todo-visit-files-commands): Comment out.
+       (todo-modes-set-3, todo-mode): Comment out additions to find-file-hook.
+       (auto-mode-alist): Remove add-to-list calls making Todo file
+       extensions unrestrictedly tied to Todo modes.
+
+2014-05-23  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/nadvice.el (advice--member-p): Change second arg.
+       (advice-function-member-p): Tell it to check both names and functions
+       (bug#17531).
+       (advice--add-function): Adjust call accordingly.
+
 2014-05-23  Stephen Berman  <stephen.berman@gmx.net>
 
        * calendar/todo-mode.el: Miscellaneous bug fixes.
 
 2014-05-21  Dmitry Gutov  <dgutov@yandex.ru>
 
-       * emacs-lisp/package.el (package--download-one-archive): Use
-       `write-region' instead of `save-buffer' to avoid running various
+       * emacs-lisp/package.el (package--download-one-archive):
+       Use `write-region' instead of `save-buffer' to avoid running various
        hooks.  (Bug#17155)
        (describe-package-1): Same.  Insert newline at the end of the
        buffer if appropriate.
 
 2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
 
-       * ediff.el (ediff-version): Version update.
+       * vc/ediff.el (ediff-version): Version update.
        (ediff-files-command, ediff3-files-command, ediff-merge-command)
        (ediff-merge-with-ancestor-command, ediff-directories-command)
        (ediff-directories3-command, ediff-merge-directories-command)
        All are command-line interfaces to ediff: to facilitate calling
        Emacs with the appropriate ediff functions invoked.
 
-       * viper-cmd.el (viper-del-forward-char-in-insert): New function.
+       * emulation/viper-cmd.el (viper-del-forward-char-in-insert):
+       New function.
        (viper-save-kill-buffer): Check if buffer is modified.
 
-       * viper.el (viper-version): Version update.
+       * emulation/viper.el (viper-version): Version update.
        (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
 
 2013-07-07  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
-       * viper-cmd.el (viper-envelop-ESC-key): Remove function.
+       * emulation/viper-cmd.el (viper-envelop-ESC-key): Remove function.
        (viper-intercept-ESC-key): Simplify.
-       * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
-       * viper.el (viper--tty-ESC-filter, viper--lookup-key)
+       * emulation/viper-keym.el (viper-ESC-key): Make it a constant,
+       don't use kbd.
+       * emulation/viper.el (viper--tty-ESC-filter, viper--lookup-key)
        (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
        (viper-setup-ESC-to-escape): New functions.
        (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.