GNU bug report logs - #44611
Prefix arg for xref-goto-xref

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Fri, 13 Nov 2020 08:33:01 UTC

Severity: normal

Tags: fixed

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


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

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Juri Linkov <juri <at> linkov.net>, Eli Zaretskii <eliz <at> gnu.org>
Cc: joaotavora <at> gmail.com, 44611 <at> debbugs.gnu.org
Subject: Re: bug#44611: Prefix arg for xref-goto-xref
Date: Tue, 22 Dec 2020 14:20:18 +0200
On 22.12.2020 10:58, Juri Linkov wrote:

> But a completely separate case is when the *xref* buffer is created
> by such grep-like commands as project-find-regexp.
> 
> So currently there are two different uses of the *xref* buffer:
> 
> 1. as a transient completions buffer that could be buried
>     after a completion is selected from the buffer;
> 2. as a grep buffer for visiting the found matches.
> 
> In the second case, it's natural to type TAB to navigate results.
> 
> Should these cases use different modes with different buffer names?

It can have a different name, and even a different mode, but I don't 
think using significantly different key bindings is a good idea while 
the buffer (except for the name, maybe) looks exactly the same. That's 
still a good recipe for confusing a user.

> Such as a buffer name *xgrep*?

Perhaps we could rename the "find definitions" buffer instead, because 
that one only has one "source".

The second case, however, can have "matches" coming from very different 
sources, so calling it "grep" might not always be appropriate.




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

Previous Next


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