From: Glenn Morris <rgm@gnu.org>
To: Juri Linkov <juri@jurta.org>
Cc: 16630@debbugs.gnu.org
Subject: bug#16630: desktop-auto-save seems confusing
Date: Mon, 03 Feb 2014 21:47:53 -0500 [thread overview]
Message-ID: <gsd2j3siee.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <87zjm8bmpt.fsf@mail.jurta.org> (Juri Linkov's message of "Mon, 03 Feb 2014 10:54:22 +0200")
Juri Linkov wrote:
>> Why doesn't enabling desktop-save-mode at any time just turn it on?
>> Why does it require the desktop file to exist beforehand?
>
> desktop-auto-save is an noninteractive operation, so first
> you need to select a directory where you want to save the desktop
> using M-x desktop-save or M-x desktop-save-in-desktop-dir
> that asks interactively where to save the desktop.
> This allows desktop-auto-save to know the desktop file name.
emacs -Q
M-x desktop-save-mode RET
M-x desktop-save RET /tmp RET
C-h v desktop-auto-save-timer
-> still nil, still no auto-save
As I said, nothing enables desktop-auto-save except after-init-hook.
Whereas if I happen to customize desktop-auto-save-timeout, suddenly it
will start auto-saving. This doesn't make much sense.
(Also, I guess the ignore-errors in the :set of desktop-auto-save-timeout
isn't really needed, rather an :initialize is.)
next prev parent reply other threads:[~2014-02-04 2:47 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-02-03 7:47 bug#16630: desktop-auto-save seems confusing Glenn Morris
2014-02-03 8:54 ` Juri Linkov
2014-02-04 2:47 ` Glenn Morris [this message]
2014-02-04 7:50 ` Juri Linkov
2014-02-05 5:52 ` Glenn Morris
2014-02-05 7:48 ` Juri Linkov
2014-02-07 7:45 ` Juri Linkov
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=gsd2j3siee.fsf@fencepost.gnu.org \
--to=rgm@gnu.org \
--cc=16630@debbugs.gnu.org \
--cc=juri@jurta.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).