1. 17 Dec, 2016 1 commit
    • Eli Zaretskii's avatar
      Repair desktop restoration on text terminals · 3d94931c
      Eli Zaretskii authored
      * lisp/desktop.el (desktop-restoring-frameset-p): Test for the GUI
      frame here, instead of in desktop-restoring-frameset.  That's
      because desktop-read wants to know whether frameset will actually
      be restored, and has fallback procedures up its sleeve when it
      won't be; these fallbacks need to be invoked when the frameset is
      not going to be restored.  (Bug#24298)
      3d94931c
  2. 30 May, 2016 1 commit
  3. 21 May, 2016 1 commit
  4. 30 Jan, 2016 1 commit
    • Glenn Morris's avatar
      Improve the custom type of some user options. · 0fac75fe
      Glenn Morris authored
      * lisp/desktop.el (desktop-minor-mode-table):
      * lisp/man.el (Man-frame-parameters):
      * lisp/midnight.el (midnight-delay):
      * lisp/speedbar.el (speedbar-select-frame-method):
      * lisp/tooltip.el (tooltip-frame-parameters):
      * lisp/tree-widget.el (tree-widget-space-width):
      * lisp/type-break.el (type-break-keystroke-threshold):
      * lisp/woman.el (woman-imenu-generic-expression):
      * lisp/cedet/ede.el (ede-debug-program-function):
      * lisp/cedet/ede/project-am.el (project-am-debug-target-function):
      * lisp/emulation/viper-keym.el (viper-toggle-key):
      * lisp/erc/erc-networks.el (erc-server-alist):
      * lisp/gnus/message.el (message-deletable-headers, message-signature):
      * lisp/mail/mailalias.el (mail-directory-stream):
      * lisp/play/tetris.el (tetris-x-colors):
      * lisp/progmodes/gud.el (gud-tooltip-modes): Improve custom type.
      0fac75fe
  5. 18 Jan, 2016 1 commit
    • Alan Mackenzie's avatar
      Desktop: protect users against inadvertant upgrading of desktop file. · 20defc55
      Alan Mackenzie authored
      An upgraded (version 208) desktop file cannot be read in Emacs < 25.
      
      * etc/NEWS: Add an entry about upgrading a desktop file.
      
      * lisp/desktop.el (desktop-file-version): Amend doc string.
      (desktop-native-file-version, desktop-io-file-version): new variables.
      (desktop-clear): Set desktop-io-file-version to nil.
      (desktop-buffer-info): make the presence of the last item on the list
      conditional on (>= desktop-io-file-version 208).
      (desktop-save): Add extra parameter VERSION to take user's C-u or C-u C-u.
      Amend the doc string.  Add code to determine the output file version.
      (desktop-create-buffer): Set desktop-io-file-version to the input file's
      version.
      20defc55
  6. 01 Jan, 2016 1 commit
  7. 17 Nov, 2015 1 commit
    • Paul Eggert's avatar
      Fix docstring quoting problems with ‘ '’ · ac16149b
      Paul Eggert authored
      Problem reported by Artur Malabarba in:
      http://lists.gnu.org/archive/html/emacs-devel/2015-11/msg01513.html
      Most of these fixes are to documentation; many involve fixing
      longstanding quoting glitches that are independent of the
      recent substitute-command-keys changes.  The changes to code are:
      * lisp/cedet/mode-local.el (mode-local-augment-function-help)
      (describe-mode-local-overload):
      Substitute docstrings before displaying them.
      * lisp/emacs-lisp/cl-macs.el (cl--transform-lambda):
      Quote the generated docstring for later substitution.
      ac16149b
  8. 28 Sep, 2015 1 commit
  9. 21 Aug, 2015 1 commit
    • Paul Eggert's avatar
      Avoid hard-coding "M-x command" in docstrings · c1cacb09
      Paul Eggert authored
      * lisp/calendar/todo-mode.el (todo-mode):
      * lisp/desktop.el (desktop-save-mode):
      * lisp/edmacro.el (edit-kbd-macro):
      * lisp/emacs-lisp/package.el (package-menu-execute):
      * lisp/emulation/viper-cmd.el (viper-ask-level):
      * lisp/emulation/viper-init.el (viper-expert-level):
      * lisp/filesets.el (filesets-add-buffer):
      * lisp/follow.el (follow-mode):
      * lisp/gnus/auth-source.el (auth-sources):
      * lisp/international/ogonek.el (ogonek-informacja)
      (ogonek-information):
      * lisp/net/tramp.el (tramp-process-actions):
      * lisp/org/org-gnus.el (org-gnus-no-new-news):
      * lisp/org/org.el (org-ellipsis):
      * lisp/progmodes/python.el (python-shell-get-process-or-error):
      * lisp/progmodes/vhdl-mode.el (vhdl-mode):
      * lisp/server.el (server-start):
      * lisp/type-break.el (type-break-noninteractive-query):
      * lisp/userlock.el (ask-user-about-supersession-help):
      * lisp/whitespace.el (whitespace-report-region):
      Prefer (substitute-command-keys "`\\[foo-command]'")
      to "`M-x foo-command'" in docstrings and the like.
      c1cacb09
  10. 26 May, 2015 1 commit
  11. 10 Apr, 2015 1 commit
  12. 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
  13. 05 Mar, 2015 2 commits
  14. 18 Feb, 2015 1 commit
  15. 09 Feb, 2015 1 commit
  16. 17 Jan, 2015 1 commit
  17. 01 Jan, 2015 2 commits
  18. 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
  19. 21 Nov, 2014 1 commit
  20. 10 Sep, 2014 1 commit
  21. 16 Jul, 2014 1 commit
  22. 03 Jul, 2014 1 commit
  23. 02 Jul, 2014 1 commit
  24. 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
  25. 06 Jun, 2014 1 commit
  26. 27 Apr, 2014 1 commit
  27. 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
  28. 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
  29. 10 Mar, 2014 1 commit
  30. 22 Feb, 2014 1 commit
  31. 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
  32. 07 Feb, 2014 3 commits
  33. 03 Feb, 2014 2 commits
  34. 01 Jan, 2014 1 commit
  35. 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