1. 10 Apr, 2015 1 commit
  2. 05 Apr, 2015 1 commit
    • Alan Mackenzie's avatar
      Rationalize use of c[ad]+r, expunging cl-c[ad]\{3,4\}r. · 2056db3f
      Alan Mackenzie authored
      Also expunge eudc-c[ad]+r.
      
      * subr.el (internal--compiler-macro-cXXr): "New" function, copied
      from cl--compiler-macro-cXXr.
      (caar, cadr, cdar, cddr): Change from defsubsts to defuns with
      the above compiler-macro.
      
      * net/eudc.el (eudc-cadr, eudc-cdar, eudc-caar, eudc-cdaar): Remove.
      
      * emacs-lisp/cl.el (Top level dolist doing defaliases): Remove
      caaar, etc., from list of new alias functions.
      
      * emacs-lisp/cl-lib.el (cl-caaar, etc): Rename to caaar, etc.
      (gen-cXXr--rawname, gen-cXXr-all-cl-aliases): New function/macro
      which generate obsolete cl- aliases for caaar, etc.  Invoke them.
      
      * desktop.el:
      * edmacro.el:
      * emacs-lisp/cl-macs.el:
      * frameset.el:
      * ibuffer.el:
      * mail/footnote.el:
      * net/dbus.el:
      * net/eudc-export.el:
      * net/eudc.el:
      * net/eudcb-ph.el:
      * net/rcirc.el:
      * net/secrets.el:
      * play/5x5.el:
      * play/decipher.el:
      * play/hanoi.el:
      * progmodes/hideif.el:
      * ses.el: Replace cl-caaar, eudc-cadr, etc. with caaar and cadr, etc.
      2056db3f
  3. 05 Mar, 2015 2 commits
  4. 18 Feb, 2015 1 commit
  5. 09 Feb, 2015 1 commit
  6. 17 Jan, 2015 1 commit
  7. 01 Jan, 2015 2 commits
  8. 29 Dec, 2014 1 commit
    • Paul Eggert's avatar
      system-name's returned value can vary · f9acac75
      Paul Eggert authored
      Also, the system-name variable is now obsolete.
      Fixes Bug#19438.
      * doc/lispref/os.texi (System Environment):
      * etc/NEWS: Document this.
      * doc/misc/efaq.texi:
      (Displaying the current file name in the titlebar):
      * lisp/desktop.el (desktop-save-frameset):
      * lisp/dnd.el (dnd-get-local-file-uri):
      * lisp/gnus/message.el (message-make-fqdn):
      * lisp/gnus/nnvirtual.el (nnvirtual-retrieve-headers)
      (nnvirtual-update-xref-header):
      * lisp/nxml/rng-uri.el (rng-uri-file-name-1):
      * lisp/org/org-clock.el (org-clock-save):
      * src/filelock.c (current_lock_owner):
      * src/xrdb.c (get_environ_db):
      * src/xterm.c (same_x_server):
      * src/xterm.c (x_term_init):
      Prefer (system-name) to system-name, and avoid naming
      locals 'system-name'.
      * doc/misc/smtpmail.texi (Server workarounds): Fix grammar.
      * lisp/startup.el (system-name): Now an obsolete variable.
      * src/editfns.c (cached_system_name): New static var.
      (init_and_cache_system_name): New function.
      (init_editfns, Fsystem_name): Use it.
      (syms_of_editfns): Initialize it and Vsystem_name to the same value.
      * src/sysdep.c [HAVE_SOCKETS]: Don't include <sys/socket.h>, <netdb.h>.
      (h_errno) [TRY_AGAIN && !HAVE_H_ERRNO]: Remove decl.
      (init_system_name) [HAVE_SOCKETS]: Don't canonicalize the name.
      Don't create a new string if the current value is already correct.
      f9acac75
  9. 21 Nov, 2014 1 commit
  10. 10 Sep, 2014 1 commit
  11. 16 Jul, 2014 1 commit
  12. 03 Jul, 2014 1 commit
  13. 02 Jul, 2014 1 commit
  14. 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
  15. 06 Jun, 2014 1 commit
  16. 27 Apr, 2014 1 commit
  17. 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
  18. 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
  19. 10 Mar, 2014 1 commit
  20. 22 Feb, 2014 1 commit
  21. 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
  22. 07 Feb, 2014 3 commits
  23. 03 Feb, 2014 2 commits
  24. 01 Jan, 2014 1 commit
  25. 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
  26. 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
  27. 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
  28. 10 Oct, 2013 1 commit
  29. 16 Aug, 2013 1 commit
  30. 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
  31. 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
  32. 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
  33. 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
  34. 28 Jul, 2013 1 commit