From unknown Sun Jun 15 08:47:56 2025 X-Loop: help-debbugs@gnu.org Subject: bug#45261: New command to mark autoremovable packages Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 15 Dec 2020 20:24:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 45261 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: To: 45261@debbugs.gnu.org X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.160806382721218 (code B ref -1); Tue, 15 Dec 2020 20:24:02 +0000 Received: (at submit) by debbugs.gnu.org; 15 Dec 2020 20:23:47 +0000 Received: from localhost ([127.0.0.1]:59223 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpGrK-0005WA-TG for submit@debbugs.gnu.org; Tue, 15 Dec 2020 15:23:47 -0500 Received: from lists.gnu.org ([209.51.188.17]:39330) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kpGrJ-0005W3-Gi for submit@debbugs.gnu.org; Tue, 15 Dec 2020 15:23:45 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:40724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpGrJ-0004RW-9R for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2020 15:23:45 -0500 Received: from relay12.mail.gandi.net ([217.70.178.232]:34495) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kpGrE-0003t5-RP for bug-gnu-emacs@gnu.org; Tue, 15 Dec 2020 15:23:44 -0500 Received: from mail.gandi.net (m91-129-99-98.cust.tele2.ee [91.129.99.98]) (Authenticated sender: juri@linkov.net) by relay12.mail.gandi.net (Postfix) with ESMTPSA id EEDD7200002; Tue, 15 Dec 2020 20:23:34 +0000 (UTC) From: Juri Linkov Organization: LINKOV.NET Date: Tue, 15 Dec 2020 22:13:54 +0200 Message-ID: <87zh2f14r1.fsf@mail.linkov.net> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain Received-SPF: pass client-ip=217.70.178.232; envelope-from=juri@linkov.net; helo=relay12.mail.gandi.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Spam-Score: -1.6 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.6 (--) Like the existing command package-menu-mark-obsolete-for-deletion bound to '~', there is a need for a similar command that would flag for deletion all autoremovable packages. There is the command package-autoremove, but it deletes all packages at once, and its selection of packages that it proposes to remove is wrong all the time. So after a new command will mark packages for removal, at least this will allow manually unmark the packages that should not be removed, leaving only those packages marked for deletion that really were installed as dependencies.