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: Eli Zaretskii
Subject: Re: Turning on savehist-mode by default
Date: Sun, 17 Dec 2023 09:50:51 +0200

> From: Po Lu <luangruo@yahoo.com>
> Cc: Eli Zaretskii <eliz@gnu.org>,  sbaugh@catern.com,  emacs-devel@gnu.org
> Date: Sun, 17 Dec 2023 07:57:07 +0800
> 
> Stefan Kangas <stefankangas@gmail.com> writes:
> 
> > Meanwhile, I see few drawbacks to enabling it.
> 
> Multiple, concurrent Emacs sessions will cease behaving in an orderly
> and predictable manner.  It makes little sense for Emacs to provide
> features designed to enable such orderly operation, such as lock files,
> while undermining them by enabling recentf or savehist by default, both
> of which overwrite files other sessions might've generated with their
> own.

Isn't this a general issue with saving any customizations?  E.g.,
saving options, saving desktop, etc. etc.?  Saving history from Bash,
GDB, etc. has the same problems, AFAIK.

And anyway, the problem already exists for those who turn on savehist
in their customizations.  If your usage patterns must avoid the
overwriting you mention above, simply disable savehist in your init
file, and Bob's your uncle.

IOW, once again: personal preferences should NOT affect the defaults,
nor are they too important when discussing those defaults.  Unless the
feature we want to turn on is buggy (in which case it must be fixed
first), turning it on by default cannot possibly cause problems we
don't already have.



reply via email to

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