From: Lars Hansen <larsh@math.ku.dk>
Cc: emacs-devel@gnu.org
Subject: Re: desktop
Date: Tue, 19 Aug 2003 10:45:19 +0200 [thread overview]
Message-ID: <3F41E39F.6040502@math.ku.dk> (raw)
In-Reply-To: <buoptj2cgi7.fsf@mcspd15.ucom.lsi.nec.co.jp>
About the desktop module enabling thing:
When `desktop-enable' is nil the desktop module should do absolutely
nothing. Otherwise the variable name would be misleading.
When `desktop-enable' is non-nil, the module should try to load a
desktop when Emacs is started, and it should try to save it when Emacs
is killed. There are several variable that let you customize how.
Alex pointed out that you have to set `desktop-enable' to non-nil if you
want the desktop saved at Emacs kill, this was not so previously (in the
released versions of Emacs). That is true. IMHO it was a bug that the
desktop was saved even if `desktop-enable' was nil. That bug is
corrected now.
Alex also pointed out that the documentation in the desktop module and
in the manual is wrong. That is also true. It should be something like:
To enable desktop saving, use customize to set `desktop-enable' to
non-nil.
Alternatively, place the following two lines somewhere in your .emacs
file:
(desktop-load-default)
(setq desktop-enable t)
You should not call `desktop-read' in your .emacs file, that is done in
the `after-init-hook'.
It is also wrong, as stated it the manual, that you need to save the
desktop manually the first time. Previously that was needed in order the
set the value of `desktop-dirname'. Now Emacs will ask when killed if
the value is needed and unknown.
I agree with Miles and Alex that it would be confusing to users if
simply loading the desktop module would enable it. So I think
`desktop-enable' should continue to have the default value nil.
I think more updates to the documentation of the desktop module is
needed. I will work on it and post some proposals later.
Lars
next prev parent reply other threads:[~2003-08-19 8:45 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-08-15 23:31 desktop Alex Schroeder
2003-08-16 7:32 ` desktop Lars Hansen
2003-08-16 13:55 ` desktop and misc.texi Alex Schroeder
2003-08-16 18:17 ` Lars Hansen
2003-08-18 4:52 ` desktop Richard Stallman
2003-08-18 9:33 ` desktop Lars Hansen
2003-08-18 10:05 ` desktop Miles Bader
2003-08-18 15:53 ` desktop Alex Schroeder
2003-08-19 6:23 ` desktop Miles Bader
2003-08-19 8:45 ` Lars Hansen [this message]
2003-08-20 2:43 ` desktop Richard Stallman
2003-08-20 7:46 ` desktop Lars Hansen
2003-08-20 10:24 ` desktop Alex Schroeder
2003-08-21 14:11 ` desktop Richard Stallman
2003-08-21 17:55 ` desktop Lars Hansen
2003-08-21 21:59 ` desktop Alex Schroeder
2003-08-23 3:59 ` desktop Richard Stallman
2003-08-24 13:43 ` desktop Lars Hansen
2003-08-24 0:09 ` desktop Richard Stallman
2003-08-24 6:01 ` desktop Lars Hansen
2003-08-24 19:59 ` desktop Alex Schroeder
2003-08-25 6:03 ` desktop Lars Hansen
2003-08-25 15:21 ` desktop Richard Stallman
2003-08-25 3:29 ` desktop Richard Stallman
2003-08-25 6:05 ` desktop Lars Hansen
2003-08-18 11:34 ` desktop Alex Schroeder
2003-08-19 5:58 ` desktop Richard Stallman
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3F41E39F.6040502@math.ku.dk \
--to=larsh@math.ku.dk \
--cc=emacs-devel@gnu.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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.