lisp/desktop.el (desktop-clear): Be more careful about deleting frames.
[bpt/emacs.git] / lisp / ChangeLog
index 86715d6..ae54e4d 100644 (file)
@@ -1,3 +1,616 @@
+2013-08-04  Juanma Barranquero  <lekktu@gmail.com>
+
+       * desktop.el (desktop-clear): Only delete frames when called
+       interactively and desktop-restore-frames is non-nil.  Doc fix.
+       (desktop-read): Set desktop-saved-frameset to nil.
+
+2013-08-03  Juanma Barranquero  <lekktu@gmail.com>
+
+       * frameset.el (frameset-prop): New function and setter.
+       (frameset-save): Do not modify frame list passed by the caller.
+
+2013-08-03  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
+
+2013-08-02  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
+       (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
+
+       * custom.el (custom-initialize-default, custom-initialize-set)
+       (custom-initialize-reset, custom-initialize-changed): Affect the
+       toplevel-default-value (bug#6275, bug#14586).
+       * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
+       for bug#6275.
+
+2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
+
+       * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
+       Add cl-def* expressions.
+
+       * frameset.el (frameset-filter-params): Fix order of arguments.
+
+2013-08-02  Juanma Barranquero  <lekktu@gmail.com>
+
+       Move code related to saving frames to frameset.el.
+       * desktop.el: Require frameset.
+       (desktop-restore-frames): Doc fix.
+       (desktop-restore-reuses-frames): Rename from
+       desktop-restoring-reuses-frames.
+       (desktop-saved-frameset): Rename from desktop-saved-frame-states.
+       (desktop-clear): Clear frames too.
+       (desktop-filter-parameters-alist): Set from frameset-filter-alist.
+       (desktop--filter-tty*, desktop-save, desktop-read):
+       Use frameset functions.
+       (desktop-before-saving-frames-functions, desktop--filter-*-color)
+       (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
+       (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
+       (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
+       (desktop--process-minibuffer-frames, desktop-save-frames)
+       (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
+       (desktop--find-frame, desktop--select-frame, desktop--make-frame)
+       (desktop--sort-states, desktop-restoring-frames-p)
+       (desktop-restore-frames): Remove.  Most code moved to frameset.el.
+       (desktop-restoring-frameset-p, desktop-restore-frameset)
+       (desktop--check-dont-save, desktop-save-frameset): New functions.
+       (desktop--app-id): New constant.
+       (desktop-first-buffer, desktop-buffer-ok-count)
+       (desktop-buffer-fail-count): Move before first use.
+       * frameset.el: New file.
+
+2013-08-01  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * files.el: Use lexical-binding.
+       (dir-locals-read-from-file): Remove unused `err' variable.
+       (hack-dir-local-variables--warned-coding): New var.
+       (hack-dir-local-variables): Use it to avoid repeated warnings.
+       (make-backup-file-name--default-function): New function.
+       (make-backup-file-name-function): Use it as default.
+       (buffer-stale--default-function): New function.
+       (buffer-stale-function): Use it as default.
+       (revert-buffer-insert-file-contents--default-function): New function.
+       (revert-buffer-insert-file-contents-function): Use it as default.
+       (insert-directory): Avoid add-to-list.
+
+       * autorevert.el (auto-revert-handler): Simplify.
+       Use buffer-stale--default-function.
+
+2013-08-01  Tassilo Horn  <tsdh@gnu.org>
+
+       * 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  <michael.albinus@gmx.de>
+
+       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  <xfq.free@gmail.com>
+
+       * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
+
+2013-07-31  Dmitry Gutov  <dgutov@yandex.ru>
+
+       * 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  <kanru@kanru.info>
+
+       * ibuf-ext.el (ibuffer-filter-by-filename):
+       Make it work with dired buffers too.
+
+2013-07-31  Dmitry Antipov  <dmantipov@yandex.ru>
+
+       * 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  <xfq.free@gmail.com>
+
+       * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
+
+2013-07-30  Stephen Berman  <stephen.berman@gmx.net>
+
+       * minibuffer.el (completion--twq-all): Try and preserve each
+       completion's case choice (bug#14907).
+
+2013-07-30  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * 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  <xfq.free@gmail.com>
+
+       * 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  <eliz@gnu.org>
+
+       * frame.el (frame-notice-user-settings): Avoid inflooping when the
+       initial frame is minibuffer-less.  (Bug#14841)
+
+2013-07-29  Michael Albinus  <michael.albinus@gmx.de>
+
+       * 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  <lekktu@gmail.com>
+
+       * 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  <stephen.berman@gmx.net>
+
+       * 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  <lekktu@gmail.com>
+
+       * 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  <acm@muc.de>
+
+       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  <stephen.berman@gmx.net>
+
+       * 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  <acm@muc.de>
+
+       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  <lekktu@gmail.com>
+
+       * 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  <xfq.free@gmail.com>
+
+       * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
+       (Bug#14948)
+
+2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
+       `base' arg of backtrace-frame.
+
+2013-07-26  Eli Zaretskii  <eliz@gnu.org>
+
+       * simple.el (list-processes): Doc fix.
+
+2013-07-26  Juanma Barranquero  <lekktu@gmail.com>
+
+       * desktop.el (desktop--select-frame):
+       Try harder to reuse existing frames.
+
+2013-07-26  Stefan Monnier  <monnier@iro.umontreal.ca>
+
+       * 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  <lekktu@gmail.com>
+
+       * 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  <orontee@gmail.com>
+
+       * vc/vc-dir.el (vc-dir-mode-map): Add binding for
+       vc-print-root-log.  (Bug#14948)
+
+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-30  Xue Fuqiao  <xfq.free@gmail.com>
+
+       * 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  <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  Richard Copley  <rcopley@gmail.com>  (tiny change)
+
+       * progmodes/gdb-mi.el (gdb-done-or-error):
+       Guard against "%" in gdb output.  (Bug#14127)
+
+2013-07-20  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * 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)
+
+2013-07-19  Lars Magne Ingebrigtsen  <larsi@gnus.org>
+
+       * net/shr.el (shr-mouse-browse-url): New command and keystroke
+       (bug#14815).
+
+       * net/eww.el (eww-process-text-input): Allow inputting when the
+       point is at the start of the line, as the properties aren't
+       front-sticky.
+
+       * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
+       degenerate widths.
+
+2013-07-19  Richard Stallman  <rms@gnu.org>
+
+       * epa.el (epa-popup-info-window): Doc fix.
+
+       * subr.el (split-string): New arg TRIM.
+
 2013-07-18  Juanma Barranquero  <lekktu@gmail.com>
 
        * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
 
 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.