[Top][All Lists]

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

Re: Jumping to tags definition

From: Jai Dayal
Subject: Re: Jumping to tags definition
Date: Thu, 6 Feb 2014 22:18:39 -0500

Interesting. I only have "simple_handler" defined once, yet it shows a Window with only the one possible completion listed. I must have goofed up my setting, then.

On Thu, Feb 6, 2014 at 10:16 PM, Shigio YAMAGUCHI <address@hidden> wrote:
If a symbol is defined in one place, gtags.el jumps to the point of
the 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. Though
it also makes a list of definitions, it jumps to the first entry directly
by default.


2014-02-07 11:58 GMT+09:00 Leo Liu <address@hidden>:
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.



Help-global mailing list

Shigio YAMAGUCHI <address@hidden>
PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3

reply via email to

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