From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: gtags-find-tag and gtags-find-rtag in C-code Date: Tue, 02 Jun 2015 19:13:09 +0300 Message-ID: <83a8wirsve.fsf@gnu.org> References: <87vbf65jem.fsf@free.fr> <83h9qqrvys.fsf@gnu.org> <877frm5caz.fsf@roche-blanche.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE X-Trace: ger.gmane.org 1433261684 4182 80.91.229.3 (2 Jun 2015 16:14:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 2 Jun 2015 16:14:44 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jun 02 18:14:31 2015 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Yzooo-0007N9-Mq for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Jun 2015 18:13:34 +0200 Original-Received: from localhost ([::1]:59625 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzooo-0006zy-4G for geh-help-gnu-emacs@m.gmane.org; Tue, 02 Jun 2015 12:13:34 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34339) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzooe-0006zi-P7 for help-gnu-emacs@gnu.org; Tue, 02 Jun 2015 12:13:25 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yzoob-0001WE-KX for help-gnu-emacs@gnu.org; Tue, 02 Jun 2015 12:13:24 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:49984) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yzoob-0001Vq-CX for help-gnu-emacs@gnu.org; Tue, 02 Jun 2015 12:13:21 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NPB00300QYK9000@mtaout24.012.net.il> for help-gnu-emacs@gnu.org; Tue, 02 Jun 2015 19:04:56 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NPB00MS2RC8U690@mtaout24.012.net.il> for help-gnu-emacs@gnu.org; Tue, 02 Jun 2015 19:04:56 +0300 (IDT) In-reply-to: <877frm5caz.fsf@roche-blanche.net> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.180 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:104716 Archived-At: > From: Peter M=FCnster > Date: Tue, 02 Jun 2015 18:01:56 +0200 >=20 > On Tue, Jun 02 2015, Eli Zaretskii wrote: >=20 > >> 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. >=20 > 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?