emacs-devel
[Top][All Lists]
Advanced

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

Re: [External] : Turning on savehist-mode by default


From: Manuel Giraud
Subject: Re: [External] : Turning on savehist-mode by default
Date: Mon, 20 Nov 2023 14:15:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13)

Eli Zaretskii <eliz@gnu.org> writes:

>> From: Manuel Giraud <manuel@ledu-giraud.fr>
>> Cc: Yuri Khan <yuri.v.khan@gmail.com>,  juri@linkov.net,
>>   drew.adams@oracle.com,  philipk@posteo.net,  sbaugh@catern.com,
>>   emacs-devel@gnu.org
>> Date: Mon, 20 Nov 2023 10:53:46 +0100
>> 
>> Eli Zaretskii <eliz@gnu.org> writes:
>> 
>> >> Is it though? I’m using ‘desktop-save-mode’, not observing
>> >> preservation of histories, and not seeing any user option in the
>> >> Desktop group that would shout to me “enable this to save all
>> >> histories”. I see ‘file-name-history’ in ‘desktop-globals-to-save’ but
>> >> I wouldn’t like to whitelist all the histories I care about.
>> >
>> > Why not?  I do precisely that, FWIW.  It's a one-time configuration,
>> > so not a lot of effort.
>> 
>> I'm curious.  What desktop save option did you set for this?
>
> I customize desktop-globals-to-save.  It has file-name-history by
> default, and I add other history variables to it.

Thanks, I'll try to do that.  BTW, maybe this requires a paragraph in
info.  The "(emacs) Saving Emacs Sessions" node, only refers to the
savehist library.

>> I am currently using desktop-save *and* savehist but I could use
>> just desktop-save?
>
> I didn't study savehist too deeply, but it sounds like these
> functionalities are equivalent, yes.

Looking at my ".emacs.d/history" file, it seems that savehist comes with
lots of history saved by default: erc, eww, gnus-search, query-replace…
just to name a few.
-- 
Manuel Giraud



reply via email to

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