From: Lars Hansen <larsh@math.ku.dk>
Cc: alex@emacswiki.org, emacs-devel@gnu.org, miles@gnu.org
Subject: Re: desktop
Date: Thu, 21 Aug 2003 19:55:31 +0200 [thread overview]
Message-ID: <3F450793.9020201@math.ku.dk> (raw)
In-Reply-To: E19pq9f-00044n-I9@fencepost.gnu.org
>
>
>Here's what the manual says now:
>
> To use Desktop, you should use the Customization buffer (@pxref{Easy
> Customization}) to set @code{desktop-enable} to a non-@code{nil} value,
> or add these lines at the end of your @file{.emacs} file:
>
> @example
> (desktop-load-default)
> (desktop-read)
> (setq desktop-enable t)
> @end example
>
>Are you saying that the second option is a mistake?
>
>
Yes. The desktop module adds an anonymous function to the
after-init-hook, this function calls desktop-read.
>Otherwise, it looks like desktop-read should set desktop-enable.
>Is there a case where people want to use desktop-read without
>setting desktop-enable?
>
Yes. desktop-enable is supposed to enable _automatic_ desktop save and
restore. You might want to call desktop-read without the side effect of
enabling automatic saving.
> - Get rid of desktop-remove
>
>Why do that?
>
>
desktop-remove is, according to the docstring, supposed to "Delete the
Desktop file and inactivate the desktop system". If we introduce
desktop-save as a minor mode, disabling is should be done by the mode
function. Furthermore desktop-remove only removes the desktop file in
desktop-dirname, not desktop files in other directories. I think it
would be better not to delete any desktop file at all.
next prev parent reply other threads:[~2003-08-21 17:55 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 ` desktop Lars Hansen
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 ` Lars Hansen [this message]
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=3F450793.9020201@math.ku.dk \
--to=larsh@math.ku.dk \
--cc=alex@emacswiki.org \
--cc=emacs-devel@gnu.org \
--cc=miles@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.