Merge from emacs-24; up to 2012-12-29T12:57:49Z!fgallina@gnu.org
[bpt/emacs.git] / lisp / ChangeLog
index 64cb857..9e746b2 100644 (file)
@@ -1,8 +1,408 @@
+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.
+       * desktop.el (desktop-save-windows): New defcustom.
+       (desktop--saved-states): New var.
+       (desktop--excluded-frame-parameters): New defconst.
+       (desktop--filter-frame-parms, desktop--find-frame-in-display)
+       (desktop--restore-windows, desktop--save-windows): New functions.
+       (desktop-save): Call `desktop--save-windows'.
+       (desktop-read): Call `desktop--restore-windows'.
+
+2013-06-27  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * 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>
+
+       * obsolete/otodo-mode.el: Add obsolescence info to file header.
+
+2013-06-27  Leo Liu  <sdl.web@gmail.com>
+
+       * net/eww.el (eww-read-bookmarks): Check file size.
+
+2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
+       advice--pending if newdef is nil or an autoload (bug#13820).
+       (advice-mapc): New function.
+
+2013-06-26  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
+       probably.
+       (eww-mode-map): Add a menu bar.
+       (eww-add-bookmark): New command.
+       (eww-bookmark-mode): New mode and commands.
+       (eww-add-bookmark): Remove newlines from the title.
+       (eww-bookmark-browse): Don't bug out if it's the only window.
+
+2013-06-26  Glenn Morris  <rgm@gnu.org>
+
+       * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
+       (hfy-size): Handle ttys.  (Bug#14668)
+
+       * info-xref.el: Update for Texinfo 5 change in *note format.
+       (info-xref-node-re, info-xref-note-re): New constants.
+       (info-xref-check-buffer): Use info-xref-note-re.
+
+2013-06-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
+
+       * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
+       nil terminate the loop (bug#14718).
+
+2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/eww.el: Rework history traversal.  When going forward/back,
+       put these actions into the history, too, so that they can be
+       replayed.
+       (eww-render): Move the history reset to the correct buffer.
+
+2013-06-25  Juri Linkov  <juri@jurta.org>
+
+       * files-x.el (modify-dir-local-variable): Change the header comment
+       in the file with directory local variables.  (Bug#14692)
+
+       * files-x.el (read-file-local-variable-value): Add `default'.
+       (Bug#14710)
+
+2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/eww.el (eww-make-unique-file-name): Create a unique file
+       name before saving to entering `y' accidentally asynchronously.
+
+2013-06-25  Ivan Kanis  <ivan@kanis.fr>
+
+       * net/eww.el (eww-download): New command and keystroke.
+
+2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/eww.el (eww-copy-page-url): Change name of command.
+
+       * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
+       be more consistent with Info and dired.
+
+       * net/eww.el (eww-mode-map): Ditto.
+
+2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/package.el: Use lexical-binding.  Include obsolete
+       packages from archives.
+       (package-archive-contents): Change format; include obsolete packages.
+       (package-desc): Use `dir' to mark builtin packages.
+       (package--from-builtin): Set the `dir' field to `builtin'.
+       (generated-autoload-file, version-control): Declare.
+       (package-compute-transaction): Change first arg and return value to be
+       lists of package-descs.  Adjust to new package-archive-contents format.
+       (package--add-to-archive-contents): Adjust to new
+       package-archive-contents format.
+       (package-download-transaction): Arg is now a list of package-descs.
+       (package-install): If `pkg' is a package name, pass it as
+       a requirement, so it is subject to the usual (e.g. disabled) checks.
+       (describe-package): Accept package-desc as well.
+       (describe-package-1): Describe a specific package-desc.  Add links to
+       other package-descs for the same package name.
+       (package-menu-describe-package): Pass the actual package-desc.
+       (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
+       works correctly.
+       (package-desc-status): New function.
+       (package-menu--refresh): New function, extracted
+       from package-menu--generate.
+       (package-menu--generate): Use it.
+       (package-delete): Update package-alist.
+       (package-menu-execute): Don't call package-initialize.
+
+       * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
+       progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
+       progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
+       progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
+       progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
+       emacs-lisp/cl-macs.el: Neuter the "Version:" header.
+
+2013-06-25  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (window--state-get-1): Workaround for bug#14527.
+       http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
+
+2013-06-25  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/eww.el (eww-back-url): Implement the history by stashing all
+       the data into a list.
+       (eww-forward-url): Allow going forward in the history, too.
+
+2013-06-25  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
+       for values and use read--expression for expressions (bug#14710).
+       (read-file-local-variable): Avoid setq.
+       (read-file-local-variable-mode): Use minor-mode-list.
+
+2013-06-25  Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
+
+       * lisp/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):
+       Update imenu-support when dialect changes.
+
+2013-06-25  Leo Liu  <sdl.web@gmail.com>
+
+       * ido.el (ido-read-internal): Allow forward slash on windows.
+
+2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/eww.el (eww): Start of strings is \\`, not ^.
+
+2013-06-24  Ivan Kanis  <ivan@kanis.fr>
+
+       * net/shr.el (shr-browse-url): Fix interactive spec.
+
+       * net/eww.el (eww): Add a trailing slash to domain names.
+
+2013-06-24  Juanma Barranquero  <lekktu@gmail.com>
+
+       * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
+
+2013-06-24  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-browse-url): Use an external browser if given a
+       prefix.
+
+       * net/eww.el (eww-external-browser): Move to shr.
+
+2013-06-24  Ivan Kanis  <ivan@kanis.fr>
+
+       * net/eww.el (eww): Work more correctly for file: URLs.
+       (eww-detect-charset): Allow quoted charsets.
+       (eww-yank-page-url): New command and keystroke.
+
+2013-06-24  Daiki Ueno  <ueno@gnu.org>
+
+       * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
+       file name of gpg executable.
+       (epg-context-program): New function.
+       (epg-context-home-directory): New function.
+       (epg-context-set-program): New function.
+       (epg-context-set-home-directory): New function.
+       (epg--start): Use `epg-context-program' instead of
+       'epg-gpg-program'.
+       (epg--list-keys-1): Likewise.
+
+2013-06-24  Leo Liu  <sdl.web@gmail.com>
+
+       * ido.el (ido-read-internal): Fix bug#14620.
+
+2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * faces.el (face-documentation): Simplify.
+       (read-face-attribute, tty-find-type, x-resolve-font-name):
+       Use `string-match-p'.
+       (list-faces-display): Use `string-match-p'.  Simplify.
+       (face-spec-recalc): Check face to avoid face alias loops.
+       (read-color): Use `string-match-p' and non-capturing parenthesis.
+
+2013-06-23  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-rescale-image): Use the new
+       :max-width/:max-height functionality.
+
+2013-06-23  Ivan Kanis  <ivan@kanis.fr>
+
+       * net/eww.el (eww-search-prefix): New variable.
+       (eww): Use it.
+       (eww-external-browser): New variable.
+       (eww-mode-map): New keystroke.
+       (eww-browse-with-external-browser): New command.
+
+       * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
+
+2013-06-23  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
+       Don't skip aligning the next header field when padding is 0;
+       otherwise, field width is not respected unless the title is as
+       wide as the field.
+
+2013-06-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/package.el (package-el-version): Remove.
+       (package-process-define-package): Fix inf-loop.
+       (package-install): Allow symbols as arguments again.
+
+2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
+       add some more keyword-like methods.
+       http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
+
+2013-06-22  Juanma Barranquero  <lekktu@gmail.com>
+
+       * bs.el (bs-buffer-show-mark): Make defvar-local.
+       (bs-mode): Use setq-local.
+
+       * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
+       (emacs-lock--try-unlocking): Make defvar-local.
+
+2013-06-22  Glenn Morris  <rgm@fencepost.gnu.org>
+
+       * play/cookie1.el (cookie-apropos): Minor simplification.
+
+       * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
+
+2013-06-22  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (auto-mode-alist): Do not use
+       `regexp-opt', it breaks the build during dumping.
+
 2013-06-21  Dmitry Gutov  <dgutov@yandex.ru>
 
-       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
-       keyword-like methods on Kernel and Module with
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords):
+       Highlight keyword-like methods on Kernel and Module with
        font-lock-builtin-face.
+       (auto-mode-alist): Consolidate different entries into one regexp
+       and add more *file-s.
 
 2013-06-21  Stephen Berman  <stephen.berman@gmx.net>
 
 
 2013-06-19  Michael Albinus  <michael.albinus@gmx.de>
 
-       * net/secrets.el (secrets-struct-secret-content-type): Replace
-       check of introspection data by a test call of "CreateItem".
+       * net/secrets.el (secrets-struct-secret-content-type):
+       Replace check of introspection data by a test call of "CreateItem".
        Some servers do not offer introspection.
 
 2013-06-19  Stefan Monnier  <monnier@iro.umontreal.ca>
 
        * 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.