[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Emacs Newbie Info Pages
From: |
Eli Zaretskii |
Subject: |
Re: Emacs Newbie Info Pages |
Date: |
Sun, 22 Sep 2024 17:31:43 +0300 |
> Date: Sun, 22 Sep 2024 13:37:05 +0100 (BST)
> From: Peter Oliver <p.d.oliver@mavit.org.uk>
> cc: summeremacs@summerstar.me, emacs-devel@gnu.org
>
> How about a customisation variable apply-defaults-from-emacs-major-version,
> that would be automatically set to the current version when the init file is
> written for the first time? With that in place, defaults in new Emacs
> versions could be changed more freely, and users could opt-in to updated
> defaults when/if they’re ready.
>
> With this, the :version argument to defcustom would no-longer be sufficient,
> of course. You’d need, say, a :history argument containing a list of version
> and default-prior-to-that-version pairs.
This only works with options that use "simple" values. It doesn't
work when options change together with supporting code, because when
the supporting code is modified or deleted, there's no practical way
for Emacs to revert those changes if the user requests the state of
affairs as in a past version.
So, in addition to the significant increase of the maintenance burden
(to keep :history accurate and up-to-date), we'll have situations that
are impossible to solve this way.
- Re: Emacs Newbie Info Pages, (continued)
- Re: Emacs Newbie Info Pages, Summer Emacs, 2024/09/13
- Re: Emacs Newbie Info Pages, Eli Zaretskii, 2024/09/13
- Re: Emacs Newbie Info Pages, Summer Emacs, 2024/09/13
- Re: Emacs Newbie Info Pages, Eli Zaretskii, 2024/09/13
- Re: Emacs Newbie Info Pages, Summer Emacs, 2024/09/13
- Re: Emacs Newbie Info Pages, Eli Zaretskii, 2024/09/13
- Re: Emacs Newbie Info Pages, Emanuel Berg, 2024/09/18
- Re: Emacs Newbie Info Pages, Juergen Fenn, 2024/09/18
- Re: Emacs Newbie Info Pages, Emanuel Berg, 2024/09/20
Re: Emacs Newbie Info Pages, Peter Oliver, 2024/09/22
- Re: Emacs Newbie Info Pages,
Eli Zaretskii <=
Re: Emacs Newbie Info Pages, Eli Zaretskii, 2024/09/13