From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#57503: 28.1.91; package-selected-packages should not be saved to custom-file Date: Sun, 04 Sep 2022 12:52:47 +0200 Message-ID: <871qsrbedc.fsf@gnus.org> References: <87bks0368n.fsf@fastmail.fm> <87h71pc450.fsf@posteo.net> <87y1v1j4os.fsf@gnus.org> <87bkrxg81b.fsf@gmail.com> <875yi4iy37.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28363"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: Joost Kremers , 57503@debbugs.gnu.org, Robert Pluim , Philip Kaludercic To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 04 12:55:11 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oUnHT-0007B4-0l for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 12:55:11 +0200 Original-Received: from localhost ([::1]:58874 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUnHR-00083K-QS for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 04 Sep 2022 06:55:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:56106) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUnGN-0007k8-1p for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 06:54:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54808) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUnGM-00058b-LM for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 06:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUnGM-00078v-AS for bug-gnu-emacs@gnu.org; Sun, 04 Sep 2022 06:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 04 Sep 2022 10:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57503 X-GNU-PR-Package: emacs Original-Received: via spool by 57503-submit@debbugs.gnu.org id=B57503.166228878227378 (code B ref 57503); Sun, 04 Sep 2022 10:54:02 +0000 Original-Received: (at 57503) by debbugs.gnu.org; 4 Sep 2022 10:53:02 +0000 Original-Received: from localhost ([127.0.0.1]:43505 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUnFN-00077S-PR for submit@debbugs.gnu.org; Sun, 04 Sep 2022 06:53:02 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:56536) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUnFL-000778-3P for 57503@debbugs.gnu.org; Sun, 04 Sep 2022 06:52:59 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:Date:References: In-Reply-To:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=HTJMMnS7kHJGc1Uy1oWgAhlJsCdEygStOUBXhBV2W2Q=; b=pDowuG1RQX6OId2uBkfc3lU1Nw RArUKudPMnen8+KXwGKwe2icKBcWeYW0j2PWHDk3QatfcocdVq4X6Z3BUsPyIYbHLw1Pw8BgLp+WF /ougNotkp71E96MBeCCpFnHqS7vQGKINfhagngfgB5Q3Zu3XcSBn/aIGzjvavW73FayE=; Original-Received: from [84.212.220.105] (helo=joga) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oUnFB-0000Za-Dd; Sun, 04 Sep 2022 12:52:51 +0200 In-Reply-To: (Stefan Kangas's message of "Sat, 3 Sep 2022 08:32:26 -0700") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAD1BMVEX+/v7v7unt6+Xn 5t////+66/vLAAAAAWJLR0QEj2jZUQAAAAd0SU1FB+YJBAokKEdxa5MAAAAaSURBVDjLY2AYBaNg FIwCYgCjsgAuGTq5AAAfPQA2VnN/dwAAACV0RVh0ZGF0ZTpjcmVhdGUAMjAyMi0wOS0wNFQxMDoz Njo0MCswMDowMKUHh+IAAAAldEVYdGRhdGU6bW9kaWZ5ADIwMjItMDktMDRUMTA6MzY6NDArMDA6 MDDUWj9eAAAAAElFTkSuQmCC X-Now-Playing: The Beatles's _The Beatles (1)_: "I'm So Tired" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:241489 Archived-At: Stefan Kangas writes: > - 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. Hm... I think this has the disadvantage that it both requires user intervention, but in addition it'll force you into one usage pattern or another at some point. I think perhaps Stefan M's suggestion of adding a new user option to control the behaviour here is the only practical way forward.