bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#45089: 28.0.50; [PATCH] New xref commands xref-prev-group and xref-n


From: Lars Ingebrigtsen
Subject: bug#45089: 28.0.50; [PATCH] New xref commands xref-prev-group and xref-next-group
Date: Mon, 07 Dec 2020 17:02:24 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Daniel Martín <mardani29@yahoo.es> writes:

> In an *xref* buffer one can navigate quickly through the results with
> 'p' and 'n'.  However, when there is a lot of results grouped in a bunch
> of files, in some cases it's more interesting to skip results and go to
> the first item of the previous or next group (typically, it will be the
> first result that is in a different file).  The attached patch adds two
> commands for that, and binds them to 'P' and 'N', respectively.
>
> Do you think this is a generally useful feature?  Do you think the
> keybindings I chose are appropriate?  If so, feel free to install the
> attached patch.  It already includes a NEWS entry and the corresponding
> updates to the Emacs manual.  Thanks.

Makes sense to me.  I've now applied this to Emacs 28 (with some minor
line length changes).

-- 
(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]