[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#49474: 28.0.50; package-menu-filter-by-status doesn't accept argumen

From: Lars Ingebrigtsen
Subject: bug#49474: 28.0.50; package-menu-filter-by-status doesn't accept argument it claims to
Date: Sat, 10 Jul 2021 18:54:14 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Adam Porter <adam@alphapapa.net> writes:

> The docstring for the function package-menu-filter-by-status says:
>     When called interactively, prompt for STATUS, which can be a
>     comma-separated string.  If STATUS is empty, show all packages.
>     When called from Lisp, STATUS can be a string or a list of
>     strings.  If STATUS is nil or the empty string, show all
>     packages.
> However, when given a comma-separated string or a list of strings, it
> doesn't work, because it applies a filter predicate that calls
> string-match-p, which expects a regexp string.

Yup.  I've now changed the command (in Emacs 28) to work as documented.
Hopefully nobody were relying on the previous, undocumented regexp-match

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

reply via email to

[Prev in Thread] Current Thread [Next in Thread]