* lisp/desktop.el: Activate auto-saving on window configuration changes.
[bpt/emacs.git] / lisp / ChangeLog
index 76db4ee..6e89afc 100644 (file)
@@ -1,3 +1,331 @@
+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.
+       (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):
        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 "HISTSIZE=/dev/null" to the shell's env arguments.  Do not send
+       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)