[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gtags-find-tag and gtags-find-rtag in C-code
From: |
Eli Zaretskii |
Subject: |
Re: gtags-find-tag and gtags-find-rtag in C-code |
Date: |
Tue, 02 Jun 2015 19:13:09 +0300 |
> From: Peter Münster <pmlists@free.fr>
> Date: Tue, 02 Jun 2015 18:01:56 +0200
>
> On Tue, Jun 02 2015, Eli Zaretskii wrote:
>
> >> I would like to be able to jump do definitions and references of
> >> identifiers in C-code.
> >
> > I suggest to use GNU ID-Utils and its Emacs front-end idutils.el for
> > that. That's exactly what that package is for.
>
> It seems, that it's just a better grep
It's a syntax-sensitive grep, yes.
> but I don't see a possibility to jump to a definition.
ID-Utils don't distinguish between definitions and references, they
just tag places where symbols are used in any capacity.
> 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.
> 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?
Message not available
Message not available