GNU bug report logs - #28403
25.2; find-tag works, but xref-find-definitions doesn't; bug?

Previous Next

Package: emacs;

Reported by: Winston <wbe <at> psr.com>

Date: Sat, 9 Sep 2017 22:41:02 UTC

Severity: normal

Found in version 25.2

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: wbe <at> psr.com, 28403 <at> debbugs.gnu.org
Subject: Re: bug#28403: 25.2; find-tag works, but xref-find-definitions
Date: Mon, 11 Sep 2017 05:38:30 +0300
> Cc: 28403 <at> debbugs.gnu.org
> From: Dmitry Gutov <dgutov <at> yandex.ru>
> Date: Mon, 11 Sep 2017 00:43:51 +0300
> 
> > Dmitry, how about providing a more user-friendly customization to that
> > effect?  As a "fire escape"?
> 
> We can turn etags-xref-find-definitions-tag-order into a defcustom, with 
> descriptions of what every possible element means.

I rather had in mind a variable with a few simple values, and a :set
function which would put what's needed into
etags-xref-find-definitions-tag-order.  IOW, hide the complexity from
the UI.

> 1) I have hard time imagining how we're going to have descriptions for 
> both tag-exact-match-p and tag-implicit-name-match-p that are different 
> and make sense to the user.

Simple values with solve that. For starters, we could use just 2:
'exact' and 'fuzzy'.

> 2) The user will have to find out about 
> etags-xref-find-definitions-tag-order first anyway.

Will be solved by having the defcustom under a more descriptive name.

And since this is a "fire escape", it will be needed relatively
rarely.  The point is to have it, so we could point users to it.

> Or we could add a custom variable to xref with a higher-level meaning... 

Yes.

> that would require support from backends, then.

Why?




This bug report was last modified 7 years and 253 days ago.

Previous Next


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