GNU bug report logs - #45089
28.0.50; [PATCH] New xref commands xref-prev-group and xref-next-group

Previous Next

Package: emacs;

Reported by: Daniel Martín <mardani29 <at> yahoo.es>

Date: Sun, 6 Dec 2020 23:33:01 UTC

Severity: normal

Tags: fixed, patch

Found in version 28.0.50

Fixed in version 28.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 45089 in the body.
You can then email your comments to 45089 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#45089; Package emacs. (Sun, 06 Dec 2020 23:33:01 GMT) Full text and rfc822 format available.

Acknowledgement sent to Daniel Martín <mardani29 <at> yahoo.es>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 06 Dec 2020 23:33:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Daniel Martín <mardani29 <at> yahoo.es>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; [PATCH] New xref commands xref-prev-group and xref-next-group
Date: Mon, 07 Dec 2020 00:31:44 +0100
[Message part 1 (text/plain, inline)]
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.

[0001-Add-commands-xref-next-group-and-xref-prev-group.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#45089; Package emacs. (Mon, 07 Dec 2020 16:03:02 GMT) Full text and rfc822 format available.

Message #8 received at 45089 <at> debbugs.gnu.org (full text, mbox):

From: Lars Ingebrigtsen <larsi <at> gnus.org>
To: Daniel Martín <mardani29 <at> yahoo.es>
Cc: 45089 <at> debbugs.gnu.org
Subject: Re: 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
Daniel Martín <mardani29 <at> 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




Added tag(s) fixed. Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 07 Dec 2020 16:03:02 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.1, send any further explanations to 45089 <at> debbugs.gnu.org and Daniel Martín <mardani29 <at> yahoo.es> Request was from Lars Ingebrigtsen <larsi <at> gnus.org> to control <at> debbugs.gnu.org. (Mon, 07 Dec 2020 16:03:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Tue, 05 Jan 2021 12:24:09 GMT) Full text and rfc822 format available.

This bug report was last modified 4 years and 161 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.