help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gtags-find-tag and gtags-find-rtag in C-code


From: Dmitry Gutov
Subject: Re: gtags-find-tag and gtags-find-rtag in C-code
Date: Tue, 2 Jun 2015 22:09:41 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.0

On 06/02/2015 07:13 PM, Eli Zaretskii wrote:

Is there support for pushing and popping the locations (for jumping
back and forth)?

The development sources for Emacs have that via xref, I think.

xref doesn't have a bundled backend for id-utils, or gtags, or etc.

So xref-find-definitions will use etags, if available, but xref-find-references can use id-utils, or cscope, or gtags, but purely as an optimization over grep, which it will fall back to in the absence or other tools (or index files generated by them).

Shouldn't gtags do the job, just with the right setup, that I am
probably missing?

I don't use gtags, but isn't it just for definitions?

gtags can do a lot of things. Users interested in it should try https://github.com/leoliu/ggtags, also available via GNU ELPA (no integration with xref, though).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]