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: Fri, 02 Sep 2022 13:11:39 +0000 Message-ID: <87h71pc450.fsf@posteo.net> References: <87bks0368n.fsf@fastmail.fm> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22637"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 57503@debbugs.gnu.org To: Joost Kremers Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Sep 02 15:13:41 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 1oU6UN-0005al-2t for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Sep 2022 15:13:39 +0200 Original-Received: from localhost ([::1]:53806 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oU6UL-0004rJ-PL for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Sep 2022 09:13:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57684) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oU6So-0003T6-IU for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 09:12:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55533) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oU6So-0001SM-8w for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 09:12:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oU6So-00041D-07 for bug-gnu-emacs@gnu.org; Fri, 02 Sep 2022 09:12: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: Fri, 02 Sep 2022 13:12:01 +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.166212431215429 (code B ref 57503); Fri, 02 Sep 2022 13:12:01 +0000 Original-Received: (at 57503) by debbugs.gnu.org; 2 Sep 2022 13:11:52 +0000 Original-Received: from localhost ([127.0.0.1]:45282 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU6Sd-00040m-PX for submit@debbugs.gnu.org; Fri, 02 Sep 2022 09:11:52 -0400 Original-Received: from mout02.posteo.de ([185.67.36.66]:57929) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oU6Sb-00040W-G1 for 57503@debbugs.gnu.org; Fri, 02 Sep 2022 09:11:50 -0400 Original-Received: from submission (posteo.de [185.67.36.169]) by mout02.posteo.de (Postfix) with ESMTPS id B6F07240103 for <57503@debbugs.gnu.org>; Fri, 2 Sep 2022 15:11:41 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=posteo.net; s=2017; t=1662124303; bh=XVunpLuee3Sqh/Sk2hxMIhSKbq/iwxDdUxbWlVBhSmI=; h=From:To:Cc:Subject:Autocrypt:Date:From; b=iRTMQp1em+kWmBOgr4wyuAUidlr3zq1aBZLvJNgcMzJdpCsF3H/Cv1fezIyAprige PjLhD78ypJHQ385y3nPUw0G699HEXPb8SVir3ozD8tTNOXEhpZUniWR+3S83iHwaPW VP44Bjs6FssmLulaoSmVmtNbcJ3fk4TESmVDZvq0YyevC1y7KG60rZg9XE56DPLbKb uNL2rsUDFU7kBBMfip6gyCI4mnnlgzLYlycrdrPg8W0HmYpEPxmKmbFjwGtkc4vCwv 0s1xS/GMAP/i6QgRyhoUGx8SWDROcHgJCRVF6VmxrdyoI2FublfDfg3MvQPAolGB0W qvkkraOVhRbJQ== Original-Received: from customer (localhost [127.0.0.1]) by submission (posteo.de) with ESMTPSA id 4MJywr5XvBz6tlh; Fri, 2 Sep 2022 15:11:39 +0200 (CEST) In-Reply-To: <87bks0368n.fsf@fastmail.fm> (Joost Kremers's message of "Wed, 31 Aug 2022 14:43:43 +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:241342 Archived-At: Joost Kremers writes: > The variable `package-selected-packages` should not be saved to the users init > file (or whatever `custom-file` points to). This was discussed before on > emacs-devel but wasn't resolved: > > but > > The gist of it is that if you keep your configuration under version control, > having package-selected-packages written to your config file is inconvenient if > you share your config across multiple machines but do not want to have the exact > same set of packages installed on each. > > Even if you do want to keep the exact same set of packages on each machine, you > still need to be careful about installing them, because the order of package > installation affects the order of package-selected-packages, and so does > deleting and reinstalling a package. As a result, I often experienced > meaningless VC conflicts that needed to be resolved. > > IMHO the value of package-selected-packages should be written to a separate > file, so that it's possible to put it under version control or ignore it, > independently from the rest of one's configuration. How about writing it into a file like "~/.config/emacs/elpa/selected-packages"?