X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/f3ada0eeb5a6011eafa45bdce9abea5db46d4939..1b8b395447e2c4d417e98ec1656e357b15ecadeb:/lisp/ChangeLog diff --git a/lisp/ChangeLog b/lisp/ChangeLog index dae4cbf660..975cd34ba6 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,3 +1,435 @@ +2011-09-14 Stefan Monnier + + * newcomment.el (comment-add, comment-valid-prefix-p): Docfix. + + * mpc.el (mpc-constraints-tag-lookup): New function. + (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply + also to browser "album|playlist". + +2011-09-14 Juri Linkov + + * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix. + (isearch-edit-string): Use length of `isearch-string' when + `isearch-fail-pos' returns nil. + (isearch-message): Remove duplicate code and call + `isearch-fail-pos' with arg `t'. + +2011-09-14 Chong Yidong + + * replace.el (occur-mode-goto-occurrence): Don't force using other + window (Bug#9499). + + * dired-aux.el (dired-do-chmod): Don't provide initial input. + +2011-09-14 Martin Rudalics + + * window.el (display-buffer-window): Remove. + (display-buffer-record-window): Use help-setup window parameter + instead of variable display-buffer-window. + (display-buffer-function, special-display-buffer-names) + (special-display-function): Mention help-setup parameter instead + of display-buffer-window in doc-string. + * help.el (help-window-setup): New argument help-window. + Use help-window-setup parameter instead of display-buffer-window. + Reword some messages. + (with-help-window): Pass window used for displaying the buffer + to help-window-setup. Don't set display-buffer-window. + +2011-09-13 Glenn Morris + + * emacs-lisp/debug.el (debugger-make-xrefs): + Preserve point. (Bug#9462) + +2011-09-13 Chong Yidong + + * window.el (window-deletable-p): Use next-frame. + +2011-09-13 Martin Rudalics + + * window.el (window-auto-delete): Remove. + (window-deletable-p): Remove argument FORCE. Don't deal with + dedicatedness and previous buffers. + (switch-to-prev-buffer): Don't delete window. + (delete-windows-on): Delete a window's frame if and only if the + window is dedicated. + (replace-buffer-in-windows): Delete buffer's window or frame if + and only if window is dedicated. + (quit-window): Handle quit-restore as before last change. + (bury-buffer): Delete window only if window-deletable-p returns t. + +2011-09-13 Chong Yidong + + * window.el (window-deletable-p): Never delete the last frame on a + given terminal. + +2011-09-13 Glenn Morris + + * help.el (describe-key-briefly): Copy previous standard-output change. + +2011-09-13 PJ Weisberg (tiny change) + + * help.el (where-is): Respect non-standard standard-output. (Bug#9030) + +2011-09-13 Glenn Morris + + * emacs-lisp/lisp-mode.el (lisp-indent-function): + * progmodes/scheme.el (scheme-indent-function): Doc fixes. + +2011-09-12 Chong Yidong + + * dired-aux.el (dired-mark-read-string): Don't return default + value on empty input (Bug#9361). + (dired-do-chxxx): Treat empty input for "touch" as no -t option. + Omit initial minibuffer contents. + (dired-do-chmod): Signal an error on empty input. + (dired-mark-read-string): Don't return default on empty input. + + * files.el (file-modes-symbolic-to-number): Doc fix. + +2011-09-12 Stefan Monnier + + * international/mule-cmds.el (ucs-completions): Remove. + (read-char-by-name): Use complete-with-action instead; add metadata. + +2011-09-11 Chong Yidong + + * window.el (display-buffer--action-function-custom-type) + (display-buffer--action-custom-type): New vars. + (display-buffer-alist, display-buffer-default-action) + (display-buffer-overriding-action): Add defcustom types. + + * frame.el (delete-other-frames): Doc fix (Bug#276). + +2011-09-11 Lars Magne Ingebrigtsen + + * play/doctor.el (make-doctor-variables): Define `doctor-sent'. + +2011-09-11 Chong Yidong + + Change modes that used same-window-* vars to use switch-to-buffer. + + * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows): + Use switch-to-buffer. + + * cus-edit.el (customize-group, custom-buffer-create) + (customize-browse, custom-buffer-create-other-window): + Use switch-to-buffer or switch-to-buffer-other-window. + + * info.el (info, Info-find-node, Info-revert-find-node, Info-next) + (Info-prev, Info-up, Info-speedbar-goto-node) + (info-display-manual): Use switch-to-buffer. + (Info-speedbar-goto-node): Use switch-to-buffer-other-frame. + + * mail/sendmail.el (mail): Use switch-to-buffer. + (mail-recover): Use switch-to-buffer-other-window. + + * cmuscheme.el (run-scheme, switch-to-scheme): + * ielm.el (ielm): + * shell.el (shell): + * net/rlogin.el (rlogin): + * net/telnet.el (telnet, rsh): + * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer. + +2011-09-11 Andreas Schwab + + * dired.el (dired-sort-toggle-or-edit): Revert last changes. + +2011-09-11 Lars Magne Ingebrigtsen + + * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD, + so don't mention it (bug#9301). + (dired-sort-toggle-or-edit): Clarify string further. + + * faces.el (face-spec-set-match-display): Make `(type graphic)' + match `x', `w32' and `ns', like the manual says (bug#9029). + + * subr.el (eval-after-load): Doc string clarification (bug#9125). + (process-kill-buffer-query-function): Mention the buffer name in + the query. + + * image-mode.el (image-next-line): The line parameter is mandatory + (bug#9258). + + * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too, + which can be useful (bug#9301). + + * textmodes/flyspell.el: Remove obsolete comment (bug#9368). + + * subr.el (match-string): Mention that the current buffer should + be the same as the search was done in (bug#9282). + + * facemenu.el: Disable the remove-* commands if the mark isn't + active (bug#9162). + +2011-09-10 Chong Yidong + + * buff-menu.el (Buffer-menu-switch-other-window): Use second arg + of display-buffer. + (Buffer-menu-2-window): Use switch-to-buffer-other-window. + + * replace.el (occur-mode-goto-occurrence) + (occur-mode-display-occurrence) Use second arg of pop-to-buffer + and display-buffer. + + * mail/reporter.el (reporter-submit-bug-report): Use second arg of + display-buffer. + + * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the + special-display and same-window variables. + (mail-other-window): Use switch-to-buffer-other-window. + (mail-other-frame): USe switch-to-buffer-other-frame. + + * progmodes/gdb-mi.el (gdb-frame-gdb-buffer): + Use display-buffer-other-frame. + (gdb-display-gdb-buffer): Use pop-to-buffer. + + * progmodes/gud.el (gud-goto-info): Use info-other-window. + + * progmodes/python.el: Don't set same-window-buffer-names. + + * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer. + + * window.el (display-buffer-alist): Add *Python*. + +2011-09-10 Chong Yidong + + * window.el (display-buffer-alist): Add entry for buffers + previously handled same-window-*. + (display-buffer-alist, display-buffer-default-action) + (display-buffer-overriding-action): Mark as risky. + (display-buffer-alist): Document action function changes. + (display-buffer--same-window-action) + (display-buffer--other-frame-action): New variables. + (switch-to-buffer, display-buffer-other-frame): Use them. + (display-buffer): Rename reuse-frame entry to reusable-frames. + (display-buffer-reuse-selected-window): Function deleted. + (display-buffer-reuse-window): Handle reusable-frames alist entry. + If it's omitted, check pop-up-frames/display-buffer-reuse-frames. + (display-buffer-special): New function. + (display-buffer--maybe-pop-up-frame-or-window): Rename from + display-buffer-reuse-or-pop-window. Split off special-display + part into display-buffer-special. + (display-buffer-use-some-window): Don't perform any special + pop-up-frames handling. + (pop-to-buffer): Use window-normalize-buffer-to-switch-to. + (display-buffer--maybe-same-window): Rename from + display-buffer-maybe-same-window. + + * info.el: Don't set same-window-regexps. + (info-setup): New function. + (info-other-window, info): Call it. + + * cus-edit.el: Don't set same-window-regexps. + (customize-group): New argument. + (customize-group-other-window): Use it. + (customize-face, customize-face-other-window): Likewise. + (custom-buffer-create-other-window): Use pop-to-buffer directly. + + * net/rlogin.el: + * net/telnet.el: + * progmodes/gud.el: Don't set same-window-regexps. + + * cmuscheme.el: + * ielm.el: + * shell.el: + * mail/sendmail.el: + * progmodes/inf-lisp.el: Don't set same-window-buffer-names. + +2011-09-10 Juri Linkov + + * isearch.el (isearch-edit-string): Remove obsolete mention of + `C-w' (`isearch-yank-word-or-char') from docstring. + (isearch-query-replace): Fix typo in docstring (bug#9466). + +2011-09-10 Juri Linkov + + * paren.el (show-paren-function): Don't show escaped parens. + Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461) + +2011-09-10 Eli Zaretskii + + * mail/sendmail.el (mml-to-mime, mml-attach-file) + (mm-default-file-encoding): Remove autoload forms, they are + replaced with autoload cookies in mml.el and mm-encode.el. + (mail-add-attachment): New command. + (mail-mode-map): Add a menu-bar item for mail-add-attachment. + (mail-mode): Mention mail-insert-file and mail-add-attachment in + the doc string. + (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare. + +2011-09-10 Reuben Thomas + + * simple.el (count-words-region): Use buffer if there's no region. + +2011-09-09 Juri Linkov + + * wdired.el (wdired-change-to-wdired-mode): Set buffer-local + `isearch-filter-predicate' to `wdired-isearch-filter-read-only'. + (wdired-isearch-filter-read-only): New function. (Bug#6362) + +2011-09-09 Alan Mackenzie + + * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode' + spuriously generating `awk-mode-syntax-table'. (Bug #9448). + +2011-09-09 Eli Zaretskii + + Fix for Savannah bug#9392. + * simple.el (mail-encode-mml): New defvar. + + * mail/rmail.el (mail-encode-mml): Add a defvar. + (rmail-enable-mime-composing): Default to t. + (rmail-forward): Use MIME method of forwarding only if both + rmail-enable-mime-composing and rmail-enable-mime are non-nil. + Set mail-encode-mml non-nil if the MIME method was used. + + * mail/sendmail.el (mml-to-mime): Add autoload form. + (mail-encode-mml): Add a defvar. + (mail-mode): Make mail-encode-mml buffer-local and initialize it + to nil. + (mail-send): If mail-encode-mml is non-nil, run the outgoing + message through mml-to-mime, and reset mail-encode-mml to nil. + +2011-09-09 Glenn Morris + + * woman.el (woman-if-body): When processing an .el block, + do not delete the next .el block as well. (Bug#9447) + (woman-special-characters): Add oq, cq, and hy characters. + +2011-09-08 Martin Rudalics + + * window.el (window-deletable-p): Make sure window is live before + invoking window-prev-buffers. + +2011-09-08 Leo Liu + + * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453) + +2011-09-08 Juri Linkov + + * progmodes/compile.el (compilation-environment): Make it + a defcustom (bug#8340). + +2011-09-08 Martin Rudalics + + * window.el (frame-auto-delete): Rename to window-auto-delete. + Make it control auto-deletion of windows and/or frames. + (window-deletable-p): New argument FORCE. Rewrite conditions + for deleting window/frame. (Bug#9419) + (switch-to-prev-buffer, replace-buffer-in-windows, quit-window): + Rewrite handling of case when window/frame can be deleted. + (delete-windows-on): Call window-deletable-p with new FORCE + argument t. (Bug#9456) + +2011-09-07 Chong Yidong + + * help-mode.el (help-mode): Restore autoload. + +2011-09-07 Juri Linkov + + * progmodes/compile.el (compilation-start): Let-bind `thisenv' to + `compilation-environment'. Set buffer-local + `compilation-environment' to `thisenv' later after (funcall mode). + (Bug#8340) + + * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408) + (vc-git-grep): Prepend "PAGER=" to `compilation-environment' + instead of replacing its value. (Bug#8340) + +2011-09-07 Juri Linkov + + * progmodes/grep.el (grep-regexp-alist): Calculate column positions + based on text properties put by `grep-filter' instead of matching + escape sequences. + (grep-mode): Set buffer-local `compilation-error-screen-columns' + to the value of `grep-error-screen-columns' (bug#9438). + +2011-09-07 Juri Linkov + + * simple.el (next-error-highlight, next-error-highlight-no-select): + Doc fix (bug#9432). + +2011-09-07 OKAZAKI Tetsurou (tiny change) + + * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): + Check for null c-opt-block-decls-with-vars-key. (Bug#9443) + +2011-09-07 Leo Liu + + * net/rcirc.el (rcirc-mode): Conditionally initialize + rcirc-input-ring. + +2011-09-07 Stefan Monnier + + * emacs-lisp/find-func.el (find-function-C-source): Only set + find-function-C-source-directory after checking that we found a source + file there (bug#9440). + +2011-09-06 Alan Mackenzie + + * isearch.el (isearch-other-meta-char): Wherever a key list is + unread, "unread" the prefix arg, too. This fixes bug #8901. + +2011-09-05 Oleksandr Gavenko (tiny change) + + * progmodes/grep.el (rgrep): Add "-type d" (bug#9414). + +2011-09-05 Juri Linkov + + * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084). + +2011-09-05 Juri Linkov + + * progmodes/grep.el (grep-filter): Avoid incomplete processing by + keeping point where processing of grep matches begins, and + continue to delete remaining escape sequences from the same point. + (grep-filter): Make leading zero optional in "0?1;31m" because + git-grep emits "\033[1;31m" escape sequences unlike expected + "\033[01;31m" as GNU Grep does (bug#9408). + (grep-process-setup): Replace obsolete "ml=" with newer "sl=". + +2011-09-05 Juri Linkov + + * subr.el (y-or-n-p): Capitalize "yes". + +2011-09-04 Michael Albinus + + * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but + `tramp-cache-unload-hook' where appropriate. + (tramp-methods): Rename `tramp-remote-sh' to + `tramp-remote-shell'. Add `tramp-remote-shell-args'. + (tramp-handle-shell-command): New defun, moved from tramp-sh.el. + + * net/tramp-sh.el (top): Don't require 'shell. + (tramp-methods): Add `tramp-remote-shell' and + `tramp-remote-shell-args' entries. + (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'. + (tramp-sh-handle-shell-command): Remove. + (tramp-find-shell, tramp-open-connection-setup-interactive-shell): + Use `tramp-remote-shell'. + +2011-09-03 Chong Yidong + + * mail/sendmail.el (sendmail-query-once-function): Delete. + (sendmail-query-once): Save directly to send-mail-function. + Update message-send-mail-function too. + + * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt. + +2011-09-03 Christoph Scholtes + + * progmodes/python.el (python-mode-map): Use correct function to + start python interpreter from menu-bar (as reported by Geert + Kloosterman). + (inferior-python-mode-map): Fix typo. + (python-shell-map): Remove. + +2011-09-03 Deniz Dogan + + * net/rcirc.el (rcirc-print): Simplify code for + rcirc-scroll-show-maximum-output. There is no need to walk + through all windows to find the right one. + 2011-09-03 Christoph Scholtes * help.el (help-return-method): Doc fix. @@ -7,8 +439,8 @@ * window.el (window-deletable-p): Don't return a non-nil value when there's a buffer that was shown in the window before. (Bug#9419) - (display-buffer-pop-up-frame, display-buffer-pop-up-window): Set - window's previous buffers to nil. + (display-buffer-pop-up-frame, display-buffer-pop-up-window): + Set window's previous buffers to nil. 2011-09-03 Eli Zaretskii @@ -22,7 +454,7 @@ 2011-09-02 Chong Yidong - * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Deleted. + * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete. (pop-to-buffer): Change interactive spec. Pass second argument directly to display-buffer. (display-buffer): Fix interactive spec. Use functionp to @@ -49,7 +481,7 @@ (display-buffer-reuse-or-pop-window) (display-buffer-use-some-window): New functions. (display-buffer-default-action): Use them. - (display-buffer-default): Deleted. + (display-buffer-default): Delete. (pop-to-buffer-1): Fix choice of actions. 2011-09-02 Stefan Monnier @@ -179,7 +611,7 @@ 2011-08-28 Christoph Scholtes * help-mode.el (help-mode-map): Add special-mode-map to parent. - (help-mode): Derive help-mode from special-mode. Don't invoke + (help-mode): Derive help-mode from special-mode. Don't invoke view-mode from help-mode. (help-xref-override-view-map): Remove. (help-make-xrefs): Remove minor-mode-overriding-map-alist since @@ -452,14 +884,14 @@ Resolve invalid use of a regexp in regexp-opt. - * cc-fonts.el (c-complex-decl-matchers): Add in special detection - for a java annotation. + * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special + detection for a java annotation. - * cc-engine.el (c-forward-decl-or-cast-1): Add in special + * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special detection for a java annotation. - * cc-langs.el (c-prefix-spec-kwds-re): Remove the special handling - for java. + * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special + handling for java. (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+". 2011-08-20 Chong Yidong @@ -495,7 +927,7 @@ 2011-08-19 Glenn Morris * files.el (hack-local-variables-prop-line, hack-local-variables): - Downcase "Mode:". (Bug#9331) + Downcase "Mode:". (Bug#9331) 2011-08-18 Chong Yidong @@ -551,7 +983,7 @@ (epa-mail-expand-recipients-2, epa-mail-expand-recipients): Remove. -2011-08-16 Feng Li (tiny change) +2011-08-16 Feng Li (tiny change) * calc/calc-ext.el (math-defintegral-2): Remove nested backquote. @@ -837,7 +1269,7 @@ * progmodes/cc-mode.el: Remove two autoload forms which loaded cc-langs. - * /progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit + * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit "(require 'cc-langs)". Quote a form so it will evaluate at (cc-mode's) compilation time. @@ -3501,7 +3933,7 @@ 2011-05-31 Helmut Eller - * debug.el (debug): Restore the previous content of the + * emacs-lisp/debug.el (debug): Restore the previous content of the *Backtrace* buffer when we exit with C-M-c. 2011-05-31 Stefan Monnier @@ -4150,7 +4582,8 @@ 2011-05-13 Didier Verna Common Lisp indentation improvements on defmethod and lambda-lists. - * cl-indent.el: Advertise the changes and remove obsolete TODO entries. + * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete + TODO entries. (lisp-lambda-list-keyword-parameter-indentation) (lisp-lambda-list-keyword-parameter-alignment) (lisp-lambda-list-keyword-alignment): New customizable user options. @@ -4200,7 +4633,7 @@ 2011-05-12 Eli Zaretskii - * smerge-mode.el (smerge-resolve): Use null-device rather than a + * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a literal "/dev/null". 2011-05-12 Stefan Monnier @@ -5644,7 +6077,7 @@ 2011-04-08 Juanma Barranquero - * vc-annotate.el (vc-annotate-show-log-revision-at-line): + * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line): Fix typo in docstring. 2011-04-08 Eli Zaretskii @@ -6316,7 +6749,7 @@ 2011-03-19 Eli Zaretskii - * emerge.el (emerge-metachars): Separate value for ms-dos and + * vc/emerge.el (emerge-metachars): Separate value for ms-dos and windows-nt systems. (emerge-protect-metachars): Quote correctly for ms-dos and windows-nt systems.