GNU bug report logs - #55919
29.0.50; package-menu-filter-by-archive fails to exclude nongnu when filtering for gnu

Previous Next

Package: emacs;

Reported by: Eshel Yaron <eshelshay.yaron <at> gmail.com>

Date: Sun, 12 Jun 2022 07:54:01 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Fixed in version 29.1

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

Bug is archived. No further changes may be made.

Full log


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

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Eshel Yaron <eshelshay.yaron <at> gmail.com>
Cc: 55919 <at> debbugs.gnu.org, Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#55919: 29.0.50; package-menu-filter-by-archive fails to
 exclude nongnu when filtering for gnu
Date: Sun, 12 Jun 2022 12:27:39 +0200
Eshel Yaron <eshelshay.yaron <at> gmail.com> writes:

> 1. Run emacs -Q
> 2. Type M-x list-packages
> 3. Type / a
> 4. Type gnu RET
> 5. Only packages from the "gnu" archive should appear, but "nongnu"
> entries remain

The doc string doesn't mention that the ARCHIVE argument here is a
regexp, and "gnu" matches "nongnu", too.

But does it make sense to use a regexp here?  I think that's pretty
surprising -- there aren't that many archives out there, and while a
regexp is more flexible (i.e., you can say \`gnu\|melpa to get both of
them), I don't think anybody would actually type anything like that.

I've added Stefan (who added this command) to the CCs; perhaps he has
comments.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no




This bug report was last modified 3 years and 29 days ago.

Previous Next


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