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: Dmitry Gutov
Subject: Re: Turning on savehist-mode by default
Date: Sun, 19 Nov 2023 16:08:44 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 19/11/2023 08:59, Po Lu wrote:
There is a grave disadvantage to introducing kill-emacs-hooks or saving
files periodically from a timer.  In the case of the former, Emacs will
behave inconsistently, subject to whether it's been killed such that the
hook cannot run.  And the latter runs the risk of files being corrupted
if the file is being saved, by chance, the instant Emacs is killed.

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.



reply via email to

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