Commit ChangeLog changes. (They weren't committed on the previous
[bpt/emacs.git] / lisp / ChangeLog
index bfca3f0..5c81102 100644 (file)
@@ -1,8 +1,527 @@
+2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todos.el (todos-file-do, todos-file-done):
+       Change default location to directory "~/.emacs.d/".
+       (todos-completion-ignore-case, todos-categories-buffer):
+       New defcustoms.
+       (todos-prefix-string, todos-item-header): New faces.
+       (todos-prefix-face, todos-item-header-face): Corresponding
+       new variables.
+       (todos-rename-category, todos-delete-category)
+       (todos-display-categories, todos-move-item): New commands.
+       (todos-mode-map): Add key bindings for new commands and for
+       todos-add-category, which had no key binding.
+       (todos-jump-to-category-noninteractively): New function.
+       (todos-top-priorities): Comment out code using a previously
+       deleted variable.
+       (todos-completing-read): Allow SPC to insert a space when entering
+       a new category name; use todos-completion-ignore-case.
+       (todos-font-lock-keywords, todos-window-configuration):
+       New variables.
+       (todos-mode): Make mode-name "TODOS"; make font-lock-defaults,
+       word-wrap, and wrap-prefix local variables.
+
+2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todos.el (todos-list-categories): Fix typos.
+       (todos-show): Ensure file is in todos-mode.
+
+2012-09-12  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todos.el (todos-header): Remove defvar.
+       (todos-add-category): Comment out code that inserts and updates
+       the file local variables first line of the file todos-file-do.
+       (todos-list-categories): New function.
+       (todos-show): Use it; remove use of a previously deleted variable.
+
+2012-09-11  Stephen Berman  <stephen.berman@gmx.net>
+
+       * calendar/todos.el: New file.  This is a copy of todo-mode.el
+       from revision 94343 except for the following changes: replace all
+       occurrences of the namespace prefix "todo-" with "todos-", delete
+       the defvar todo-cats (the old name of todo-categories) and its use
+       in todos-add-category, delete all defaliases of old command names.
+
+2012-09-11  Bastien Guerry  <bzg@gnu.org>
+
+       * subr.el (set-temporary-overlay-map): Add a docstring.
+       (bug#12346)
+
+2012-09-11  Bastien Guerry  <bzg@gnu.org>
+
+       * minibuffer.el (completion-table-subvert): Fix docstring.
+       (bug#12347)
+
+2012-09-11  Bastien Guerry  <bzg@gnu.org>
+
+       * help-fns.el (describe-variable): Fix typo. (bug#12346)
+
+2012-09-10  Michael R. Mauger  <mmaug@yahoo.com>
+
+       * progmodes/sql.el: Version 3.1
+       (sql-db2-escape-newlines): New variable.
+       (sql-escape-newlines-filter): Use it.
+
+2012-09-10  Juanma Barranquero  <lekktu@gmail.com>
+
+       * custom.el (custom-theme-load-confirm): Remove unneeded assignment.
+
+2012-09-10  Dan Nicolaescu  <dann@gnu.org>
+
+       * vc/diff-mode.el (diff-mode-menu): Bind
+       diff-remove-trailing-whitespace.
+
+2012-09-10  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/lisp-mode.el (emacs-list-byte-code-comment-re): New var.
+       (emacs-lisp-byte-code-comment)
+       (emacs-lisp-byte-code-syntax-propertize, emacs-lisp-byte-code-mode):
+       New functions.
+       (eval-sexp-add-defvars): Don't skip defvars in column >0.
+       (eval-defun-2): Remove bogus interactive spec.
+       (lisp-indent-line): Remove redundant whole-exp code, now done in
+       indent-according-to-mode.
+       (save-match-data): Remove redundant indent data.
+
+       * emacs-lisp/benchmark.el (benchmark-run, benchmark-run-compiled):
+       Use `declare'.
+
+2012-09-09  Juri Linkov  <juri@jurta.org>
+
+       * replace.el (replace-regexp-lax-whitespace): New defcustom.
+       (replace-lax-whitespace, query-replace-regexp)
+       (query-replace-regexp-eval, replace-regexp): Doc fix.
+       (perform-replace, replace-highlight): Let-bind
+       isearch-lax-whitespace to replace-lax-whitespace and
+       isearch-regexp-lax-whitespace to replace-regexp-lax-whitespace.
+
+       * isearch.el (isearch-query-replace): Let-bind
+       replace-lax-whitespace to isearch-lax-whitespace and
+       replace-regexp-lax-whitespace to
+       isearch-regexp-lax-whitespace.  (Bug#10885)
+
+2012-09-09  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * eshell/em-unix.el (eshell/sudo): Explicitly drop return value.
+
+2012-09-09  Alan Mackenzie  <acm@muc.de>
+
+       * progmodes/cc-engine.el (c-state-cache-init):
+       Initialise c-state-semi-nonlit-pos-cache\(-limit\)? properly.
+       (c-record-parse-state-state):
+       Record c-state-semi-nonlit-pos-cache\(-limit\)?.
+
+2012-09-09  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * register.el (register-separator): Rename from
+       separator-register.  All uses changed.  Doc fix.
+       (register): Fix version.
+
+2012-09-09  Chong Yidong  <cyd@gnu.org>
+
+       * replace.el (query-replace-map): Bind four new symbols for
+       requesting window scrolling.
+
+       * subr.el (y-or-n-p): Handle the window-scrolling bindings in
+       query-replace-map (Bug#8948).
+
+       * custom.el (custom-theme-load-confirm): Use y-or-n-p.
+
+       * emacs-lisp/map-ynp.el (map-y-or-n-p): Don't bind scrolling keys
+       since they are now in query-replace-map.
+
+       * window.el (scroll-other-window-down): Make the arg optional.
+
+2012-09-09  Chong Yidong  <cyd@gnu.org>
+
+       * files.el (hack-local-variables-confirm): Use quit-window to kill
+       the *Local Variables* buffer.
+
+2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-toggle-block): Guess the current block,
+       not just expect to be at its beginning.  Adjust callees.
+       Succeed when do-end block has no space before the pipe character.
+       (ruby-brace-to-do-end): When the original block is one-liner,
+       convert to multiline.  Reindent the result.
+
+2012-09-08  Jambunathan K  <kjambunathan@gmail.com>
+
+       * register.el (register): New group.
+       (register-separator): New user option.
+       (increment-register): Route it to `append-to-register', if
+       register contains text.  Implication is that `C-x r +' can now be
+       used for appending to a text register (bug#12217).
+       (append-to-register, prepend-to-register): Add separator based on
+       `register-separator.
+
+2012-09-08  Alan Mackenzie  <acm@muc.de>
+
+       AWK Mode: make auto-newline work when there's "==" in the pattern.
+       * progmodes/cc-cmds.el (c-point-syntax): Handle virtual semicolons
+       correctly.
+       * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5A.3):
+       Test more rigorously for "=" token.
+
+2012-09-08  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-match-expression-expansion):
+       Only fail when reached LIMIT.
+
+2012-09-08  Chong Yidong  <cyd@gnu.org>
+
+       * dired.el (dired-mode-map): Don't bind M-=.
+
+       * dired-aux.el (dired-diff): Use backup file as default.
+
+2012-09-08  Drew Adams  <drew.adams@oracle.com>
+
+       * subr.el (add-to-history): Fix delete usage (Bug#12314).
+
+2012-09-08  Chong Yidong  <cyd@gnu.org>
+
+       * subr.el (syntax-after, syntax-class): Doc fix.
+
+2012-09-08  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (display-buffer-in-previous-window): New buffer
+       display action function.
+
+       * emacs-lisp/debug.el (debugger-bury-or-kill): New option.
+       (debugger-previous-window): New variable.
+       (debug): Rewrite using display-buffer-in-previous-window,
+       quit-restore-window and debugger-bury-or-kill.  (Bug#8789)
+
+2012-09-07  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/byte-run.el (defun): Tweak message.  Simplify code.
+
+2012-09-07  Matt McClure  <mlm@aya.yale.edu>  (tiny change)
+
+       * progmodes/python.el (python-shell-send-string):
+       When default-directory is remote, create temp file on remote
+       filesystem.
+       (python-shell-send-file): When file is remote, pass local view of
+       file paths to remote Python interpreter.  (Bug#12340)
+
+2012-09-07  Chong Yidong  <cyd@gnu.org>
+
+       * window.el (switch-to-buffer): Doc fix (Bug#12181).
+
+       * files.el (after-find-file): Don't fail on a read-only buffer if
+       require-final-newline is `visit' or `visit-save' (Bug#11156).
+
+       * subr.el (read-char-choice): Allow quitting via ESC ESC.
+
+       * userlock.el (ask-user-about-supersession-threat):
+       Use read-char-choice (Bug#12093).
+
+2012-09-07  Chong Yidong  <cyd@gnu.org>
+
+       * subr.el (buffer-narrowed-p): New function.
+
+       * ses.el (ses-widen):
+       * simple.el (count-words--buffer-message):
+       * net/browse-url.el (browse-url-of-buffer): Use it
+
+       * simple.el (count-words-region): Don't signal an error if there
+       is a non-nil prefix arg and the mark is not set.
+
+       * help.el (describe-key-briefly): Allow the message to be seen
+       when invoked from the minibuffer (Bug#7014).
+
+2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-end-of-defun)
+       (ruby-beginning-of-defun): Simplify, allow indentation before
+       block beginning and end keywords.
+       (ruby-beginning-of-defun): Only consider 3 keywords defun beginners.
+       (ruby-end-of-defun): Expect that the point is at the beginning of
+       the defun.
+
+2012-09-06  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/cl-macs.el (cl--do-arglist): Understand _ on &key args
+       (bug#12367).
+       (cl--make-usage-args): Strip _ from argument names.
+
+2012-09-06  RĂ¼diger Sonderfeld  <ruediger@c-plusplus.de>
+
+       * progmodes/vhdl-mode.el (vhdl-speedbar-initialize): Don't use
+       obsolete alias speedbar-key-map.
+       (vhdl-doc-variable, vhdl-doc-mode): Use called-interactively-p.
+       (vhdl-index-menu-init): Don't use obsolete variable
+       font-lock-maximum-size.
+
+2012-09-06  Chong Yidong  <cyd@gnu.org>
+
+       * frame.el (window-system-version): Mark as obsolete.
+
+       * speedbar.el (speedbar-update-flag, speedbar-mode): Remove uses
+       of obsolete variable speedbar-key-map.
+
+2012-09-06  Juri Linkov  <juri@jurta.org>
+
+       * replace.el (replace-lax-whitespace): New defcustom.
+       (query-replace, query-replace-regexp, query-replace-regexp-eval)
+       (replace-string, replace-regexp): Mention it in docstrings.
+       (perform-replace, replace-highlight): Let-bind
+       isearch-lax-whitespace and isearch-regexp-lax-whitespace according
+       to the values of replace-lax-whitespace and regexp-flag.
+       Don't let-bind search-whitespace-regexp.  (Bug#10885)
+
+       * isearch.el (isearch-query-replace): Let-bind
+       replace-lax-whitespace instead of let-binding
+       replace-search-function and replace-re-search-function.
+       (isearch-lazy-highlight-search): Let-bind isearch-lax-whitespace
+       and isearch-regexp-lax-whitespace to lazy-highlight variables.
+       (isearch-toggle-symbol): Set isearch-regexp to nil
+       in isearch-word mode (like in isearch-toggle-word).
+
+2012-09-06  Juri Linkov  <juri@jurta.org>
+
+       * replace.el (replace-search-function)
+       (replace-re-search-function): Set default values to nil.
+       (perform-replace): Let-bind isearch-related variables based on
+       replace-related values, call `isearch-search-fun' and let-bind
+       the result to `search-function'.  Remove code that sets
+       `search-function' and `search-string' separately for
+       `delimited-flag'.
+       (replace-highlight): Add new argument `delimited-flag' and
+       rename other arguments to the names used in `perform-replace'.
+       Let-bind `isearch-word' to the argument `delimited-flag'.
+       (Bug#10885, bug#10887)
+
+2012-09-07  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el (ruby-indent-beg-re): Add pieces from
+       ruby-beginning-of-indent, simplify, allow all keywords to have
+       indentation before them.
+       (ruby-beginning-of-indent): Adjust for above.  Search until the
+       found point is not inside a string or comment.
+       (ruby-font-lock-keywords): Allow symbols to start with "@"
+       character, give them higher priority than variables.
+       (ruby-syntax-propertize-function)
+       (ruby-font-lock-syntactic-keywords): Remove the "not comments"
+       matchers.  Expression expansions are not comments when inside a
+       string, and there comment syntax status is irrelevant.
+       (ruby-match-expression-expansion): New function.  Check that
+       expression expansion is inside a string, and it's not escaped.
+       (ruby-font-lock-keywords): Use it.
+
+2012-09-05  Martin Rudalics  <rudalics@gmx.at>
+
+       * help.el (temp-buffer-max-height): New default value.
+       (temp-buffer-resize-frames): New option.
+       (resize-temp-buffer-window): Optionally resize frame.
+
+       * window.el (fit-frame-to-buffer-bottom-margin): New option.
+       (fit-frame-to-buffer): New function.
+
+2012-09-05  Glenn Morris  <rgm@gnu.org>
+
+       * emulation/cua-rect.el (cua--init-rectangles):
+       * textmodes/picture.el (picture-mode-map):
+       * play/blackbox.el (blackbox-mode-map): Remap right-char and left-char
+       like forward-char and backward-char.  (Bug#12317)
+
+2012-09-05  Leo Liu  <sdl.web@gmail.com>
+
+       * progmodes/flymake.el (flymake-warning-re): New variable.
+       (flymake-parse-line): Use it.
+
+2012-09-05  Glenn Morris  <rgm@gnu.org>
+
+       * calendar/holidays.el (holiday-christian-holidays):
+       Rename an entry.  (Bug#12289)
+
+2012-09-05  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * progmodes/sh-script.el (sh-font-lock-paren): Don't burp at BOB
+       (bug#12222).
+
+2012-09-04  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * loadup.el: Load macroexp.  Remove hack.
+       * emacs-lisp/macroexp.el (macroexp--eval-if-compile): New function.
+       (macroexp--expand-all): Use it to get better warnings.
+       (macroexp--backtrace, macroexp--trim-backtrace-frame)
+       (internal-macroexpand-for-load): New functions.
+       (macroexp--pending-eager-loads): New var.
+       (emacs-startup-hook): New hack to replace one in loadup.el.
+       * emacs-lisp/cl-macs.el (cl--compiler-macro-list*)
+       (cl--compiler-macro-cXXr): Move to top, before they can be used.
+       (cl-psetf): Simplify.
+       (cl-defstruct): Add indent rule.
+
+2012-09-04  Lars Ingebrigtsen  <larsi@gnus.org>
+
+       * mail/smtpmail.el (smtpmail-send-it): Prefer the From: header
+       over `user-mail-address' for the SMTP MAIL FROM envelope.
+       (smtpmail-via-smtp): Ditto.
+
+2012-09-04  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * progmodes/ruby-mode.el: Clean up keybindings.
+       (ruby-mode-map): Don't bind ruby-electric-brace,
+       ruby-beginning-of-defun, ruby-end-of-defun, ruby-mark-defun,
+       backward-kill-word, reindent-then-newline-and-indent.
+       (ruby-mark-defun): Remove.
+       (ruby-electric-brace): Remove.  Obsoleted by electric-indent-chars.
+       (ruby-mode): Set local beginning-of-defun-function and
+       end-of-defun-function values.
+
+2012-09-03  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (temp-buffer-window-setup-hook)
+       (temp-buffer-window-show-hook): New hooks.
+       (temp-buffer-window-setup, temp-buffer-window-show)
+       (with-temp-buffer-window): New functions.
+       (fit-window-to-buffer): Remove unused optional argument OVERRIDE.
+       (special-display-popup-frame): Make sure the window used shows BUFFER.
+
+       * help.el (temp-buffer-resize-mode): Fix doc-string.
+       (resize-temp-buffer-window): New optional argument WINDOW.
+
+       * files.el (recover-file, save-buffers-kill-emacs):
+       * dired.el (dired-mark-pop-up): Use with-temp-buffer-window.
+
+2012-09-02  Michael Albinus  <michael.albinus@gmx.de>
+
+       * eshell/em-unix.el (eshell/sudo): When we have an ad-hoc
+       remote definition of `default-directory', ensure we can connect.
+
+2012-09-02  Juri Linkov  <juri@jurta.org>
+
+       Toggle whitespace matching mode with M-s SPC.
+       http://lists.gnu.org/archive/html/emacs-devel/2012-09/msg00008.html
+
+       * isearch.el (search-whitespace-regexp): Doc fix.
+       Remove cons cell customization.
+       (isearch-mode-map): Bind "\M-s " to isearch-toggle-lax-whitespace.
+       (isearch-lax-whitespace, isearch-regexp-lax-whitespace):
+       New variables.
+       (isearch-forward, isearch-forward-regexp): Doc fix.
+       (isearch-toggle-lax-whitespace): New command.
+       (search-forward-lax-whitespace, search-backward-lax-whitespace)
+       (re-search-forward-lax-whitespace)
+       (re-search-backward-lax-whitespace): New functions.
+       (isearch-whitespace-regexp): Remove function.
+       (isearch-query-replace): Let-bind replace-search-function and
+       replace-re-search-function.
+       (isearch-occur): Let-bind search-spaces-regexp according to the
+       value of isearch-lax-whitespace and isearch-regexp-lax-whitespace.
+       (isearch-quote-char): Check isearch-regexp-lax-whitespace in the
+       condition for C-q SPC.
+       (isearch-search-fun-default): Use new functions mentioned above.
+       (isearch-search-forward, isearch-search-backward): Remove functions.
+       (isearch-search): Don't let-bind search-spaces-regexp.
+       (isearch-lazy-highlight-space-regexp): Remove variable.
+       (isearch-lazy-highlight-lax-whitespace)
+       (isearch-lazy-highlight-regexp-lax-whitespace): New variables.
+       (isearch-lazy-highlight-new-loop): Use them.
+       (isearch-lazy-highlight-search): Don't let-bind search-spaces-regexp.
+
+2012-09-02  Chong Yidong  <cyd@gnu.org>
+
+       * dired.el (dired-mode-map): Menu string fixes (Bug#11616).
+
+2012-09-02  Glenn Morris  <rgm@gnu.org>
+
+       * simple.el (undo): Tweak message in undo-only case.  (Bug#12283)
+
+2012-09-01  Glenn Morris  <rgm@gnu.org>
+
+       * term.el: Tidy up menu definitions.
+       (term-mode-map): Use easymenu for In/Out, Complete menus.
+       (term-pager-break-map): Initialize in the defvar.
+       (term-terminal-menu, term-signals-menu): Define with easymenu.
+       (term-terminal-menu): Also show it in line-mode.  (Bug#11957)
+       (term-pager-menu): New, extracted from term-process-pager.
+       (term-mode, term-char-mode, term-process-pager): Use easymenu-add.
+       (term-update-mode-line): Propertize line/char and page items.
+       (term-process-pager): Move keymap initialization elsewhere.
+
+2012-09-01  Martin Rudalics  <rudalics@gmx.at>
+
+       * window.el (switch-to-prev-buffer): Handle additional values of
+       BURY-OR-KILL argument.  Don't switch in minibuffer window.
+       (switch-to-next-buffer): Don't switch in minibuffer window.
+       (quit-restore-window): New function based on quit-window.
+       Handle additional values of former KILL argument.
+       (quit-window): Call quit-restore-window with appropriate
+       interpretation of KILL argument.
+       (display-buffer-below-selected): New buffer display action
+       function.
+
+2012-09-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * minibuffer.el (completion-at-point-functions): Complete docstring
+       (bug#12254).
+
+2012-09-01  Paul Eggert  <eggert@cs.ucla.edu>
+
+       Better seed support for (random).
+       * play/5x5.el, play/animate.el, play/cookie1.el, play/dissociate.el:
+       * play/doctor.el, play/dunnet.el, play/gomoku.el, play/landmark.el:
+       * play/mpuz.el, play/tetris.el, play/zone.el:
+       * calc/calc-comb.el (math-init-random-base):
+       * play/blackbox.el (bb-init-board):
+       * play/life.el (life):
+       * server.el (server-use-tcp):
+       * type-break.el (type-break):
+       Remove unnecessary call to (random t).
+       * net/sasl.el (sasl-unique-id-function):
+       Change (random t) to (random), now that the latter is more random.
+       * play/life.el (life-initialized): Remove no-longer-needed var.
+
+2012-08-31  Alp Aker  <alp.tekin.aker@gmail.com>
+
+       * window.el (switch-to-prev-buffer, switch-to-next-buffer):
+       Consider frame's buffer predicate when choosing the buffer.
+       (Bug#12081)
+
+2012-08-30  Richard Stallman  <rms@gnu.org>
+
+       * simple.el (special-mode-map): Delete binding for `z'.
+
+2012-08-30  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * progmodes/compile.el (compilation-always-kill): Doc fix.
+
+2012-08-30  Chong Yidong  <cyd@gnu.org>
+
+       * window.el (display-buffer-reuse-frames): Make the obsolescence
+       message more informative.
+
+2012-08-30  Glenn Morris  <rgm@gnu.org>
+
+       * paren.el (show-paren-delay):
+       Add a :set function.  Doc fix.  (Bug#12297)
+
+2012-08-29  Martin Blais  <blais@furius.ca>  (tiny change)
+
+       * progmodes/compile.el (compilation-always-kill): New var.
+       (compilation-start): Use it.
+
+2012-08-29  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * simple.el (read-only-mode): Move from files.el for bootstrapping.
+       * files.el (read-only-mode): Move to simple.el.
+
+       * files.el (read-only-mode): New minor mode.
+       (toggle-read-only): Use it and mark obsolete.
+       (find-file--read-only):
+       * vc/vc.el (vc-next-action, vc-checkout):
+       * vc/vc-cvs.el (vc-cvs-checkout):
+       * obsolete/vc-mcvs.el (vc-mcvs-update):
+       * ffap.el (ffap--toggle-read-only): Update callers.
+
 2012-08-29  Michael Albinus  <michael.albinus@gmx.de>
 
        * eshell/esh-ext.el (eshell-external-command): Do not examine
-       remote shell scripts.  See
-       <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
+       remote shell scripts.
+       See <https://bugs.launchpad.net/ubuntu/+source/emacs23/+bug/1035790>.
 
        * net/tramp-sh.el (tramp-remote-path): Add "/sbin" and
        "/usr/local/sbin".