GNU bug report logs - #55470
[PATCH] Add package-delete-regexp

Previous Next

Package: emacs;

Reported by: "Marwan L." <techmetx11 <at> disroot.org>

Date: Tue, 17 May 2022 01:01:03 UTC

Severity: wishlist

Tags: moreinfo, patch

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #16 received at 55470 <at> debbugs.gnu.org (full text, mbox):

From: "Marwan L." <techmetx11 <at> disroot.org>
To: Philip Kaludercic <philipk <at> posteo.net>
Cc: 55470 <at> debbugs.gnu.org
Subject: Re: bug#55470: [PATCH] Add package-delete-regexp
Date: Thu, 19 May 2022 13:04:34 +0100
On Wed, May 18, 2022 at 11:17:26PM +0000, Philip Kaludercic wrote:
> "Marwan L." <techmetx11 <at> disroot.org> writes:
> 
> > This function allows you to delete packages, with names that match the
> > regexp. This is makes operations like deleting multiple packages that
> > begin with the same namespace (^company.*, ^treemacs.*, etc.) much
> > easier to do
> 
> What is the advantage of a separate function for deleting packages
> compared to marking packages in the *Packages* buffer using "/ n" (that
> also accepts a regular expression)?

It depends on how much packages you have to go through. If you have tons
of packages to mark deletion on, then it will most likely involve
holding d (wish you could do C-u 100 d) and then doing x

`M-x list-packages` will also automatically fetch the latest list of
packages from your package archives, which is unnecessary

There's a prefix argument that disables fetching, but I didn't know that
before making this function nor this patch

You are free to close this patch if you want to

> 
> > The function will also tell you how much packages it will delete (in a
> > temporary buffer) and prompt for a Yes or No answer




This bug report was last modified 2 years and 286 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.