From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: n179911 Newsgroups: gmane.emacs.help Subject: Re: Source code navigation in emacs Date: Tue, 7 Jul 2009 16:53:31 -0700 Message-ID: <3b9893450907071653ifad64ddr125f671c090a9491@mail.gmail.com> References: <87skh8dgd6.wl%anselm.helbig+news2009@googlemail.com> <3b9893450907071220i41bea8ccw3fceb20343ee422b@mail.gmail.com> <868wj0kwrk.wl%djcb@djcbsoftware.nl> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1247027058 11035 80.91.229.12 (8 Jul 2009 04:24:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 8 Jul 2009 04:24:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, anselm.helbig+news2009@googlemail.com To: djcb@djcbsoftware.nl Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jul 08 06:24:11 2009 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MOOhW-0002j2-1t for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Jul 2009 06:24:10 +0200 Original-Received: from localhost ([127.0.0.1]:46666 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOOhV-0008LG-9D for geh-help-gnu-emacs@m.gmane.org; Wed, 08 Jul 2009 00:24:09 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOKTc-0000i5-NM for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 19:53:32 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOKTc-0000ht-7k for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 19:53:32 -0400 Original-Received: from [199.232.76.173] (port=46596 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOKTc-0000hq-4t for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 19:53:32 -0400 Original-Received: from qw-out-1920.google.com ([74.125.92.148]:62158) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOKTb-00054h-Qk for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 19:53:31 -0400 Original-Received: by qw-out-1920.google.com with SMTP id 5so2617216qwf.24 for ; Tue, 07 Jul 2009 16:53:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type :content-transfer-encoding; bh=zaq9K04cj517dB7x4aNJJcLxWqMaHf3Jj/Uj8vJwMZE=; b=u6AvpPXaUrzFSD5jw6CFbZhj2FJIYdCcXs7ULiCIhFhhit24B0YgtKo/Sw2iXLM5ot Wxwnwv94MSB9SvrgN48rMKZd3l26L+v/TTZsa6U4y7c20yXPGIYApCJotIuC48SUsz+e ZV8+mutD+CfFBrk+0AQ6JfMdwNQlOwRJOhEvk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=xenPraEL4k3q+BGrFDDqXtH9H3jjoDTdEWZlppUG+GDa6DWSdkGADb/CCTQqnaP0Jm vayEK5fIrD0PgO53LgeVbQECfjq8k224VwRRft++QReZTUMWTvMDjnx8Th58jG+SImyn KtrFyWKGjRC2eXl5FaRKlEsgwzc7Dfx92u8VI= Original-Received: by 10.224.80.203 with SMTP id u11mr7264474qak.119.1247010811120; Tue, 07 Jul 2009 16:53:31 -0700 (PDT) In-Reply-To: <868wj0kwrk.wl%djcb@djcbsoftware.nl> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Wed, 08 Jul 2009 00:22:50 -0400 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:65826 Archived-At: On Tue, Jul 7, 2009 at 2:29 PM, Dirk-Jan C. Binnema wr= ote: > > Hi, > >>>>>> "n179911" =3D=3D n179911 =A0 writes: > > > =A0 =A0>>> Can someone please recommend what is the way to setup code nav= igation > =A0 =A0>>> in emacs? =A0I have setup xcope.el with cscope run in emacs. > =A0 =A0>>> > =A0 =A0>>> But I read here, it said some thing about gnu global with emac= s? > =A0 =A0>>> http://emacs-fu.blogspot.com/2009/01/navigating-through-source= -code-using.html > > > =A0 =A0>> The most generic way is to just use a tags table, see the manua= l: > > =A0 =A0>> etags supports more languages than gnu global, and there is an > =A0 =A0>> etags program coming with exuberant-ctags that supports even > =A0 =A0>> more. There are alternative, more capable solutions for specifi= c > =A0 =A0>> programming languages. What are you working with? > > Anselm, is there any reason to prefer etags over GNU-Global for C/C++? I = am > quite happy with GNU-Global (I actually wrote the above blogpost) -- in w= hat > way would etags be better? > And can you please help me understand why GNU-Global is better than xcope.el + cscope for emacs? > Best wishes, > Dirk. > > -- > Dirk-Jan C. Binnema =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Helsinki, Finland > e:djcb@djcbsoftware.nl =A0 =A0 =A0 =A0 =A0 w:www.djcbsoftware.nl > pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C >