Fix bug #14841 with invisible frames on MS-Windows.
[bpt/emacs.git] / lisp / ChangeLog
index 83c3376..d7074c0 100644 (file)
@@ -1,9 +1,251 @@
+2013-07-26  Matthias Meulien  <orontee@gmail.com>
+
+       * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-print-root-log.
+
+2013-07-26  Richard Stallman  <rms@gnu.org>
+
+       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  <monnier@iro.umontreal.ca>
+
+       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  <rgm@gnu.org>
+
+       * 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  <rudalics@gmx.at>
+
+       * window.el (display-buffer): In display-buffer bind
+       split-window-keep-point to t, bug#14829.
+
+2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
+
+       * 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  <rgm@gnu.org>
+
+       * dired-x.el (dired-mark-extension): Convert comment to doc string.
+
+2013-07-25  Juanma Barranquero  <lekktu@gmail.com>
+
+       * 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-24  Juanma Barranquero  <lekktu@gmail.com>
+
+       * 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  <rgm@gnu.org>
+
+       * ffap.el (ffap-machine-p): Handle "not known" response.  (Bug#14929)
+
+2013-07-24  Michael Albinus  <michael.albinus@gmx.de>
+
+       * 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  <rgm@gnu.org>
+
+       * printing.el: Replace all uses of deleted ps-windows-system,
+       ps-lp-system, ps-flatten-list with lpr- versions.
+
+2013-07-24  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * 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  <monnier@iro.umontreal.ca>
+
+       * 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  <xfq.free@gmail.com>
+
+       * 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  <michael@mauger.com>
+
+       * 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  <lekktu@gmail.com>
+
+       * desktop.el (desktop-clear, desktop-list*): Fix previous change.
+
+2013-07-23  Michael Albinus  <michael.albinus@gmx.de>
+
+       * 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  <lekktu@gmail.com>
+
+       * 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  <sdl.web@gmail.com>
+
+       * bookmark.el (bookmark-make-record): Restore NAME as a default
+       value.  (Bug#14933)
+
+2013-07-22  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * 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.
+
+       * progmodes/subword.el: Fix boundary case (bug#13758).
+       (subword-forward-regexp): Make it a constant.  Wrap optional \\W in its
+       own group.
+       (subword-backward-regexp): Make it a constant.
+       (subword-forward-internal): Don't treat a trailing capital as the
+       beginning of a word.
+
+2013-07-22  Ari Roponen  <ari.roponen@gmail.com>  (tiny change)
+
+       * emacs-lisp/package.el (package-menu-mode): Don't modify the
+       global value of tabulated-list-revert-hook (bug#14930).
+
+2013-07-22  Juanma Barranquero  <lekktu@gmail.com>
+
+       * desktop.el: Require 'cl-lib.
+       (desktop-before-saving-frames-functions): New hook.
+       (desktop--process-minibuffer-frames): Set desktop-mini parameter only
+       for frames being saved.  Rename from desktop--save-minibuffer-frames.
+       (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
+       Do not save frames with non-nil `desktop-dont-save' parameter.
+       Filter out deleted frames.
+       (desktop--find-frame): Use cl-find-if.
+       (desktop--select-frame): Use cl-(first|second|third) to access values
+       of desktop-mini.
+       (desktop--make-frame): Use cl-delete-if.
+       (desktop--sort-states): Fix sorting of minibuffer-owning frames.
+       (desktop-restore-frames): Use cl-(first|second|third) to access values
+       of desktop-mini.  Look for visible frame at the end, not while
+       restoring frames.
+
+       * dired-x.el (dired-mark-unmarked-files, dired-virtual)
+       (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
+       Use string-match-p, looking-at-p (bug#14927).
+
+2013-07-21  Juanma Barranquero  <lekktu@gmail.com>
+
+       * desktop.el (desktop-saved-frame-states):
+       Rename from desktop--saved-states; all users changed.
+       (desktop-save-frames): Rename from desktop--save-frames.
+       Do not save state to desktop file.
+       (desktop-save): Save desktop-saved-frame-states to desktop file
+       and reset to nil.
+       (desktop-restoring-frames-p): New function.
+       (desktop-restore-frames): Use it.  Rename from desktop--restore-frames.
+       (desktop-read): Use desktop-restoring-frames-p.  Do not try to fix
+       buffer-lists when restoring frames.  Suggested by Martin Rudalics.
+
+       * desktop.el: Correctly restore iconified frames.
+       (desktop--filter-iconified-position): New function.
+       (desktop-filter-parameters-alist): Add entries for `top' and `left'.
+
 2013-07-20  Glenn Morris  <rgm@gnu.org>
 
        * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
        Let `message' do the formatting.
        (def-gdb-preempt-display-buffer): Add explicit format.
 
+       * image-dired.el (image-dired-track-original-file):
+       Use with-current-buffer.
+       (image-dired-track-thumbnail): Use with-current-buffer.
+       Avoid changing point of wrong window.
+
        * image-dired.el (image-dired-track-original-file):
        Avoid changing point of wrong window.  (Bug#14909)
 
 
 2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
 
-       * progmodes/sh-script.el (sh-read-variable): Remove interactive
-       spec.  (Bug#14826)
+       * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
+       (Bug#14826)
 
        * international/mule.el (coding-system-iso-2022-flags): Fix last
        change.
 
 2013-07-20  Kenichi Handa  <handa@gnu.org>
 
-       * international/mule.el (coding-system-iso-2022-flags): Add
-       `8-bit-level-4'.  (Bug#8522)
+       * international/mule.el (coding-system-iso-2022-flags):
+       Add `8-bit-level-4'.  (Bug#8522)
 
 2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
 
 
 2013-07-13  Dmitry Gutov  <dgutov@yandex.ru>
 
-       * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
-       conversion methods on Kernel.
+       * progmodes/ruby-mode.el (ruby-font-lock-keywords):
+       Highlight conversion methods on Kernel.
 
 2013-07-13  Alan Mackenzie  <acm@muc.de>
 
 
        * net/tramp.el (tramp-current-connection): New defvar, moved from
        tramp-sh.el.
-       (tramp-message-show-progress-reporter-message): Removed, not
+       (tramp-message-show-progress-reporter-message): Remove, not
        needed anymore.
-       (tramp-error-with-buffer): Show message in minibuffer.  Discard
-       input before waiting.  Reset connection timestamp.
+       (tramp-error-with-buffer): Show message in minibuffer.
+       Discard input before waiting.  Reset connection timestamp.
        (with-tramp-progress-reporter): Improve messages.
        (tramp-process-actions): Use progress reporter.  Delete process in
        case of error.  Improve messages.
 
-       * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use
-       condition-case.  Call `tramp-error-with-buffer' with vector and buffer.
-       (tramp-current-connection): Removed.
+       * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
+       Call `tramp-error-with-buffer' with vector and buffer.
+       (tramp-current-connection): Remove.
        (tramp-maybe-open-connection): The car of
        `tramp-current-connection' are the first 3 slots of the vector.