emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: desktop.el: autosave?


From: Juri Linkov
Subject: Re: desktop.el: autosave?
Date: Thu, 13 Dec 2007 01:59:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.50 (gnu/linux)

>     So what do you think about this case? Presumably one of desktop and
>     savehist-mode should be marked as the preferred way of saving history.
>
> Looking at desktop.el I don't think it saves minibuffer history
> variables.  I can't find any code that would do so.  It seems that
> desktop.el and savehist.el are complementary, not duplicates at all.
>
> Where did the idea come from that desktop.el saves minibuffer history?

desktop.el allows saving any global variable listed in the option
`desktop-globals-to-save'.  I use it to save history lists in addition
to the default global variables in this list.

> The real duplicates in that area are saveplace.el and desktop.el.

desktop.el saves file positions restored once the whole desktop is restored
while positions stored by saveplace.el get restored on every file visit.

-- 
Juri Linkov
http://www.jurta.org/emacs/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]