* info.el (info-other-window): New arg, for consistency with info.
[bpt/emacs.git] / lisp / ChangeLog
index 0f4eaff..29d8462 100644 (file)
@@ -1,3 +1,359 @@
+2012-12-29  Damien Cassou  <damien.cassou@gmail.com>
+
+       * info.el (info-other-window): 
+
+2012-12-28  Martin Rudalics  <rudalics@gmx.at>
+
+       * mail/rmail.el (rmail-maybe-display-summary): Rewrite
+       (Bug#13066).
+
+2012-12-28  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * epg.el (epg--start): Modify process-environment locally.
+
+2012-12-28  Daiki Ueno  <ueno@gnu.org>
+
+       * epg.el: Support pinentry-curses.
+       Suggested by Werner Koch in
+       <http://lists.gnu.org/archive/html/emacs-devel/2007-02/msg00755.html>.
+       (epg-agent-file, epg-agent-mtime): New variable.
+       (epg--start): Record the modified time of gpg-agent socket file,
+       to restore Emacs frame after pinentry-curses termination.
+       (epg-wait-for-completion): Restore Emacs frame here.
+
+2012-12-27  Juri Linkov  <juri@jurta.org>
+
+       * info.el (Info-file-completions): New variable.
+       (Info-read-node-name-1): Complete node names in the Info file
+       when a file name is given.  Call `Info-build-node-completions'
+       with a file name.
+       (Info-build-node-completions): Add new arg `file'.  When it is
+       non-nil, visit it in a temporary buffer and cache its completions in
+       `Info-current-file-completions'.  Move most of the function body to
+       `Info-build-node-completions-1'.
+       (Info-build-node-completions-1): New function with the body from
+       `Info-build-node-completions'.  (Bug#12456)
+
+2012-12-27  Juri Linkov  <juri@jurta.org>
+
+       * frame.el (frame-maximization-style): Remove user option.
+       (cycle-frame-maximized): Remove function.
+       (toggle-frame-maximized): Rewrite and bind to M-<f10>.
+       (toggle-frame-fullscreen): New command bound to <f11> instead of
+       `toggle-frame-maximized'.
+       http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html
+
+2012-12-27  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun.
+
+       * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
+       * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
+       * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
+       for `file-accessible-directory-p'.  (Bug#13275)
+
+2012-12-27  Sam Steingold  <sds@gnu.org>
+
+       * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger
+       continuations, see <http://stackoverflow.com/questions/3582436>.
+
+2012-12-27  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class",
+       "module" and "def" to have indentation before them.  Regression
+       from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test).
+
+       * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200).
+
+2012-12-27  Alan Mackenzie  <acm@muc.de>
+
+       Speed up fontification where there's large brace blocks.
+       * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit
+       to a call of c-beginning-of-decl-1.
+
+2012-12-27  Vitalie Spinu  <spinuvit@gmail.com>  (tiny change)
+
+       * comint.el (comint-adjust-window-point): New function.
+       (comint-postoutput-scroll-to-bottom): Call
+       comint-adjust-window-point (Bug#13248).
+
+2012-12-26  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the
+       Rakefile regexp.
+       (auto-mode-alist): Associate .gemspec files with ruby-mode
+       (https://bugs.ruby-lang.org/issues/5453).
+
+2012-12-26  Jürgen Hötzel  <juergen@archlinux.org>
+
+       * net/tramp-adb.el (tramp-adb-get-ls-command): New defun.  Suppress
+       coloring, if possible (required for BusyBox based systems like
+       CynagenMod).
+       (tramp-adb-handle-file-attributes)
+       (tramp-adb-handle-insert-directory)
+       (tramp-adb-handle-file-name-all-completions): Use it.
+       (tramp-adb-get-toolbox): New defun.  Check for remote shell
+       implementation (BusyBox or Toolbox).
+
+2012-12-24  Constantin Kulikov <zxnotdead@gmail.com>  (tiny change)
+
+       * startup.el (initial-buffer-choice): Allow function as value
+       (Bug#13251).
+       (command-line-1): Handle case where initial-buffer-choice
+       specifies a function.
+       * server.el (server-execute): Handle case where
+       initial-buffer-choice specifies a function.
+
+2012-12-24  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into
+       its own function.
+       (smtpmail-try-auth-methods): Forget the user name/password if the
+       login is unsuccessful (bug#12424).
+
+2012-12-22  Michael Albinus  <michael.albinus@gmx.de>
+
+       * notifications.el (notifications-notify): Protect body with
+       `with-demoted-errors'.
+
+       * net/tramp-adb.el (tramp-adb-maybe-open-connection): Check
+       properties of remote device.  Restart connection, if there is a
+       change.
+
+2012-12-21  Chong Yidong  <cyd@gnu.org>
+
+       * sort.el (sort-subr): Doc fix (Bug#13056).
+
+2012-12-21  Bastien Guerry  <bzg@gnu.org>
+
+       * progmodes/etags.el (tags-search): Fix typo.  Bug #13232.
+
+2012-12-21  Michael Albinus  <michael.albinus@gmx.de>
+
+       * simple.el (process-file): Overwrite stderr file, if exists.
+
+2012-12-21  Daiki Ueno  <ueno@gnu.org>
+
+       * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer.
+       (epg-error): Set `error-message' property.
+
+2012-12-21  Chong Yidong  <cyd@gnu.org>
+
+       * international/mule-cmds.el (read-char-by-name): Signal an error
+       if the user does not supply a valid character (Bug#13177).
+
+       * simple.el (transpose-subr-1): Preserve marker positions by
+       changing the insertion sequence (Bug#13122).
+
+2012-12-21  Kelly Dean  <kellydeanch@yahoo.com>  (tiny change)
+
+       * simple.el (kill-region): Deactivate mark even for empty regions
+       (Bug#13169).
+
+2012-12-21  Chong Yidong  <cyd@gnu.org>
+
+       * help-fns.el (describe-variable): Make sure we get the right
+       buffer name (Bug#13105).  Suggested by Kelly Dean.
+
+2012-12-20  Michael R. Mauger  <mmaug@yahoo.com>
+
+       * comint.el (comint-redirect-previous-input-string): New variable.
+       (comint-redirect-setup, comint-redirect-cleanup)
+       (comint-redirect-preoutput-filter): Use it.  Fixes redirection bug.
+       (comint-redirect-preoutput-filter): Fix verbose message.
+
+2012-12-20  Michael Albinus  <michael.albinus@gmx.de>
+
+       * progmodes/grep.el (rgrep): Escape command line.  Sometimes, it
+       is too long for Tramp.  See discussion in
+       <http://thread.gmane.org/gmane.emacs.tramp/8233/focus=8244>.
+
+       * progmodes/compile.el (compilation-start): Remove line escape
+       template.
+
+2012-12-20  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'.
+       Adjust comment.
+
+2012-12-19  Jonas Bernoulli  <jonas@bernoul.li>
+
+       * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the
+       following non-comment text (bug#13207).
+       (lm-header-multiline): Continuation lines need to be indented more than
+       the first line.
+       (lm-homepage): New function.
+       (lm-with-file): Don't be confused if narrowing is in effect.
+
+       * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the
+       very beginning of a hunk (e.g. killing the first line).
+
+2012-12-19  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines
+       and text properties from returned ACL string.
+       (tramp-sh-handle-set-file-acl): Do not use additional parentheses
+       for "setfacl" command.
+
+2012-12-18  Michael Albinus  <michael.albinus@gmx.de>
+
+       * net/tramp.el (tramp-error-with-buffer): Give a hint to use
+       `tramp-cleanup-this-connection', when the process has died.
+       (Bug#13151)
+
+2012-12-17  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * icomplete.el (icomplete-completions): Also use … to truncate prefix.
+
+2012-12-17  Kevin Ryde  <user42@zip.com.au>
+
+       * files.el (auto-save-file-name-p): Use \` and \' (bug#13186).
+
+2012-12-17  Michael Albinus  <michael.albinus@gmx.de>
+
+       Add support for preserving ACL entries of files.
+
+       * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and
+       `set-file-acl' handlers.
+
+       * net/tramp-adb.el (tramp-adb-handle-copy-file):
+       Handle PRESERVE-EXTENDED-ATTRIBUTES.
+
+       * net/tramp-compat.el (tramp-compat-copy-file):
+       Handle PRESERVE-EXTENDED-ATTRIBUTES.
+
+       * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
+       Add `file-acl' and `set-file-acl' handlers.
+       (tramp-gvfs-handle-copy-file):
+       Handle PRESERVE-EXTENDED-ATTRIBUTES.
+       (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl):
+       New defuns.
+
+       * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
+       Add `file-acl' and `set-file-acl' handlers.
+       (tramp-remote-acl-p, tramp-sh-handle-file-acl)
+       (tramp-sh-handle-set-file-acl): New defuns.
+       (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file):
+       Handle PRESERVE-EXTENDED-ATTRIBUTES.
+
+       * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
+       Add `file-acl' and `set-file-acl' handlers.
+       (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES.
+
+2012-12-17  Kelly Dean  <kellydeanch@yahoo.com> (tiny change)
+
+       * help-macro.el (make-help-screen): Instead of switch-to-buffer
+       use pop-to-buffer with NORECORD argument t.  As buffer name, use
+       *Metahelp* with a leading space (Bug#13190).
+
+2012-12-16  Romain Francoise  <romain@orebokech.com>
+
+       * files.el (file-extended-attributes)
+       (set-file-extended-attributes): New functions.
+       (backup-buffer): Use them to handle both SELinux context and ACL
+       entries.
+       (backup-buffer-copy): Work with an alist of extended attributes,
+       rather than an SELinux context.
+       (basic-save-buffer-2): Ditto.
+
+2012-12-16  Timo Myyrä  <timo.myyra@gmail.com>
+
+       * battery.el (battery-bsd-apm): New function.
+
+2012-12-16  Jay Belanger  <jay.p.belanger@gmail.com>
+
+       * calc/calc.el (calc-standard-date-formats): Adjust one of the
+       standard date formats.
+
+2012-12-15  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to
+       `isearch-insert-char-by-name'.
+       (with-isearch-suspended): New defmacro with body mostly from
+       `isearch-edit-string' except the part that sets
+       `isearch-new-string' and `isearch-new-message'.
+       (isearch-edit-string): Use new macro `with-isearch-suspended' with
+       body that sets `isearch-new-string' and `isearch-new-message'.
+       (isearch-insert-char-by-name): New command.
+       * international/mule-cmds.el (read-char-by-name): Let-bind
+       `enable-recursive-minibuffers' to t.
+       http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html
+
+2012-12-15  Juri Linkov  <juri@jurta.org>
+
+       * isearch.el (isearch-delete-char, isearch-del-char): Doc fix.
+       (Bug#13175)
+
+2012-12-15  Christopher Schmidt  <christopher@ch.ristopher.com>
+
+       * dired-x.el (dired-guess-shell-command): Put colon at the end of
+       the prompt.  (Bug#13045)
+
+2012-12-14  Glenn Morris  <rgm@gnu.org>
+
+       * emacs-lisp/macroexp.el (macroexp--warn-and-return):
+       Try to include filename in non-bytecomp warning.  (Bug#13132)
+
+2012-12-14  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Fix permissions bugs with setgid directories etc. (Bug#13125)
+       * files.el (backup-buffer): Don't rely on 9th output of
+       file-attributes, as it's now a placeholder.  Instead, use the new
+       optional arg of file-ownership-preserved-p.
+       (file-ownership-preserved-p): New optional arg GROUP.
+       Fix mishandling of setuid directories that would cause this
+       function to return t when it should have returned nil.
+       Document what happens if the file does not exist, and when
+       it's not known whether the ownership will be preserved.
+       * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p):
+       Likewise.
+       (tramp-get-local-gid): Use group-gid for integer, as that's
+       faster and more reliable.
+
+2012-12-14  Julien Danjou  <julien@danjou.info>
+
+       * progmodes/sql.el (sql-mode-postgres-font-lock-keywords):
+       Update keywords list, data type and PL/pgSQL.
+
+2012-12-14  Dave Abrahams  <dave@boostpro.com>
+
+       * vc/ediff-util.el (ediff-buffer-type): New function.
+       (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type
+       rather than taking it as as argument.
+       (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319).
+
+2012-12-14  Ryan Crum  <ryan.crum@eleostech.com>
+
+       * json.el: Add pretty-print option (bug#12634).
+       (json-encoding-separator, json-encoding-default-indentation)
+       (json--encoding-current-indentation, json-encoding-pretty-print)
+       (json-encoding-lisp-style-closings): New vars.
+       (json--with-indentation): New macro.
+       (json-encode-hash-table, json-encode-alist, json-encode-plist)
+       (json-encode-array): Use it to obey json-encoding-pretty-print.
+       (json-pretty-print-buffer, json-pretty-print): New commands.
+
+2012-12-14  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
+       Extract `ruby-syntax-propertize-expansions'.
+       (ruby-syntax-propertize-expansions): Only change syntax on
+       certain string delimiters, to punctuation.  This way the common
+       functions like forward-word and thing-at-point still work.
+       (ruby-match-expression-expansion): Improve readability.
+       (ruby-block-contains-point): New function.
+       (ruby-add-log-current-method): Handle several edge cases.
+
+2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs-lisp/edebug.el (edebug-unload-function): Make sure that
+       unload-feature finishes even when aborting an ongoing edebug session.
+       Also, do not worry about edebug-mode, unload-feature takes care of it.
+
+2012-12-13  Andreas Schwab  <schwab@suse.de>
+
+       * net/tls.el (tls-program): Update customize type.
+
 2012-12-13  Juanma Barranquero  <lekktu@gmail.com>
 
        * emacs-lisp/edebug.el (edebug--require-cl-read): New function.