From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Kangas Newsgroups: gmane.emacs.bugs Subject: bug#57503: 28.1.91; package-selected-packages should not be saved to custom-file Date: Sat, 3 Sep 2022 08:32:26 -0700 Message-ID: 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; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31126"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joost Kremers , 57503@debbugs.gnu.org, Philip Kaludercic To: Lars Ingebrigtsen , Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 03 17:33:55 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 1oUV9f-0007wF-EF for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 17:33:55 +0200 Original-Received: from localhost ([::1]:49150 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUV9e-00069J-Hu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 11:33:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48154) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUV8q-0005Jj-1a for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 11:33:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:53949) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUV8p-0002gC-Nf for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 11:33:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUV8p-0000D3-JU for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 11:33:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Kangas Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Sep 2022 15:33:03 +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.1662219154747 (code B ref 57503); Sat, 03 Sep 2022 15:33:03 +0000 Original-Received: (at 57503) by debbugs.gnu.org; 3 Sep 2022 15:32:34 +0000 Original-Received: from localhost ([127.0.0.1]:42645 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUV8M-0000Bz-2n for submit@debbugs.gnu.org; Sat, 03 Sep 2022 11:32:34 -0400 Original-Received: from mail-oa1-f49.google.com ([209.85.160.49]:44767) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUV8K-0000BO-Nf for 57503@debbugs.gnu.org; Sat, 03 Sep 2022 11:32:33 -0400 Original-Received: by mail-oa1-f49.google.com with SMTP id 586e51a60fabf-11eab59db71so11831554fac.11 for <57503@debbugs.gnu.org>; Sat, 03 Sep 2022 08:32:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:from:to:cc:subject:date; bh=mU/brt8vvOtGL+rS6xM4Yb/4aNq3xCkQTHdV6wMGxQU=; b=aiac3Vju8I37+FgLV56VetYCIsbpsdtJseRzdAtN7n+pJb9I1RG/jfbQjqaDf27KnW y3M87K8nJ37IE4NdG7D+Etvwkz8nHk6S6xJPrPy3Wr6Kc5pifWBpDl1iNpf8FEFHAhIq 2PA8dzJl46C9Fefg7BtcxBwcg9rGUFg8kf0B26Krt5QrJvXwhSCfMt4a4gtI91/jKXan PQ+w2c7JN1UfG2VhaTP/V4C4ndlYBWVyAhv3PjxsBRUQ34uYO0iJwyerHPpuxuBtJ8Z7 8aNocBXU9b2Uy2RxcrFVQSlHrnI30PrQD95UQdhP2PUXdJbDBjLl+4Vdpxvdn/cU2kc+ UByg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:mime-version:references:in-reply-to :from:x-gm-message-state:from:to:cc:subject:date; bh=mU/brt8vvOtGL+rS6xM4Yb/4aNq3xCkQTHdV6wMGxQU=; b=KDzTV454LmngdogvwA5VwD6gp+YDrb6SCZMJqaYSXRvO7V4TxRwDSC9ZgoyPh5Xb6v V+j/w9+ex3C6BV5d4NH+S+Z2BpSavrOYkyq5Zqj7LAYKIbSTGcIU15VWV0G/3h7epM7b H+UrMPlYQAa+POtfqdc5FoYlMUeBrhXqZEmS5N8iWA27Vs1AMMlV8Imh3YIZPE6rTRsV U0rIVh+qZYpA5JLbrxFRzRGEt2TZC3E2Imgyd6SL2tjHtNDJB462Ziem9gRvkBq309ir 6hSfiG+1EDDRt8bHtq9rdJo47fUHL6b9PadB9FxWM0gNejx83uRTZ74cyvuXBDCkTYP2 rEUQ== X-Gm-Message-State: ACgBeo1wFUAVdLP742fJcguJz4+STgNOGyLNTQj5OcMugopGzUFDS29y BIq9vWl1WpSXCCIrzlPQbJ2Zt2j4btBKuyvopcA= X-Google-Smtp-Source: AA6agR5IeOCDeRP2J9bNUf4gi3cAejwwu4IlUz0wH3cOHCbKqWAmUVNF34FjtXTD5fd8r63LM0iymBCtAGrneWeqcos= X-Received: by 2002:a05:6808:1688:b0:345:ea9a:2954 with SMTP id bb8-20020a056808168800b00345ea9a2954mr4174422oib.199.1662219146947; Sat, 03 Sep 2022 08:32:26 -0700 (PDT) Original-Received: from 753933720722 named unknown by gmailapi.google.com with HTTPREST; Sat, 3 Sep 2022 08:32:26 -0700 In-Reply-To: <875yi4iy37.fsf@gnus.org> X-Hashcash: 1:20:220903:rpluim@gmail.com::Soz2nMrWBVy7U94i:3MAB 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:241420 Archived-At: Lars Ingebrigtsen 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.