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: Tue, 06 Sep 2022 12:34:00 +0200 Message-ID: <87ilm0vlk7.fsf@gnus.org> References: <87bks0368n.fsf@fastmail.fm> <87h71pc450.fsf@posteo.net> <87y1v1j4os.fsf@gnus.org> <87bkrxg81b.fsf@gmail.com> <875yi4iy37.fsf@gnus.org> <871qsrbedc.fsf@gnus.org> <877d2iff15.fsf@gmail.com> <878rmy3wc7.fsf@gnus.org> <87tu5mdopn.fsf@gmail.com> <87h71mdkuq.fsf@gmail.com> <87edwp1w2z.fsf@gnus.org> <87wnagdih0.fsf@gmail.com> 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="13982"; 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, Philip Kaludercic , Stefan Kangas To: Robert Pluim Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 06 14:13:10 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 1oVXS2-0003Qz-Cn for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 14:13:10 +0200 Original-Received: from localhost ([::1]:45306 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oVXS0-0004xP-QD for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 06 Sep 2022 08:13:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58986) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oVVv5-0005TX-4J for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 06:35:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:60968) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oVVv4-0008QW-MH for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 06:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oVVv4-00032r-AE for bug-gnu-emacs@gnu.org; Tue, 06 Sep 2022 06:35: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: Tue, 06 Sep 2022 10:35: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.166246045811644 (code B ref 57503); Tue, 06 Sep 2022 10:35:02 +0000 Original-Received: (at 57503) by debbugs.gnu.org; 6 Sep 2022 10:34:18 +0000 Original-Received: from localhost ([127.0.0.1]:49667 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVVuJ-00031d-5r for submit@debbugs.gnu.org; Tue, 06 Sep 2022 06:34:18 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:55172) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oVVuD-00031I-Vn for 57503@debbugs.gnu.org; Tue, 06 Sep 2022 06:34:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID :Date:References:In-Reply-To:Subject:Cc:To:From:Sender:Reply-To: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=3mXunRYhnqnLGBgfUGenB8JUiyi0SB3k/oG5+mZ38HA=; b=VhRriv0AqLGa7f2H4evsNhFsgw PRHAROcTjMc0SKOsBDHMcUmPiePdc1fLylhzlrAyDIdIUYZ0ynXOUyNHQMoNHmVdGN15Vkl0qu4Ui wdeJwNIMXCA8RlpNlsjIzFDSLg6paKUNyScxYUqsufitjhP8DzxSrUuFjELbgE08lSMU=; 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 1oVVu4-0003ZF-Iq; Tue, 06 Sep 2022 12:34:03 +0200 In-Reply-To: <87wnagdih0.fsf@gmail.com> (Robert Pluim's message of "Tue, 06 Sep 2022 10:18:03 +0200") Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAABGdBTUEAALGPC/xhBQAAACBj SFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAAElBMVEXOZUE5Hxnpl1nq vHL32qX////Xoiv6AAAAAWJLR0QF+G/pxwAAAAd0SU1FB+YJBgoYIn5eM/kAAAGxSURBVDjLbZON keMwCIURSQHSXgMcSgEeSAE7a/Vf0z30E8s7x0xshU8gHshE3Qp+IsREqRTaTatVda1e0wVUAgC5 utXlzQEkVrW6xz/VBZC+A3ufyMNCdxPk93nAL/awWd/dGuxE6qhEf/lbO4iYrwJgz9b8DYIl6w5O /9H3eb4Qw5ubGLpJ+Hi179guHUXhjGcmpVcTlvAHmIEpkteTwjvBaECJhTWcsA6JZ8pds2oTjZcM IFRglNgfODzKGhUJCfw5ZaXnaVHT1auIKLkSiuoHfJSUMdCvM3/fAGPSL5P0bB5lxex7a/oVeB6W o48REo2MaXfw56eyAxh6EyEYNHZEWc3DbLU21qgPIV+G9bstFX3XlMgAti5DBzKVPPyMTMoLLIkg R+8tdtbZ4zRItQV8FjH8JX9Atb5coOTpDx1mIukGaACU+/FDzozocneQr1SufVCL8ABckWn3R64O vOrfGGzZIsZV6KUugYVWVfjOdj8vfXRpS3dQbe7ugx/6ho4ZkUe/PsIRMQ+dHf4voAHGCFWvbkQI 6/yY3cpGQvcCxwbQl9wvFT6jGwgtPC7JP8qmWOXIOGwBAAAAJXRFWHRkYXRlOmNyZWF0ZQAyMDIy LTA5LTA2VDEwOjI0OjM0KzAwOjAwGVaAdgAAACV0RVh0ZGF0ZTptb2RpZnkAMjAyMi0wOS0wNlQx MDoyNDozNCswMDowMGgLOMoAAAAASUVORK5CYII= X-Now-Playing: David Bowie's _Low_: "Warszawa" 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:241634 Archived-At: Robert Pluim writes: > How do we define 'fresher'? I left that as an exercise for the reader. =F0=9F=AB=A0=20=20 > Anyway, if in doubt, use brute force: > > (define-multisession-variable package-selected-packages-ms > (package--find-non-dependencies)) > > works fine. We could even condition it on `package-selected-packages' > being non-nil. Hm... I wonder whether we could just drop the variable altogether. That is, checking for freshness sounds like as much work as recalculating the variable. What are the actual effects of the variable? That is, what code is it supposed to speed up?