all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Dmitry Gutov <dgutov@yandex.ru>
To: Eli Zaretskii <eliz@gnu.org>, help-gnu-emacs@gnu.org
Subject: Re: gtags-find-tag and gtags-find-rtag in C-code
Date: Tue, 2 Jun 2015 22:09:41 +0300	[thread overview]
Message-ID: <556DFF75.5030800@yandex.ru> (raw)
In-Reply-To: <83a8wirsve.fsf@gnu.org>

On 06/02/2015 07:13 PM, Eli Zaretskii wrote:

>> 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.

xref doesn't have a bundled backend for id-utils, or gtags, or etc.

So xref-find-definitions will use etags, if available, but 
xref-find-references can use id-utils, or cscope, or gtags, but purely 
as an optimization over grep, which it will fall back to in the absence 
or other tools (or index files generated by them).

>> 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?

gtags can do a lot of things. Users interested in it should try 
https://github.com/leoliu/ggtags, also available via GNU ELPA (no 
integration with xref, though).



  reply	other threads:[~2015-06-02 19:09 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-06-02 13:28 gtags-find-tag and gtags-find-rtag in C-code Peter Münster
2015-06-02 15:06 ` Eli Zaretskii
2015-06-02 16:01   ` Peter Münster
2015-06-02 16:13     ` Eli Zaretskii
2015-06-02 19:09       ` Dmitry Gutov [this message]
2015-06-02 20:34       ` Peter Münster
2015-06-02 19:17 ` understanding backquote Olaf Rogalsky
2015-06-03 11:05   ` Nicolas Richard
     [not found]   ` <mailman.4231.1433345880.904.help-gnu-emacs@gnu.org>
2015-06-03 18:53     ` Stefan Monnier
     [not found] ` <mailman.4175.1433272668.904.help-gnu-emacs@gnu.org>
2015-06-02 20:03   ` Pascal J. Bourguignon
2015-06-02 23:00     ` Olaf Rogalsky
2015-06-03 10:40       ` Nicolas Richard
     [not found]     ` <mailman.4191.1433286041.904.help-gnu-emacs@gnu.org>
2015-06-02 23:08       ` Pascal J. Bourguignon
2015-06-02 21:22   ` Barry Margolin
2015-06-02 22:53     ` Olaf Rogalsky
     [not found]     ` <mailman.4189.1433285612.904.help-gnu-emacs@gnu.org>
2015-06-02 23:07       ` Pascal J. Bourguignon
2015-06-02 23:54         ` Olaf Rogalsky
     [not found]         ` <mailman.4193.1433289260.904.help-gnu-emacs@gnu.org>
2015-06-03  1:14           ` Stefan Monnier
2015-06-03  7:57             ` Olaf Rogalsky
2015-06-03 10:23               ` Olaf Rogalsky
2015-06-03  2:37           ` Pascal J. Bourguignon

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=556DFF75.5030800@yandex.ru \
    --to=dgutov@yandex.ru \
    --cc=eliz@gnu.org \
    --cc=help-gnu-emacs@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.