GNU bug report logs - #57503
28.1.91; package-selected-packages should not be saved to custom-file

Previous Next

Package: emacs;

Reported by: Joost Kremers <joostkremers <at> fastmail.fm>

Date: Wed, 31 Aug 2022 13:15:01 UTC

Severity: normal

Found in version 28.1.91

Full log


Message #29 received at 57503 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefankangas <at> gmail.com>
To: Lars Ingebrigtsen <larsi <at> gnus.org>, Robert Pluim <rpluim <at> gmail.com>
Cc: Joost Kremers <joostkremers <at> fastmail.fm>, 57503 <at> debbugs.gnu.org,
 Philip Kaludercic <philipk <at> posteo.net>
Subject: Re: bug#57503: 28.1.91; package-selected-packages should not be saved
 to custom-file
Date: Sat, 3 Sep 2022 08:32:26 -0700
Lars Ingebrigtsen <larsi <at> gnus.org> writes:

> Hm...  I don't immediately see any way to make this work seamlessly in a
> way that's backwards/forwards compatible.

How about something like this:

- Keep the old defcustom, and add a new multisession variable.

- If the old variable exists, use it.  Otherwise the new one.

- Add a new command that "upgrades" the variable into a multisession
  variable.  Make it say that it will break things on Emacs < 29.  Don't
  run it automatically.

- In Emacs version N (e.g., 5 major versions from now?), upgrade any
  user automatically, without prompting, and make the defcustom
  obsolete.




This bug report was last modified 2 years and 344 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.