1. 21 Nov, 2014 1 commit
  2. 10 Sep, 2014 1 commit
  3. 16 Jul, 2014 1 commit
  4. 03 Jul, 2014 1 commit
  5. 02 Jul, 2014 1 commit
  6. 24 Jun, 2014 1 commit
    • Juri Linkov's avatar
      * lisp/desktop.el (desktop-auto-save-enable) · a4d8b73e
      Juri Linkov authored
      (desktop-auto-save-disable): New functions.
      (desktop-save-mode, desktop-auto-save-timeout): Use them.
      (desktop-read): Disable the autosave before loading the desktop,
      and enable afterwards.
      
      Fixes: debbugs:17351
      a4d8b73e
  7. 06 Jun, 2014 1 commit
  8. 27 Apr, 2014 1 commit
  9. 12 Mar, 2014 1 commit
    • Glenn Morris's avatar
      Some doc edits related to desktop-restore-frames · 46456005
      Glenn Morris authored
      * doc/emacs/misc.texi (Saving Emacs Sessions):
      Be briefer about desktop's handling of frames.
      The manual does not need to mention every option, nor should
      it just repeat the doc-strings.
      
      * lisp/desktop.el (desktop-restore-frames)
      (desktop-restore-in-current-display, desktop-restore-forces-onscreen)
      (desktop-restore-reuses-frames): Doc tweaks.
      
      * etc/NEWS: Related edits.
      46456005
  10. 11 Mar, 2014 1 commit
    • Juanma Barranquero's avatar
      lisp/frameset.el: Separate frame reusing from cleaning up. · 4538c058
      Juanma Barranquero authored
      * lisp/desktop.el (desktop-restore-forces-onscreen)
        (desktop-restore-reuses-frames): Use non-keyword values.
        (desktop-restore-frameset): Use CLEANUP-FRAMES arg of frameset-restore.
      
      * lisp/frameset.el: Separate options for reusing frames and cleaning up.
        (frameset--reuse-list): Remove definition; declare.
        (frameset--action-map): Declare.
        (frameset--find-frame-if): Doc fix.
        (frameset--restore-frame): Cache frame action.
        (frameset-restore): New keyword arg CLEANUP-FRAMES, allows to select
        how to clean up the frame list after restoring.  Remove cleaning
        options from REUSE-FRAMES.  Change all keyword values to symbols.
        (frameset--jump-to-register): Simplify by using CLEANUP-FRAMES.
      4538c058
  11. 10 Mar, 2014 1 commit
  12. 22 Feb, 2014 1 commit
  13. 18 Feb, 2014 1 commit
    • Glenn Morris's avatar
      Some desktop doc · c863b6ad
      Glenn Morris authored
      * doc/emacs/misc.texi (Saving Emacs Sessions):
      Mention desktop-auto-save-timeout.
      
      * lisp/desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
      
      * etc/NEWS: Related edit.
      c863b6ad
  14. 07 Feb, 2014 3 commits
  15. 03 Feb, 2014 2 commits
  16. 01 Jan, 2014 1 commit
  17. 28 Dec, 2013 1 commit
    • Glenn Morris's avatar
      Misc small custom fixes · 9c61f806
      Glenn Morris authored
      The value of defcustom's const should not be quoted!
      
      * lisp/desktop.el (desktop-restore-in-current-display):
      * lisp/newcomment.el (comment-empty-lines):
      * lisp/progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
      (idlwave-pad-keyword):
      * lisp/progmodes/tcl.el (tcl-tab-always-indent):
      * lisp/textmodes/reftex-vars.el (reftex-index-default-tag):
      * lisp/elec-pair.el (electric-pair-skip-whitespace):
      * lisp/progmodes/cfengine.el (cfengine-cf-promises):
      * lisp/cedet/ede/linux.el (project-linux-build-directory-default)
      (project-linux-architecture-default):
      * lisp/erc/erc-button.el (erc-button-alist):
      * lisp/gnus/auth-source.el (auth-sources):
      * lisp/gnus/nnmairix.el (nnmairix-propagate-marks-upon-close):
      * lisp/url/url-history.el (url-history-track):
      * lisp/url/url-vars.el (url-honor-refresh-requests):
      Fix custom types.
      
      * lisp/net/tls.el (tls-certtool-program): Fix default value.
      9c61f806
  18. 16 Dec, 2013 1 commit
    • Juri Linkov's avatar
      * lisp/desktop.el (desktop-auto-save-timeout): Change default to · 6c8e0ae6
      Juri Linkov authored
      `auto-save-timeout'.  Doc fix.
      (desktop-save): Skip the timestamp in desktop-saved-frameset
      when checking for auto-save changes.
      (desktop-auto-save): Don't call desktop-auto-save-set-timer since
      `desktop-auto-save' is called repeatedly by the idle timer.
      (desktop-auto-save-set-timer): Replace `run-with-timer' with
      `run-with-idle-timer' and a non-nil arg REPEAT.  Doc fix.
      
      Fixes: debbugs:15331
      6c8e0ae6
  19. 13 Oct, 2013 1 commit
    • Glenn Morris's avatar
      Use accented form of some names · 8c106d17
      Glenn Morris authored
      * doc/emacs/ack.texi (Acknowledgments):
      * doc/emacs/emacs.texi (Acknowledgments):
      * doc/lispref/intro.texi (Acknowledgments): Use accented form of some names.
      
      * lisp/emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
      Add some entries.
      (authors-fixed-entries): Use accented form of name.
      8c106d17
  20. 10 Oct, 2013 1 commit
  21. 16 Aug, 2013 1 commit
  22. 07 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/frameset.el: Convert `frameset' to vector and add new slots. · a912c016
      Juanma Barranquero authored
      (frameset): Use type vector, not list (incompatible change).
      Do not declare a new constructor, use the default one.
      Upgrade suggested properties `app', `name' and `desc' to slots `app',
      `name' and `description', respectively, and add read-only slot `timestamp'.
      Doc fixes.
      (frameset-copy, frameset-persistent-filter-alist)
      (frameset-filter-alist, frameset-switch-to-gui-p)
      (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
      (frameset-filter-sanitize-color, frameset-filter-minibuffer)
      (frameset-filter-iconified, frameset-keep-original-display-p):
      Doc fixes.
      (frameset-filter-shelve-param, frameset-filter-unshelve-param):
      Rename from frameset-filter-(save|restore)-param.  All callers changed.
      Doc fix.
      (frameset-p): Adapt to change to vector and be more thorough.
      Change arg name to OBJECT.  Doc fix.
      (frameset-prop): Rename arg PROP to PROPERTY.  Doc fix.
      (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
      All callers changed.
      (frameset-frame-with-id): Rename from frameset-locate-frame-id.
      All callers changed.
      (frameset--record-minibuffer-relationships): Rename from
      frameset--process-minibuffer-frames.  All callers changed.
      (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
      Use new default constructor (again).  Doc fix.
      (frameset--find-frame-if): Rename from `frameset--find-frame.
      All callers changed.
      (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
      (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
      Doc fix.
      (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
      PARAMETERS and WINDOW-STATE, respectively.
      (frameset-restore): Add new keyword argument PREDICATE.
      Reset frameset--target-display to nil.  Doc fix.
      
      lisp/desktop.el (desktop-save-frameset): Use new frameset-save args.
      Use lexical-binding.
      a912c016
  23. 05 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      * lisp/frameset.el: Miscellaneous cleanups. · 063233c3
      Juanma Barranquero authored
        (frameset): Add docstring.  Move :version property to its
        own `version' slot.
        (frameset-copy): Rename from copy-frameset.
        (frameset-p): Check more thoroughly.
        (frameset-prop): Do not check for :version, which is no longer a prop.
        (frameset-live-filter-alist, frameset-persistent-filter-alist):
        Use new :never value instead of t.
        (frameset-filter-alist): Expand and clarify docstring.
        (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
        (frameset-filter-minibuffer, frameset-filter-save-param)
        (frameset-filter-restore-param, frameset-filter-iconified):
        Add pointer to docstring of frameset-filter-alist.
        (frameset-filter-params): Rename filter values to be more meaningful:
        :never instead of t, and reverse the meanings of :save and :restore.
        (frameset--process-minibuffer-frames): Clarify error message.
        (frameset-save): Avoid unnecessary and confusing call to framep.
        Use new BOA constructor for framesets.
        (frameset--reuse-list): Doc fix.
        (frameset--restore-frame): Rename from frameset--get-frame.  Doc fix.
        (frameset--minibufferless-last-p): Rename from frameset--sort-states.
        (frameset-minibufferless-first-p): Doc fix.
        Rename from frameset-sort-frames-for-deletion.
        (frameset-restore): Doc fixes.  Use new function names.
        Most changes suggested by Drew Adams <drew.adams@oracle.com>.
      
      * lisp/desktop.el (desktop-clear): Use new name of sort predicate.
      063233c3
  24. 04 Aug, 2013 2 commits
    • Juanma Barranquero's avatar
      * lisp/frameset.el: Add new predicate values for frameset-restore args. · d5671a82
      Juanma Barranquero authored
        (frameset-live-filter-alist, frameset-persistent-filter-alist):
        New variables.
        (frameset-filter-alist): Use them.  Add autoload cookie.
        (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
        (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
        `frameset--id' (it's supposed to be internal to frameset.el).
        (frameset--process-minibuffer-frames): Ditto.  Doc fix.
        (frameset--initial-params): New function.
        (frameset--get-frame): Use it.  Doc fix.
        (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
        Accept :all, not 'all.
        (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
        FORCE-DISPLAY.  Use :keywords for constant arguments to avoid collision
        with fbound symbols.  Fix frame id matching, and remove matching ids if
        the frame being restored is deleted.  Obey :delete.
      
      * lisp/desktop.el (desktop-restore-forces-onscreen)
        (desktop-restore-reuses-frames): Document :keyword constant values.
        (desktop-filter-parameters-alist): Remove, now identical to
        frameset-filter-alist.
        (desktop--filter-tty*): Remove, moved to frameset.el.
        (desktop-save-frameset, desktop-restore-frameset):
        Do not pass :filters argument.
      d5671a82
    • Juanma Barranquero's avatar
      lisp/desktop.el (desktop-clear): Be more careful about deleting frames. · 5414a283
      Juanma Barranquero authored
      Do it only when called interactively and desktop-restore-frames is non-nil.
      Doc fix.
      (desktop-read): Set desktop-saved-frameset to nil.
      5414a283
  25. 02 Aug, 2013 1 commit
    • Juanma Barranquero's avatar
      lisp/desktop.el: Move code related to saving frames to frameset.el. · 9421876d
      Juanma Barranquero authored
      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.
      lisp/frameset.el: New file.
      9421876d
  26. 28 Jul, 2013 2 commits
  27. 27 Jul, 2013 1 commit
  28. 26 Jul, 2013 2 commits
  29. 25 Jul, 2013 3 commits
  30. 24 Jul, 2013 1 commit
  31. 23 Jul, 2013 2 commits