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: Eli Zaretskii
Subject: Re: [External] : Turning on savehist-mode by default
Date: Mon, 20 Nov 2023 16:05:09 +0200

> From: Manuel Giraud <manuel@ledu-giraud.fr>
> Cc: 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 14:15:24 +0100
> 
> Eli Zaretskii <eliz@gnu.org> writes:
> 
> > 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.

Maybe.  Let me think about it.

> >> 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.

If you really want all or most of the history variables, then savehist
is easier and more convenient, since you don't have to name every
variable you want to save.  Me, I want to save only a small number of
them, the rest are useless for me.



reply via email to

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