From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Anselm Helbig Newsgroups: gmane.emacs.help Subject: Re: Source code navigation in emacs Date: Tue, 07 Jul 2009 10:52:53 +0200 Organization: Freie Universitaet Berlin Message-ID: <87skh8dgd6.wl%anselm.helbig+news2009@googlemail.com> References: NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1246959705 15481 80.91.229.12 (7 Jul 2009 09:41:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2009 09:41:45 +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 Jul 07 11:41:38 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 1MO7BB-0007KM-0s for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 11:41:37 +0200 Original-Received: from localhost ([127.0.0.1]:33793 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MO7BA-00038W-Ay for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 05:41:36 -0400 Original-Path: news.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!fu-berlin.de!uni-berlin.de!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 33 Original-X-Trace: news.uni-berlin.de ogQU7AoksRI2w8LvoxE3OgvsP6KBfVyHrjKIMqnoCmQWRYcMWHbnlf7ZF2 Cancel-Lock: sha1:5bfZ3CtSkMjdP7xLbPHl/8dXEf0= In-Reply-To: Mail-Followup-To: anselm.helbig+news2009@googlemail.com Original-Xref: news.stanford.edu gnu.emacs.help:170613 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:65815 Archived-At: At Sun, 5 Jul 2009 22:31:59 -0700, n179911 wrote: > > Hi, > > 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 > > I would like to know what is the better way? The most generic way is to just use a tags table, see the manual: (info "(emacs) Tags") (C-x C-e after the closing paren in emacs) 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? HTH, Anselm -- Anselm Helbig mailto:anselm.helbig+news2009@googlemail.com