From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Dirk-Jan C. Binnema Newsgroups: gmane.emacs.help Subject: Re: Source code navigation in emacs Date: Wed, 08 Jul 2009 00:29:03 +0300 Organization: DJCBSoftware Message-ID: <868wj0kwrk.wl%djcb@djcbsoftware.nl> References: <87skh8dgd6.wl%anselm.helbig+news2009@googlemail.com> <3b9893450907071220i41bea8ccw3fceb20343ee422b@mail.gmail.com> Reply-To: djcb@djcbsoftware.nl NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: text/plain; charset=US-ASCII X-Trace: ger.gmane.org 1247002278 25528 80.91.229.12 (7 Jul 2009 21:31:18 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2009 21:31:18 +0000 (UTC) Cc: help-gnu-emacs@gnu.org, anselm.helbig+news2009@googlemail.com To: n179911 Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 07 23:31: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 1MOIFp-00086i-AX for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 23:31:09 +0200 Original-Received: from localhost ([127.0.0.1]:58783 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOIFo-00078B-MU for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 17:31:08 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOIFS-00077o-Ax for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 17:30:46 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOIFN-00075p-Bh for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 17:30:45 -0400 Original-Received: from [199.232.76.173] (port=41003 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOIFN-00075k-5F for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 17:30:41 -0400 Original-Received: from emh03.mail.saunalahti.fi ([62.142.5.109]:60021) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MOIFM-0000Su-Mx for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 17:30:40 -0400 Original-Received: from saunalahti-vams (vs3-10.mail.saunalahti.fi [62.142.5.94]) by emh03-2.mail.saunalahti.fi (Postfix) with SMTP id 3DD31EBEFA; Wed, 8 Jul 2009 00:29:05 +0300 (EEST) Original-Received: from emh04.mail.saunalahti.fi ([62.142.5.110]) by vs3-10.mail.saunalahti.fi ([62.142.5.94]) with SMTP (gateway) id A005413A70D; Wed, 08 Jul 2009 00:29:05 +0300 Original-Received: from mail.djcbsoftware.nl (a88-113-10-89.elisa-laajakaista.fi [88.113.10.89]) by emh04.mail.saunalahti.fi (Postfix) with ESMTP id 1124941BE8; Wed, 8 Jul 2009 00:29:01 +0300 (EEST) Original-Received: from mindcrime.mindcrime.djcbsoftware.nl (localhost [127.0.0.1]) by mail.djcbsoftware.nl (Postfix) with ESMTP id 5B53B59E5B; Wed, 8 Jul 2009 00:29:03 +0300 (EEST) In-Reply-To: <3b9893450907071220i41bea8ccw3fceb20343ee422b@mail.gmail.com> User-Agent: Wanderlust/2.15.6 (Almost Unreal) Emacs/23.0 Mule/6.0 (HANACHIRUSATO) X-Antivirus: VAMS X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:65823 Archived-At: Hi, >>>>> "n179911" == n179911 writes: >>> Can someone please recommend what is the way to setup code navigation >>> in emacs? I have setup xcope.el with cscope run in emacs. >>> >>> But I read here, it said some thing about gnu global with emacs? >>> http://emacs-fu.blogspot.com/2009/01/navigating-through-source-code-using.html >> The most generic way is to just use a tags table, see the manual: >> etags supports more languages than gnu global, and there is an >> etags program coming with exuberant-ctags that supports even >> more. There are alternative, more capable solutions for specific >> 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 what way would etags be better? Best wishes, Dirk. -- Dirk-Jan C. Binnema Helsinki, Finland e:djcb@djcbsoftware.nl w:www.djcbsoftware.nl pgp: D09C E664 897D 7D39 5047 A178 E96A C7A1 017D DA3C