X-Git-Url: https://git.hcoop.net/bpt/emacs.git/blobdiff_plain/c43a861814c2cbe65c67d0bfa5523b50eba1419f..44e18199d98d8d7a465f438d37280acfa42bad38:/lisp/ChangeLog diff --git a/lisp/ChangeLog b/lisp/ChangeLog index 38c79fc427..1cd1e29e49 100644 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@ -1,5 +1,434 @@ +2013-08-01 Tassilo Horn + + * speedbar.el (speedbar-query-confirmation-method): Doc fix. + + * whitespace.el (whitespace-ensure-local-variables): New function. + (whitespace-cleanup-region): Call it. + (whitespace-turn-on): Call it. + +2013-08-01 Michael Albinus + + Complete file name handlers. + + * net/tramp.el (tramp-handle-set-visited-file-modtime) + (tramp-handle-verify-visited-file-modtime) + (tramp-handle-file-notify-rm-watch): New functions. + (tramp-call-process): Do not bind `default-directory'. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + Order alphabetically. + [access-file, add-name-to-file, dired-call-process]: + [dired-compress-file, file-acl, file-notify-rm-watch]: + [file-ownership-preserved-p, file-selinux-context]: + [make-directory-internal, make-symbolic-link, set-file-acl]: + [set-file-selinux-context, set-visited-file-modtime]: + [verify-visited-file-modtime]: Add handler. + (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'. + + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist) + [file-notify-add-watch, file-notify-rm-watch]: + [set-file-times, set-visited-file-modtime]: + [verify-visited-file-modtime]: Add handler. + (with-tramp-gvfs-error-message) + (tramp-gvfs-handle-set-visited-file-modtime) + (tramp-gvfs-fuse-file-name): Remove. + (tramp-gvfs-handle-file-notify-add-watch) + (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns. + (tramp-gvfs-handle-write-region): Fix error in moving tmpfile. + + * net/tramp-sh.el (tramp-sh-file-name-handler-alist): + Order alphabetically. + [file-notify-rm-watch ]: Use default Tramp handler. + [executable-find]: Remove private handler. + (tramp-do-copy-or-rename-file-out-of-band): Do not bind + `default-directory'. + (tramp-sh-handle-executable-find) + (tramp-sh-handle-file-notify-rm-watch): Remove functions. + (tramp-sh-file-gvfs-monitor-dir-process-filter) + (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path): + Do not use `format' in `tramp-message'. + + * net/tramp-smb.el (tramp-smb-file-name-handler-alist) + [file-notify-rm-watch, set-visited-file-modtime]: + [verify-visited-file-modtime]: Add handler. + (tramp-smb-call-winexe): Do not bind `default-directory'. + +2013-08-01 Xue Fuqiao + + * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore. + +2013-07-31 Dmitry Gutov + + * vc/log-view.el (log-view-diff): Extract `log-view-diff-common', + use it. + (log-view-diff-changeset): Same. + (log-view-diff-common): Call backend command `previous-revision' + to find out the previous revision, in both cases. Swap the + variables `to' and `fr', so that `fr' usually refers to the + earlier revision (Bug#14989). + +2013-07-31 Kan-Ru Chen + + * ibuf-ext.el (ibuffer-filter-by-filename): + Make it work with dired buffers too. + +2013-07-31 Dmitry Antipov + + * emacs-lisp/re-builder.el (reb-color-display-p): + * files.el (save-buffers-kill-terminal): + * net/browse-url.el (browse-url): + * server.el (server-save-buffers-kill-terminal): + * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert): + Prefer nil to selected-frame for the first arg of frame-parameter. + +2013-07-31 Xue Fuqiao + + * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore. + +2013-07-30 Stephen Berman + + * minibuffer.el (completion--twq-all): Try and preserve each + completion's case choice (bug#14907). + +2013-07-30 Lars Magne Ingebrigtsen + + * net/network-stream.el (open-network-stream): Mention the new + :nogreeting parameter. + (network-stream-open-starttls): Use the :nogreeting parameter + (bug#14938). + + * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'. + + * net/eww.el (eww-setup-buffer): Switching to the buffer seems + more natural than popping. + + * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815). + (shr-urlify): Highlight under mouse. + +2013-07-30 Xue Fuqiao + + * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore. + + * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore. + + * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*' + buffer for output. + + * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume + point-min==1. Fix search string. Fix parentheses missing. + + * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not + assume point-min==1. Fix search string. Fix parentheses missing. + + * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'. + + * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*' + buffer for output. + +2013-07-29 Eli Zaretskii + + * frame.el (frame-notice-user-settings): Avoid inflooping when the + initial frame is minibuffer-less. (Bug#14841) + +2013-07-29 Michael Albinus + + * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer + option. + + * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band) + (tramp-maybe-open-connection): Use it. + +2013-07-28 Juanma Barranquero + + * desktop.el (desktop--make-frame): Include `minibuffer' in the + minimal set of parameters passed when creating a frame, because + the minibuffer status of a frame cannot be changed later. + +2013-07-28 Stephen Berman + + * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of + replace-regexp-in-string and inadvertent omissions in previous change. + (todo-filter-items): Ensure only file names are comma-separated in + name of filtered items buffer. + +2013-07-28 Juanma Barranquero + + * desktop.el: Optionally force offscreen frames back onscreen. + (desktop-restoring-reuses-frames): New option. + (desktop--compute-pos, desktop--move-onscreen): New functions. + (desktop--make-frame): Use desktop--move-onscreen. + +2013-07-27 Alan Mackenzie + + Fontify a Java generic method as a function. + * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java + value to t. + +2013-07-27 Stephen Berman + + * calendar/todo-mode.el: Add command to rename todo files. + (todo-rename-file): New command. + (todo-key-bindings-t): Add key binding for it. Change the + bindings of todo-filter-regexp-items(-multifile) to use `x' + instead of `r', since the latter is better suited to the new + renaming command. + +2013-07-27 Alan Mackenzie + + Make Java try-with-resources statement parse properly. + * progmodes/cc-langs.el (c-block-stmt-1-2-kwds) + (c-block-stmt-1-2-key): New language constants/variables. + * progmodes/cc-engine.el (c-beginning-of-statement-1) + (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key. + * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal + with c-block-stmt-1-2-key. + +2013-07-27 Juanma Barranquero + + * desktop.el (desktop--make-frame): Apply most frame parameters after + creating the frame to force (partially or totally) offscreen frames to + be restored as such. + +2013-07-26 Xue Fuqiao + + * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff. + (Bug#14948) + +2013-07-26 Stefan Monnier + + * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new + `base' arg of backtrace-frame. + +2013-07-26 Eli Zaretskii + + * simple.el (list-processes): Doc fix. + +2013-07-26 Juanma Barranquero + + * desktop.el (desktop--select-frame): + Try harder to reuse existing frames. + +2013-07-26 Stefan Monnier + + * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables. + (edebug-eval): Use backtrace-eval. + (edebug--display, edebug--recursive-edit): Don't let-bind the + edebug-outer-* vars that keep track of variables we locally let-bind. + (edebug-outside-excursion): Don't restore outside values of locally + let-bound vars. + (edebug--display): Use user-error. + (cl-lexical-debug, cl-debug-env): Remove. + +2013-07-26 Juanma Barranquero + + * desktop.el (desktop-restore-frames): Call `sit-for' once all frames + are restored to be sure that they are visible before deleting any + remaining ones. + +2013-07-26 Matthias Meulien + + * vc/vc-dir.el (vc-dir-mode-map): Add binding for + vc-print-root-log. (Bug#14948) + +2013-07-26 Richard Stallman + + Add aliases for encrypting mail. + * epa.el (epa-mail-aliases): New option. + * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs. + Bind inhibit-read-only so read-only text doesn't ruin everything. + (epa-mail-default-recipients): New subroutine broken out. + Handle epa-mail-aliases. + +2013-07-26 Stefan Monnier + + Add support for lexical variables to the debugger's `e' command. + * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-* + vars, except for debugger-outer-match-data. + (debugger-frame-number): Move check for "on a function call" from + callers into it. Add `skip-base' argument. + (debugger-frame, debugger-frame-clear): Simplify accordingly. + (debugger-env-macro): Only reset the state stored in non-variables, + i.e. current-buffer and match-data. + (debugger-eval-expression): Rewrite using backtrace-eval. + * subr.el (internal--called-interactively-p--get-frame): Remove. + (called-interactively-p): + * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new + `base' arg of backtrace-frame instead. + +2013-07-26 Glenn Morris + + * align.el (align-regexp): Doc fix. (Bug#14857) + (align-region): Explicit error if subexpression missing/does not match. + + * simple.el (global-visual-line-mode): + Do not duplicate the mode lighter. (Bug#14858) + +2013-07-25 Martin Rudalics + + * window.el (display-buffer): In display-buffer bind + split-window-keep-point to t, bug#14829. + +2013-07-25 Juanma Barranquero + + * desktop.el: Rename internal "desktop-X" frame params to "desktop--X". + (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm) + (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames) + (desktop--select-frame, desktop--sort-states, desktop-restore-frames): + Change accordingly. + (desktop--select-frame, desktop--sort-states, desktop-restore-frames): + Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values. + +2013-07-25 Glenn Morris + + * dired-x.el (dired-mark-extension): Convert comment to doc string. + +2013-07-25 Juanma Barranquero + + * desktop.el (desktop--make-frame): Do not pass the `fullscreen' + parameter to modify-frame-parameters if the value has not changed; + this is a workaround for bug#14949. + (desktop--make-frame): On cl-delete-if call, check parameter name, + not full parameter. + +2013-07-30 Xue Fuqiao + + * vc/vc.el (vc-ignore): New function. + + * vc/vc-svn.el (vc-svn-ignore): New function. + + * vc/vc-hg.el (vc-hg-ignore): New function. + + * vc/vc-git.el (vc-git-ignore): New function. + + * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore + (vc-dir-ignore): New function. + + * vc/vc-cvs.el (vc-cvs-ignore): New function. + (cvs-append-to-ignore): Move here from pcvs.el. + + * vc/vc-bzr.el (vc-bzr-ignore): New function. + + * vc/pcvs.el (vc-cvs): Require 'vc-cvs. + +2013-07-24 Juanma Barranquero + + * desktop.el (desktop-restoring-frames-p): Return a true boolean. + (desktop-restore-frames): Warn when deleting an existing frame failed. + +2013-07-24 Glenn Morris + + * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929) + +2013-07-24 Michael Albinus + + * filenotify.el (file-notify-supported-p): + * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p): + Remove functions. + + * autorevert.el (auto-revert-use-notify): + (auto-revert-notify-add-watch): + * net/tramp.el (tramp-file-name-for-operation): + * 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): + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): + Remove `file-notify-supported-p' entry. + +2013-07-24 Glenn Morris + + * printing.el: Replace all uses of deleted ps-windows-system, + ps-lp-system, ps-flatten-list with lpr- versions. + +2013-07-24 Stefan Monnier + + * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be + checked with memq (bug#14935). + + * files.el (revert-buffer-function): Use a non-nil default. + (revert-buffer-preserve-modes): Declare var to + provide access to the `preserve-modes' argument. + (revert-buffer): Let-bind it. + (revert-buffer--default): New function, extracted from revert-buffer. + +2013-07-24 Stefan Monnier + + * lpr.el: Signal print errors more prominently. + (print-region-function): Don't default to nil. + (lpr-print-region): New function, extracted from print-region-1. + Check lpr's return value and signal an error in case of problem. + (print-region-1): Use it. + * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-* + versions instead. + (ps-printer-name): Default to nil. + (ps-printer-name-option): Default to lpr-printer-switch. + (ps-print-region-function): Don't default to nil. + (ps-postscript-code-directory): Simplify default. + (ps-do-despool): Use lpr-print-region to properly check the outcome. + (ps-string-list, ps-eval-switch, ps-flatten-list) + (ps-flatten-list-1): Remove. + (ps-multibyte-buffer): Avoid setq. + * dos-w32.el (direct-print-region-helper): Use proper regexp operators. + (print-region-function, ps-print-region-function): Don't set them here. + +2013-07-24 Xue Fuqiao + + * ido.el (ido-fractionp): + (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode) + (ido-max-file-prompt-width, ido-unc-hosts-cache) + (ido-max-directory-size, ido-max-dir-file-cache) + (ido-decorations): Doc fix. + + * ansi-color.el: Fix old URL. + +2013-07-23 Michael R. Mauger + + * progmodes/sql.el Version 3.3 + (sql-product-alist): Improve oracle :prompt-cont-regexp. + (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions. + (sql-interactive-remove-continuation-prompt): Rewrite, use + functions above. Fix continuation prompt and complete output line + handling. + (sql-redirect-one, sql-execute): Use `read-only-mode' on + redirected output buffer. + (sql-mode): Restore deleted code (Bug#13591). + +2013-07-23 Juanma Barranquero + + * desktop.el (desktop-clear, desktop-list*): Fix previous change. + +2013-07-23 Michael Albinus + + * net/tramp.el (tramp-handle-file-notify-add-watch): New defun. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it. + +2013-07-23 Juanma Barranquero + + * desktop.el (desktop-clear): Simplify; remove useless checks + against invalid buffer names. + (desktop-list*): Use cl-list*. + (desktop-buffer-info, desktop-create-buffer): Simplify. + +2013-07-23 Leo Liu + + * bookmark.el (bookmark-make-record): Restore NAME as a default + value. (Bug#14933) + 2013-07-22 Stefan Monnier + * emacs-lisp/autoload.el (autoload--setup-output): New function, + extracted from autoload--insert-text. + (autoload--insert-text): Remove. + (autoload--print-cookie-text): New function, extracted from + autoload--insert-cookie-text. + (autoload--insert-cookie-text): Remove. + (autoload-generate-file-autoloads): Adjust calls accordingly. + + * winner.el (winner-hook-installed-p): Remove. + (winner-mode): Simplify accordingly. + * subr.el (add-to-list): Fix compiler-macro when `append' is not constant. Don't use `cl-member' for the base case.