Re: Jumping to tags definition

Leo Liu <[email protected]> Fri, 07 Feb 2014 10:58:30 +0800
Newsgroups gmane.comp.gnu.global.general
Message-ID <[email protected]>
On 2014-02-07 09:04 +0800, Jai Dayal wrote:
> Hi,
>   I am coming from ctags, but I'm finding some of the ctags inaccuracies
> annoying. I also use Ctags/Gtags inside of emacs.
>
> One thing I like about ctags + emacs though is that when I do find-tag, it
> actually visits the file that contains the definition, and puts the cursor
> at that point. I can also do this so the file is visited in another window.
>
> With gtags, it seems to take the cscopes approach in that it creates a list
> of matches from which I have to select. Is there any way to have it just
> automatically jump?

There is an alternative emacs front-end ggtags.el¹ that should do what
you want. Open an issue² if it doesn't.

HTH,
Leo

Footnotes: 
¹  http://elpa.gnu.org/packages/ggtags.html
²  https://github.com/leoliu/ggtags/issues