GNU bug report logs - #25593
Feature request: xref-find-definitions in current file

Previous Next

Package: emacs;

Reported by: Joel Ekström <joel <at> ekstrom.io>

Date: Tue, 31 Jan 2017 22:01:02 UTC

Severity: wishlist

Done: Stefan Kangas <stefan <at> marxist.se>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Joel Ekström <joel <at> ekstrom.io>
To: Dmitry Gutov <dgutov <at> yandex.ru>, 25593 <at> debbugs.gnu.org
Subject: bug#25593: Feature request: xref-find-definitions in current file
Date: Fri, 03 Feb 2017 09:43:04 +0100
Hi Dmitry, thanks for your response.

It's funny that you mention counsel-imenu, because counsel/ivy-mode is
actually one of the reasons I wanted this in the first place.
xref-find-definitions displays perfectly in ivy-mode (similar to how
counsel-imenu works), while list-tags does not.

I was actually not aware that counsel-imenu exists, so this solves my
problem to some extent. It's a great improvement compared to using
list-tags.

That said - having an option to have xref-find-definitions filter by
file would still be useful, since ctags is able to index things that
imenu does not. However - if it isn't a simple fix then I don't think
it's worth it, since imenu is "good enough".




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

Previous Next


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