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 <[email protected]> wrote:

> Hi,
> 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.
>
> Shigio
>
>
> 2014-02-07 11:58 GMT+09:00 Leo Liu <[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
>>
>> _______________________________________________
>> Help-global mailing list
>> [email protected]
>> https://lists.gnu.org/mailman/listinfo/help-global
>>
>
>
>
> --
> Shigio YAMAGUCHI <[email protected]>
> PGP fingerprint: D1CB 0B89 B346 4AB6 5663  C4B6 3CA5 BBB3 57BE DDA3
>
_______________________________________________
Help-global mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/help-global

Reply via email to