* lisp/emacs-lisp/nadvice.el (advice--member-p): Change second arg.
[bpt/emacs.git] / lisp / ChangeLog
index bef5f1b..57cf049 100644 (file)
@@ -1,5 +1,275 @@
+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.
+       (todo-delete-file): When deleting an archive but not its todo
+       file, make sure to update the todo file's category sexp.
+       (todo-move-category): Keep the moved category's name unless the
+       file moved to already has a category with that name.  If the
+       numerically last category of the source file was moved, make the
+       first category current to avoid selecting a nonexisting category.
+       (todo-merge-category): Fix implementation to make merging to a
+       category in another file work as documented.  Eliminate now
+       insufficient and unnecessary renaming of archive category, correct
+       document string accordingly, and clarify it.  If the numerically
+       last category of the source file was merged, make the first
+       category current to avoid selecting a nonexisting category.
+       (todo-archive-done-item): When there are marked items and point
+       happens to be on an unmarked item, ignore the latter.  Don't leave
+       point below last item after archiving marked items.
+       (todo-unarchive-items): Fix logic to ensure unarchiving an item
+       from an archive with only one category deletes the archive only
+       when the category is empty after unarchiving.  Make sure the todo
+       file's category sexp is updated.
+       (todo-read-file-name): Allow an existing file name even when it is
+       not required (todo-move-category needs this to work as documented).
+       (todo-add-file): Call todo-validate-name to reject the name of an
+       existing todo file (needed due to fix in todo-read-file-name).
+       (todo-reset-nondiary-marker): Also reset in filtered items files.
+       (todo-reset-done-string, todo-reset-comment-string): Also reset in
+       regexp filtered items files.
+       (todo-reset-highlight-item): Also reset in filtered items files.
+       Fix incorrect variable reference in document string.
+
+2014-05-22  Glenn Morris  <rgm@gnu.org>
+
+       * window.el (window--dump-frame): Avoid error in --without-x builds.
+
+2014-05-21  Glenn Morris  <rgm@gnu.org>
+
+       * nxml/nxml-mode.el (xml-mode): Only define this alias once.
+
+2014-05-21  Eli Zaretskii  <eliz@gnu.org>
+
+       * frame.el (set-frame-font): Doc fix.
+
+       * menu-bar.el (menu-set-font): Doc fix.  (Bug#17532)
+
+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
+       hooks.  (Bug#17155)
+       (describe-package-1): Same.  Insert newline at the end of the
+       buffer if appropriate.
+
+2014-05-20  Juri Linkov  <juri@jurta.org>
+
+       * avoid.el (mouse-avoidance-set-mouse-position): Don't raise frame.
+       (mouse-avoidance-ignore-p): Remove `switch-frame', add `focus-out'.
+       Add more modifiers: meta, control, shift, hyper, super, alt.
+       (Bug#17439)
+
+       * avoid.el (mouse-avoidance-banish-position): Fix defcustom :options
+       to allow changing its value with `set-variable'.
+
+2014-05-20  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/scheme.el (scheme-mode-syntax-table): Remove hack for
+       #; comments.
+       (scheme-syntax-propertize, scheme-syntax-propertize-sexp-comment):
+       New functions.
+       (scheme-mode-variables): Set syntax-propertize-function instead of
+       font-lock-syntactic-face-function.
+       (scheme-font-lock-syntactic-face-function): Delete.
+
+       * emacs-lisp/lisp.el (end-of-defun): Ensure we move (bug#17274).
+
+2014-05-18  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/timer.el (timer-event-handler): Don't run if canceled
+       (bug#17392).
+
+2014-05-17  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-find-inline-encoding): Do not match "%%t"
+       for a temporary file name.
+
+2014-05-17  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (line-move-ignore-invisible): Doc fix.  (Bug#17511)
+
+2014-05-16  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/dbus.el (dbus-init-bus, dbus-call-method)
+       (dbus-call-method-asynchronously, dbus-send-signal)
+       (dbus-method-return-internal, dbus-method-error-internal):
+       Check, whether Emacs has been compiled with D-Bus support.  (Bug#17508)
+
+2014-05-14  Nicolas Richard  <theonewiththeevillook@yahoo.fr>
+
+       * emacs-lisp/eieio-opt.el (eieio-help-class): Correctly deal with
+       methods which do not have a doc string.  (Bug#17490)
+
+2014-05-14  Stephen Berman <stephen.berman@gmx.net>
+            Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion-pcm--merge-try): Merge trailing / with
+       suffix (bug#15419).
+
+2014-05-14  Glenn Morris  <rgm@gnu.org>
+
+       * vc/emerge.el (emerge-temp-file-prefix):
+       Make pointless option obsolete.
+       (emerge-temp-file-mode): Make non-functional option obsolete.
+
+2014-05-13  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/browse-url.el (browse-url):
+       Use `unhandled-file-name-directory' when setting `default-directory',
+       in order to circumvent stalled remote connections.  (Bug#17425)
+
+2014-05-12  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/nadvice.el (advice--interactive-form): Don't get fooled
+       into autoloading just because of a silly indirection.
+
+2014-05-11  Santiago PayĆ  i Miralta  <santiagopim@gmail.com>  (tiny change)
+
+       * vc/vc-hg.el (vc-hg-unregister): New function.  (Bug#17454)
+
+2014-05-11  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/find-gc.el: Move to ../admin.
+
+2014-05-10  Glenn Morris  <rgm@gnu.org>
+
+       * printing.el (pr-version):
+       * ps-print.el (ps-print-version): Also mention bug-gnu-emacs.
+
+       * net/browse-url.el (browse-url-mosaic):
+       Create /tmp/Mosaic.PID as a private file.
+
+2014-05-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/nadvice.el: Support adding a given function multiple times.
+       (advice--member-p): If name is given, only compare the name.
+       (advice--remove-function): Don't stop at the first match.
+       (advice--normalize-place): New function.
+       (add-function, remove-function): Use it.
+       (advice--add-function): Pass the name, if any, to
+       advice--remove-function.
+
+2014-05-09  Philipp Rumpf  <prumpf@gmail.com>  (tiny change)
+
+       * electric.el (electric-indent-post-self-insert-function): Don't use
+       `pos' after modifying the buffer (bug#17449).
+
+2014-05-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (function-put): Add function.
+
+2014-05-09  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todo-mode.el (todo-insert-item-from-calendar):
+       Correct argument list to conform to todo-insert-item--basic.
+
+2014-05-09  Glenn Morris  <rgm@gnu.org>
+
+       * files.el (cd-absolute): Test if directory is accessible
+       rather than executable.  (Bug#17330)
+
+       * progmodes/compile.el (recompile):
+       Handle C-u M-x recompile from a non-compilation buffer.  (Bug#17444)
+
+2014-05-08  Juri Linkov  <juri@jurta.org>
+
+       * dired.el (dired-check-switches, dired-switches-recursive-p):
+       New functions.  (Bug#17218)
+       (dired-switches-escape-p, dired-move-to-end-of-filename):
+       Use `dired-check-switches'.
+       (dired-insert-old-subdirs, dired-build-subdir-alist)
+       (dired-sort-R-check): Use `dired-switches-recursive-p'.
+
+2014-05-08  Glenn Morris  <rgm@gnu.org>
+
+       * net/browse-url.el (browse-url-mosaic):
+       Be careful when writing /tmp/Mosaic.PID.  (Bug#17428)
+       This is CVE-2014-3423.
+
+2014-05-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * xt-mouse.el: Drop spurious/oddly shaped events (bug#17378).
+       (xterm-mouse--read-event-sequence-1000): Return nil if something
+       looks fishy.
+       (xterm-mouse-event): Propagate it.
+       (xterm-mouse-translate-1): Handle it.
+
+2014-05-07  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todo-mode.el (todo-insert-item--apply-args): When all
+       four slots of the parameter list are filled, make sure to pass it
+       to the argument list of todo-insert-item--basic.
+
+2014-05-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/package.el (package-compute-transaction): Topological sort.
+       Add optional `seen' argument to detect and break infinite loops.
+
+2014-05-06  Eli Zaretskii  <eliz@gnu.org>
+
+       * emacs-lisp/find-gc.el (find-gc-unsafe, find-unsafe-funcs)
+       (trace-unsafe, trace-use-tree): Make parentheses style be
+       according to Emacs style.
+
+2014-05-06  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-remote-process-environment):
+       Remove HISTFILE and HISTSIZE; it's too late to set them here.
+       Add :version entry.
+       (tramp-open-shell): Do not let-bind `tramp-end-of-output'.
+       Add "HISTFILE=/dev/null" to the shell's env arguments.  Do not send
+       extra "PSx=..." commands.
+       (tramp-maybe-open-connection): Setenv HISTFILE to /dev/null.
+       (Bug#17295)
+
+       (tramp-uudecode): Replace the hard-coded temporary file name by a
+       format specifier.
+       (tramp-remote-coding-commands): Enhance docstring.
+       (tramp-find-inline-encoding): Replace "%t" by a temporary file
+       name.  (Bug#17415)
+       This is CVE-2014-3424.
+
+2014-05-06  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/find-gc.el (find-gc-source-directory): Give it a value.
+       (find-gc-source-files): Update some names.
+       (trace-call-tree): Simplify and update.
+       Avoid predictable temp-file names.  (http://bugs.debian.org/747100)
+       This is CVE-2014-3422.
+
 2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
 
+       * minibuffer.el (completion--try-word-completion): Revert fix for
+       Bug#15980 (bug#17375).
+
+       * xt-mouse.el (xterm-mouse--read-event-sequence-1000): (bug#17378)
+       Always store button numbers in the same way in xterm-mouse-last;
+       Don't burp is xterm-mouse-last is not set as expected.
+       Never return negative indices.
+
+2014-05-05  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
+       Backtrack one char if the global/char-literal var matcher hits
+       inside a string.  The next char could be the beginning of an
+       expression expansion.
+
+2014-05-05  Glenn Morris  <rgm@gnu.org>
+
+       * help-fns.el (describe-function-1): Test for an autoload before a
+       macro, since `macrop' works on autoloads.  (Bug#17410)
+
+2014-05-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * electric.el (electric-indent-functions-without-reindent): Add yaml.
+
        * minibuffer.el (completion-table-with-quoting) <completion--unquote>:
        Make sure the new point we return is within the new string (bug#17239).
 
        (todo-edit-done-item--param-key-alist): New defconsts.
        (todo-edit-item--prompt): New variable.
        (todo-edit-item--next-key): New function.
-       (todo-key-bindings-t): Bind "e" to todo-edit-item.  Remove
-       bindings of deleted commands.
+       (todo-key-bindings-t): Bind "e" to todo-edit-item.
+       Remove bindings of deleted commands.
 
 2014-05-02  Leo Liu  <sdl.web@gmail.com>