unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Stefan Kangas <stefan@marxist.se>
To: Pieter van Oostrum <pieter@vanoostrum.org>
Cc: 39903@debbugs.gnu.org
Subject: bug#39903: 28.0.50; Feature request: another filter for Package Menu
Date: Thu, 05 Mar 2020 15:51:50 +0100	[thread overview]
Message-ID: <87blpa4zy1.fsf@stefankangas.se> (raw)
In-Reply-To: <24159.49402.837723.45546@cochabamba.vanoostrum.org> (Pieter van Oostrum's message of "Wed, 4 Mar 2020 15:53:46 +0100")

Pieter van Oostrum <pieter@vanoostrum.org> writes:

> This is a request for a new filter in Package Menu.
>
> Motivation: The command `package-menu-mark-upgrades' in the "*Packages*"
> buffer marks all packages that have new versions. Both the new versions
> are marked for installation (I) and the old versions for deletion (D).
>
> However, it is not so easy to inspect which packages will be
> affected. Currently the only simple ways are to do an `isearch' in the
> "*Packages*" buffer for "^[^ ]", or to do an `occur' for the same
> regexp. The latter gives an overview of all packages involved, but
> requires an indirection step to get into the "*Packages*" buffer, for
> example to unmark a package.
>
> The attached file adds a new command to filter the "*Packages*"
> buffer to show only the packages with a non-empty mark, i.e. the same as
> the above `occur' command would show, but then without the extra
> indirection.
>
> My proposal is to bind it to "/m", and to add a menu entry.

This looks useful.  Could you write this up as a patch instead?
Preferably also with a Changelog entry as described in the CONTRIBUTE
file.  We should also add this new command to the relevant NEWS entry,
and the user manual.

Thanks in advance.

Best regards,
Stefan Kangas





  parent reply	other threads:[~2020-03-05 14:51 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-03-04 14:53 bug#39903: 28.0.50; Feature request: another filter for Package Menu Pieter van Oostrum
2020-03-05 14:24 ` Pieter van Oostrum
2020-03-05 14:51 ` Stefan Kangas [this message]
2020-03-05 15:19   ` Pieter van Oostrum
2020-03-05 22:24     ` Pieter van Oostrum
2020-05-09 15:38       ` Stefan Kangas
2020-05-09 15:51         ` Eli Zaretskii
2020-05-09 16:22           ` Stefan Kangas

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=87blpa4zy1.fsf@stefankangas.se \
    --to=stefan@marxist.se \
    --cc=39903@debbugs.gnu.org \
    --cc=pieter@vanoostrum.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).