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: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Dmitry Gutov <dgutov <at> yandex.ru>
Cc: 19468 <at> debbugs.gnu.org
Subject: bug#19468: 25.0.50; UI inconveniences with M-.
Date: Mon, 27 Apr 2015 21:34:57 -0400
>> That makes a lot of sense when the candidates are equally likely to be
>> The One that the user's looking for.  In the case of etags I think the
>> problem comes from the substring matching it uses.
> etags puts some effort into returning the candidates in the most plausible
> way.

Indeed.

> Should we ignore that?

IIUC, in the current xref/etags code, it seems we do ignore that,
apparently because of the reordering.

> Further, xref-find-apropos will return a lot of candidates, and that will be
> what the user wants.

For xref-find-apropos that's fine.  But not for M-.

> How reliable is tag-exact-match-p?

Don't know.

> We could, for instance, filter out all
> non-exact matches when we're just looking for definitions.

I think that would make sense, yes.


        Stefan




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

Previous Next


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