emacs-devel
[Top][All Lists]
Advanced

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

Re: Turning on savehist-mode by default


From: Spencer Baugh
Subject: Re: Turning on savehist-mode by default
Date: Sun, 19 Nov 2023 15:17:48 +0000 (UTC)

Po Lu <luangruo@yahoo.com> writes:
> Dmitry Gutov <dmitry@gutov.dev> writes:
>
>> That would be a real problem if the information saved by savehist-mode
>> were of grave importance.
>>
>> Completion input histories are not usually in that category. People
>> can repeat their inputs manually; it's just a time-saving feature.
>
> It is a nuisance for Emacs to display outdated completion history if it
> is abruptly killed:

I agree that outdated completion history is a nuisance.  However, isn't
outdated completion history better than none?

> anyone who has run multiple bash shells in parallel,
> and thus played the guessing game of "which shell's history has been
> preserved?" will concur.

I definitely find the bash history experience extremely annoying.  It
happens even when bash is exited cleanly - it's just a consequence of
the fact that bash overwrites the previous history when exiting, rather
than combining them in some way.

Emacs isn't commonly run in parallel, and when it is, at least for me
there's always one main Emacs instance which outlives the others.  So we
shouldn't have the bash experience.  But still: I'd be happy to
implement some history merging behavior so we don't get the bash history
experience, if that's a requirement for savehist-mode to be turned on by
default.



reply via email to

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