|Subject:||Re: Jumping to tags definition|
|Date:||Thu, 6 Feb 2014 22:18:39 -0500|
Hi,If a symbol is defined in one place, gtags.el jumps to the point ofthe definition directly. But it is defined in two or more places,gtags.el shows the list of definitions. There is no way to change it.If you accept vim editor, gtags.vim behaves as you think. Thoughit also makes a list of definitions, it jumps to the first entry directlyby default.Shigio2014-02-07 11:58 GMT+09:00 Leo Liu <address@hidden>:_______________________________________________There is an alternative emacs front-end ggtags.el¹ that should do whatOn 2014-02-07 09:04 +0800, Jai Dayal wrote:
> 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?
you want. Open an issue² if it doesn't.
Help-global mailing list
--Shigio YAMAGUCHI <address@hidden>PGP fingerprint: D1CB 0B89 B346 4AB6 5663 C4B6 3CA5 BBB3 57BE DDA3
|[Prev in Thread]||Current Thread||[Next in Thread]|