[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.
- Re: [External] : Turning on savehist-mode by default, (continued)
- Re: Turning on savehist-mode by default, Po Lu, 2023/11/19
- Re: Turning on savehist-mode by default, Eli Zaretskii, 2023/11/19
- Re: Turning on savehist-mode by default, Dmitry Gutov, 2023/11/19
- Re: Turning on savehist-mode by default, Po Lu, 2023/11/19
- Re: Turning on savehist-mode by default, Dmitry Gutov, 2023/11/19
- Re: Turning on savehist-mode by default, Po Lu, 2023/11/19
- Re: Turning on savehist-mode by default,
Spencer Baugh <=
- Re: Turning on savehist-mode by default, Po Lu, 2023/11/19
- Re: Turning on savehist-mode by default, sbaugh, 2023/11/19
- Re: Turning on savehist-mode by default, Po Lu, 2023/11/19
- Re: Turning on savehist-mode by default, Spencer Baugh, 2023/11/20
- Re: [OT] Not clobbering bash history, brickviking, 2023/11/20
- Re: Not clobbering bash history, Juri Linkov, 2023/11/20
- Re: [OT] Not clobbering bash history, Richard Stallman, 2023/11/21
- Re: [OT] Not clobbering bash history, Arsen Arsenović, 2023/11/21
- Re: [OT] Not clobbering bash history, Richard Stallman, 2023/11/24
- Re: Turning on savehist-mode by default, Richard Stallman, 2023/11/19