Timestamp fixes for undo.
[bpt/emacs.git] / lisp / ChangeLog
index 2c36162..91ce836 100644 (file)
@@ -1,3 +1,368 @@
+2013-07-10  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Timestamp fixes for undo (Bug#14824).
+       * files.el (clear-visited-file-modtime): Move here from fileio.c.
+
+2013-07-10  Leo Liu  <sdl.web@gmail.com>
+
+       * files.el (require-final-newline): Allow safe local value.
+       (Bug#14834)
+
+2013-07-09  Leo Liu  <sdl.web@gmail.com>
+
+       * ido.el (ido-read-directory-name): Handle fallback.
+       (ido-read-file-name): Update DIR to ido-current-directory.
+       (Bug#1516)
+       (ido-add-virtual-buffers-to-list): Robustify.  (Bug#14552)
+
+2013-07-09  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
+       "autoload".  Remove "warn lower camel case" section, previously
+       commented out.  Highlight negation char.  Do not highlight the
+       target in singleton method definitions.
+
+2013-07-08  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * faces.el (tty-setup-hook): Declare the hook.
+
+       * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
+       and detect when a guard/pred depends on local vars (bug#14773).
+       (pcase--u1): Adjust caller.
+
+2013-07-08  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (line-move-partial, line-move): Account for
+       line-spacing.
+       (line-move-partial): Avoid setting vscroll when the last
+       partially-visible line in window is of default height.
+
+2013-07-08  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
+       been used a while.
+
+2013-07-07  Juanma Barranquero  <lekktu@gmail.com>
+
+       * subr.el (read-quoted-char): Remove unused local variable `char'.
+
+2013-07-07  Michael Kifer  <kifer@cs.stonybrook.edu>
+
+       * 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)
+       (ediff-merge-directories-with-ancestor-command): New functions.
+       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.
+       (viper-save-kill-buffer): Check if buffer is modified.
+
+       * 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.
+       (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)
+       (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.
+       (viper-set-hooks): Do not modify flyspell-mode-hook.  (Bug#13793)
+
+2013-07-07  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (default-font-height, window-screen-lines):
+       New functions.
+       (line-move, line-move-partial): Use them instead of
+       frame-char-height and window-text-height.  This makes scrolling
+       text smoother when the buffer's default face uses a font that is
+       different from the frame's default font.
+
+2013-07-06  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * files.el (write-file): Do not display confirm dialog for NS,
+       it does its own dialog, which can't be cancelled (Bug#14578).
+
+2013-07-06  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (line-move-partial): Adjust the row returned by
+       posn-at-point for the current window-vscroll.  (Bug#14567)
+
+2013-07-06  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
+       (tramp-sh-file-inotifywait-process-filter): Handle file names with
+       spaces.
+
+2013-07-06  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window-state-put-stale-windows): New variable.
+       (window--state-put-2): Save list of windows without matching buffer.
+       (window-state-put): Remove "bufferless" windows if possible.
+
+2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
+
+       * simple.el (alternatives-define): Remove leftover :group keyword.
+       Tweak docstring.
+
+2013-07-06  Leo Liu  <sdl.web@gmail.com>
+
+       * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
+       (ido-enable-virtual-buffers): New variable.
+       (ido-buffer-internal, ido-toggle-virtual-buffers)
+       (ido-make-buffer-list): Use it.
+       (ido-exhibit): Support turning on and off virtual buffers
+       automatically.
+
+2013-07-06  Juanma Barranquero  <lekktu@gmail.com>
+
+       * simple.el (alternatives-define): New macro.
+
+2013-07-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * subr.el (read-quoted-char): Use read-key.
+       (sit-for): Let read-event decode tty input (bug#14782).
+
+2013-07-05  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todo-mode.el: Add handling of file deletion, both by
+       mode command and externally.  Fix various related bugs.
+       Clarify Commentary and improve some documentation strings and code.
+       (todo-delete-file): New command.
+       (todo-check-file): New function.
+       (todo-show): Handle external deletion of the file we're trying to
+       show (bug#14688).  Replace called-interactively-p by an optional
+       prefix argument to avoid problematic interaction with catch form
+       when byte compiled (bug#14702).
+       (todo-quit): Handle external deletion of the archive's todo file.
+       Make sure the buffer that was visiting the archive file is still
+       live before trying to bury it.
+       (todo-category-completions): Handle external deletion of any
+       category completion files.
+       (todo-jump-to-category, todo-basic-insert-item): Recalculate list
+       of todo files, in case of external deletion.
+       (todo-add-file): Replace unnecessary setq by let-binding.
+       (todo-find-archive): Check whether there are any archives.
+       Replace unnecessary setq by let-binding.
+       (todo-archive-done-item): Use find-file-noselect to get the
+       archive buffer whether or not the archive already exists.
+       Remove superfluous code.  Use file size instead of buffer-file-name to
+       check if the archive is new; if it is, update list of archives.
+       (todo-default-todo-file): Allow nil to be a valid value for when
+       there are no todo files.
+       (todo-reevaluate-default-file-defcustom): Use corrected definition
+       of todo-default-todo-file.
+       (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
+       (todo-delete-category, todo-show-categories-table)
+       (todo-category-number): Clarify comment.
+       (todo-filter-items): Clarify documentation string.
+       (todo-show-current-file, todo-display-as-todo-file)
+       (todo-reset-and-enable-done-separator): Tweak documentation string.
+       (todo-done-separator): Make separator length window-width, since
+       bug#2749 is now fixed.
+
+2013-07-05  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
+       Support both "gvfs-monitor-dir" and "inotifywait".
+       (tramp-sh-file-inotifywait-process-filter): Rename from
+       `tramp-sh-file-notify-process-filter'.
+       (tramp-sh-file-gvfs-monitor-dir-process-filter)
+       (tramp-get-remote-gvfs-monitor-dir): New defuns.
+
+2013-07-05  Leo Liu  <sdl.web@gmail.com>
+
+       * autoinsert.el (auto-insert-alist): Default to lexical-binding.
+
+2013-07-04  YAMAMOTO Mitsuharu  <mituharu@math.s.chiba-u.ac.jp>
+
+       * frame.el (display-pixel-height, display-pixel-width)
+       (display-mm-height, display-mm-width): Mention behavior on
+       multi-monitor setups in docstrings.
+       (w32-display-monitor-attributes-list): Declare function.
+       (display-monitor-attributes-list): Use it.
+
+2013-07-04  Michael Albinus  <michael.albinus@gmx.de>
+
+       * filenotify.el: New package.
+
+       * autorevert.el (top): Require filenotify.el.
+       (auto-revert-notify-enabled): Remove.  Use `file-notify-support'
+       instead.
+       (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
+       (auto-revert-notify-handler): Use `file-notify-*' functions.
+
+       * subr.el (file-notify-handle-event): Move function to filenotify.el.
+
+       * net/tramp.el (tramp-file-name-for-operation):
+       Handle `file-notify-add-watch' and `file-notify-rm-watch'.
+
+       * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
+       for `file-notify-add-watch' and `file-notify-rm-watch'.
+       (tramp-process-sentinel): Improve trace.
+       (tramp-sh-handle-file-notify-add-watch)
+       (tramp-sh-file-notify-process-filter)
+       (tramp-sh-handle-file-notify-rm-watch)
+       (tramp-get-remote-inotifywait): New defuns.
+
+2013-07-03  Juri Linkov  <juri@jurta.org>
+
+       * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
+       call of `occur-read-primary-args' to interactive spec.
+
+       * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
+       `ibuffer-do-occur' like in buff-menu.el.  (Bug#14673)
+
+2013-07-03  Matthias Meulien  <orontee@gmail.com>
+
+       * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
+       `Buffer-menu-multi-occur'.  Add it to the menu.
+       (Buffer-menu-mode): Document it in docstring.
+       (Buffer-menu-multi-occur): New command.  (Bug#14673)
+
+2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
+       keywords and built-ins.
+
+2013-07-03  Glenn Morris  <rgm@gnu.org>
+
+       * subr.el (y-or-n-p): Handle empty prompts.  (Bug#14770)
+
+       Make info-xref checks case-sensitive by default
+       * info.el (Info-find-node, Info-find-in-tag-table)
+       (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
+       Add option for exact case matching of nodes.
+       * info-xref.el (info-xref): New custom group.
+       (info-xref-case-fold): New option.
+       (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
+
+2013-07-03  Leo Liu  <sdl.web@gmail.com>
+
+       * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
+
+2013-07-03  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
+       middle of block statement initially, lower the depth.  Remove
+       FIXME comment, not longer valid.  Remove middle of block statement
+       detection, no need to do that anymore since we've been using
+       `ruby-parse-region' here.
+
+2013-07-02  Jan Djärv  <jan.h.d@swipnet.se>
+
+       * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
+
+2013-07-01  Katsumi Yamaoka  <yamaoka@jpl.org>
+
+       * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
+
+2013-07-01  Juanma Barranquero  <lekktu@gmail.com>
+
+       * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
+       (desktop-restore-in-current-display): New customization option.
+       (desktop--excluded-frame-parameters): Add `font'.
+       (desktop--save-frames): Rename from desktop--save-windows.
+       (desktop--restore-in-this-display-p): New function.
+       (desktop--make-full-frame): Remove unwanted width/height from
+       full(width|height) frames.
+       (desktop--restore-frames): Rename from desktop--restore-windows.
+       Obey desktop-restore-current-display.  Do not delete old frames or
+       select a new frame unless we were able to restore at least one frame.
+
+2013-06-30  Michal Nazarewicz  <mina86@mina86.com>
+
+       * files.el (find-file-noselect): Simplify conditional expression.
+
+       * remember.el (remember-append-to-file):
+       Don't mix `find-buffer-visiting' and `get-file-buffer'.
+
+       Add `remember-notes' function to store random notes across Emacs
+       restarts.
+       * remember.el (remember-data-file): Add :set callback to affect
+       notes buffer (if any).
+       (remember-notes): New command.
+       (remember-notes-buffer-name, bury-remember-notes-on-kill):
+       New defcustoms for the `remember-notes' function.
+       (remember-notes-save-and-bury-buffer): New command.
+       (remember-notes-mode-map): New variable.
+       (remember-mode): New minor mode.
+       (remember-notes--kill-buffer-query): New function.
+       * startup.el (initial-buffer-choice): Add notes to custom type.
+
+2013-06-30  Eli Zaretskii  <eliz@gnu.org>
+
+       * bindings.el (right-char, left-char): Don't call sit-for, this is
+       no longer needed.  Use arithmetic comparison only for numerical
+       arguments.
+
+       * international/mule-cmds.el (select-safe-coding-system):
+       Handle the case of FROM being a string correctly.  (Bug#14755)
+
+2013-06-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-make-table-1): Add a sanity check that allows
+       progression on degenerate tables.
+       (shr-rescale-image): ImageMagick animated images currently don't work.
+
+2013-06-30  Juanma Barranquero  <lekktu@gmail.com>
+
+       Some fixes and improvements for desktop frame restoration.
+       It is still experimental and disabled by default.
+       * desktop.el (desktop--save-windows): Put the selected frame at
+       the head of the list.
+       (desktop--make-full-frame): New function.
+       (desktop--restore-windows): Try to re-select the frame that was
+       selected upon saving.  Do not abort if some frames fail to restore,
+       just show an error message and continue.  Set up maximized frames
+       so they have default non-maximized dimensions.
+
+2013-06-30  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
+       Don't start heredoc inside a string or comment.
+
+2013-06-29  Eli Zaretskii  <eliz@gnu.org>
+
+       * bindings.el (visual-order-cursor-movement): New defcustom.
+       (right-char, left-char): Provide visual-order cursor motion by
+       calling move-point-visually.  Update the doc strings.
+
+2013-06-28  Kenichi Handa  <handa@gnu.org>
+
+       * international/mule.el (define-coding-system): New coding system
+       properties :inhibit-null-byte-detection,
+       :inhibit-iso-escape-detection, and :prefer-utf-8.
+       (set-buffer-file-coding-system): If :charset-list property of
+       CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
+       appropriate for setting.
+
+       * international/mule-cmds.el (select-safe-coding-system):
+       If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
+       multibyte characters, return utf-8 (or one of its siblings).
+
+       * international/mule-conf.el (prefer-utf-8): New coding system.
+       (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
+       files.
+
+2013-06-28  Ivan Kanis  <ivan@kanis.fr>
+
+       * net/shr.el (shr-render-region): New function.
+
+       * net/eww.el: Autoload `eww-browse-url'.
+
+2013-06-27  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * emacs-lisp/package-x.el (package-upload-buffer-internal):
+       Adapt to `package-desc-version' being a list.
+       Use `package--ac-desc-version' to retrieve version from a package
+       archive element.
+
 2013-06-27  Juanma Barranquero  <lekktu@gmail.com>
 
        New experimental feature to save&restore window and frame setup.
 
 2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
-       * net/shr.el (add-face-text-property): Removed compat definition.
+       * net/shr.el (add-face-text-property): Remove compat definition.
+
+2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
+
+       * info.el (Info-try-follow-nearest-node): Move search for footnote
+       above search for node name to prevent missing a footnote (bug#14717).
 
 2013-06-27  Stephen Berman  <stephen.berman@gmx.net>
 
 
 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
 
-       * lisp/textmodes/bibtex.el (bibtex-generate-url-list): Add support
+       * textmodes/bibtex.el (bibtex-generate-url-list): Add support
        for DOI URLs.
 
 2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
 
-       * lisp/textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
+       * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
        Update imenu-support when dialect changes.
 
 2013-06-25  Leo Liu  <sdl.web@gmail.com>
 2013-06-18  Matthias Meulien  <orontee@gmail.com>
 
        * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
+       <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
 
 2013-06-18  Glenn Morris  <rgm@gnu.org>
 
 
        * faces.el (internal-face-x-get-resource):
        * frame.el (ns-display-monitor-attributes-list):
-       * calc/calc-aent.el (math-to-radians-2): Fix declarations.
-
+       * calc/calc-aent.el (math-to-radians-2):
        * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
+       Fix declarations.
 
        * calc/calc-menu.el: Make it loadable in isolation.