unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: Adam Porter <adam@alphapapa.net>
Cc: 49474@debbugs.gnu.org
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	[thread overview]
Message-ID: <87bl7anm89.fsf@gnus.org> (raw)
In-Reply-To: <CAO_b3FVpuk1hf9JO6U0hq-O1E0aNAayBDM2m+2mDn5_jOPbXCg@mail.gmail.com> (Adam Porter's message of "Thu, 8 Jul 2021 20:20:51 -0500")

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
behaviour.

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





      reply	other threads:[~2021-07-10 16:54 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-07-09  1:20 bug#49474: 28.0.50; package-menu-filter-by-status doesn't accept argument it claims to Adam Porter
2021-07-10 16:54 ` Lars Ingebrigtsen [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87bl7anm89.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=49474@debbugs.gnu.org \
    --cc=adam@alphapapa.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).