GNU bug report logs - #19468
25.0.50; UI inconveniences with M-.

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Mon, 29 Dec 2014 20:27:02 UTC

Severity: normal

Found in version 25.0.50

Done: Dmitry Gutov <dgutov <at> yandex.ru>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Dmitry Gutov <dgutov <at> yandex.ru>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: monnier <at> IRO.UMontreal.CA, 19468 <at> debbugs.gnu.org
Subject: bug#19468: 25.0.50; UI inconveniences with M-.
Date: Wed, 29 Apr 2015 01:28:53 +0300
On 04/28/2015 05:52 PM, Eli Zaretskii wrote:

>> M-x xref-find-references, for starters.
>
> It doesn't seem to work for me: it says "no references found" whatever
> symbol I try, even those I know are referenced.  What am I missing?

Do you know how to implement the "all uses" search using only a tags 
file? I don't. Likewise for Elisp.

So, sorry to say, both currently implemented backends don't support it. 
ggtags, in GNU ELPA, might.

> etags.el supports more than one loaded tag table, so this shouldn't be
> a problem.

If the only table I'm using is of my current Ruby project, that would be 
a problem anyway. Still, Stefan's suggestion of looking up the directory 
tree should solve that.

> Please don't make advice the default Emacs customization method.  User
> options are much easier to use, so let's do what's possible with them,
> and leave advice etc. for more exotic use cases.

I'm suggesting its use lightly. As you've noticed, a minor mode was the 
first solution. However, if people want to use the Elisp xref backend is 
many other situations, you'll run out of hooks to add xref-etags-mode to.




This bug report was last modified 9 years and 150 days ago.

Previous Next


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