From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Philip Kaludercic Newsgroups: gmane.emacs.bugs Subject: bug#57503: 28.1.91; package-selected-packages should not be saved to custom-file Date: Sat, 03 Sep 2022 10:17:43 +0000 Message-ID: <875yi4lq2g.fsf@posteo.net> 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 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34154"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Joost Kremers , 57503@debbugs.gnu.org, Robert Pluim To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Sep 03 12:18:32 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 1oUQER-0008hn-Dy for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 12:18:31 +0200 Original-Received: from localhost ([::1]:57992 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oUQEQ-0005MQ-6L for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Sep 2022 06:18:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52802) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oUQDy-0004f6-Jo for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 06:18:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:52324) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oUQDy-0004dr-5g for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 06:18:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oUQDy-00068n-1J for bug-gnu-emacs@gnu.org; Sat, 03 Sep 2022 06:18:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Philip Kaludercic Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Sep 2022 10:18: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.166220028123597 (code B ref 57503); Sat, 03 Sep 2022 10:18:02 +0000 Original-Received: (at 57503) by debbugs.gnu.org; 3 Sep 2022 10:18:01 +0000 Original-Received: from localhost ([127.0.0.1]:41022 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUQDx-00068T-1i for submit@debbugs.gnu.org; Sat, 03 Sep 2022 06:18:01 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:37999) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oUQDu-000688-NJ for 57503@debbugs.gnu.org; Sat, 03 Sep 2022 06:17:59 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id 6D8CD240101 for <57503@debbugs.gnu.org>; Sat, 3 Sep 2022 12:17:52 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1662200272; bh=hThmcSxTj98bbjuvh/9I7zlNuIxNrpHNA5cJf1jbLys=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=RnFM1qaSMU3e1SuUMuOZwJfLc+90pK/+OQTSjM7zFMrlN1b1mjjaa5XVH85lNI58b W7PSMmxtaYncH9n6ynIE2nbPCIcgN9dICIIuJDkZ4q7k09KvHshiHZ/o2Lu+6XZkyA tkxujMgiDIGK+IdcO/DRzUS7MxkBRYLahnaiqq5Cqq0OimX3H7iJbqCDYW5yKQXpTc xklSifl24LqNyKYPH4uVAoZrhURPNmo93bgSJokP6pbglI6KZ9QJ6eiAor9kFbGNiT h4nqEANrGNjt+maXXrsJIco/Apu9BA9lMI8bKccbzgyjPbRGc5uP5VlNhBgB4JfbRt Hcsjn3rhzwaqA== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MKW1q1vQyz9rxH; Sat, 3 Sep 2022 12:17:48 +0200 (CEST) In-Reply-To: <875yi4iy37.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 03 Sep 2022 11:52:44 +0200") Autocrypt: addr=philipk@posteo.net; prefer-encrypt=nopreference; keydata= mDMEYHHqUhYJKwYBBAHaRw8BAQdAp3GdmYJ6tm5McweY6dEvIYIiry+Oz9rU4MH6NHWK0Ee0QlBo aWxpcCBLYWx1ZGVyY2ljIChnZW5lcmF0ZWQgYnkgYXV0b2NyeXB0LmVsKSA8cGhpbGlwa0Bwb3N0 ZW8ubmV0PoiQBBMWCAA4FiEEDM2H44ZoPt9Ms0eHtVrAHPRh1FwFAmBx6lICGwMFCwkIBwIGFQoJ CAsCBBYCAwECHgECF4AACgkQtVrAHPRh1FyTkgEAjlbGPxFchvMbxzAES3r8QLuZgCxeAXunM9gh io0ePtUBALVhh9G6wIoZhl0gUCbQpoN/UJHI08Gm1qDob5zDxnIHuDgEYHHqUhIKKwYBBAGXVQEF AQEHQNcRB+MUimTMqoxxMMUERpOR+Q4b1KgncDZkhrO2ql1tAwEIB4h4BBgWCAAgFiEEDM2H44Zo Pt9Ms0eHtVrAHPRh1FwFAmBx6lICGwwACgkQtVrAHPRh1Fw1JwD/Qo7kvtib8jy7puyWrSv0MeTS g8qIxgoRWJE/KKdkCLEA/jb9b9/g8nnX+UcwHf/4VfKsjExlnND3FrBviXUW6NcB 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:241386 Archived-At: Lars Ingebrigtsen writes: > Robert Pluim writes: > >> For values of 'just' that are a little bigger than changing that one >> line =F0=9F=98=80 > > =F0=9F=98=89 > >> rough=CA=BCn=CA=BCready patch attached. Seems to work fine. I=CA=BCve no= t tested the >> interaction with a .emacs that has package-selected-packages set, but >> if I understand multisession variables correctly that will just be >> ignored. > > Hm, yes -- if we do this, we'll end up with all users both having that > variable saved in their init file in addition to the multisession > storage. Hm. That sounds really confusing. > > I can also see people running into difficulties when switching between > older and newer versions of Emacs, and Emacs becoming very confused. > > Hm... I don't immediately see any way to make this work seamlessly in a > way that's backwards/forwards compatible. What about if we allowed setting `package-selected-packages' to a symbol like 'external, in which case the list would be saved in a file? That way users would have to explicitly opt-in.