unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Adam Porter <adam@alphapapa.net>
To: 49474@debbugs.gnu.org
Subject: bug#49474: 28.0.50; package-menu-filter-by-status doesn't accept argument it claims to
Date: Thu, 8 Jul 2021 20:20:51 -0500	[thread overview]
Message-ID: <CAO_b3FVpuk1hf9JO6U0hq-O1E0aNAayBDM2m+2mDn5_jOPbXCg@mail.gmail.com> (raw)

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.

Thanks for your work on Emacs.





             reply	other threads:[~2021-07-09  1:20 UTC|newest]

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

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=CAO_b3FVpuk1hf9JO6U0hq-O1E0aNAayBDM2m+2mDn5_jOPbXCg@mail.gmail.com \
    --to=adam@alphapapa.net \
    --cc=49474@debbugs.gnu.org \
    /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).