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 12:20:04 -0700 Message-ID: <3b9893450907071220i41bea8ccw3fceb20343ee422b@mail.gmail.com> References: <87skh8dgd6.wl%anselm.helbig+news2009@googlemail.com> 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 1247001284 22308 80.91.229.12 (7 Jul 2009 21:14:44 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 7 Jul 2009 21:14:44 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: anselm.helbig+news2009@googlemail.com Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jul 07 23:14:37 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 1MOHzo-0001Sa-BZ for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 23:14:36 +0200 Original-Received: from localhost ([127.0.0.1]:36519 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOHzn-0007iC-6k for geh-help-gnu-emacs@m.gmane.org; Tue, 07 Jul 2009 17:14:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MOGD5-0006uo-A9 for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 15:20:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MOGCz-0006pV-Tz for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 15:20:10 -0400 Original-Received: from [199.232.76.173] (port=50389 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MOGCz-0006pS-NS for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 15:20:05 -0400 Original-Received: from mail-qy0-f183.google.com ([209.85.221.183]:37615) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MOGCz-0004if-Eb for help-gnu-emacs@gnu.org; Tue, 07 Jul 2009 15:20:05 -0400 Original-Received: by qyk13 with SMTP id 13so5243945qyk.14 for ; Tue, 07 Jul 2009 12:20:04 -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=FICfDWB0is/Al2906dlcgxnpCkIYpOp8A7QkhrzldYE=; b=cv+Sg2wXXMLmRqBK00mKhx2OphlX1CwXO2wjla1LOv4CMPo75DPbzwGGDpHNGjP/kP l9jTGK6GS35Z1FzlA9w1cQwh/Kma42Z3kLzxzuXyBVsGeZMFSPbdi9qXp7XWkj27hW68 jzfpqMxUeZfXxcyYy81PK3C+mJTLfWpp+EWWw= 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=xZUVo//cMTMAWtkDlpxkKzmQAO2Xrk8XzkdwdBtAf2lezn3VQDoC8zj9yVaAsmX9HU XvQe/txCHBTXWgOLNDi5nSUn1gVPuAV/ecR/KWNDrifVE89fWuvh5niM3vyhSW59Jy0o ulW7jBG6hCQeJylo556hKcVHf0HybbHsZ5iAU= Original-Received: by 10.224.2.202 with SMTP id 10mr7079888qak.292.1246994404138; Tue, 07 Jul 2009 12:20:04 -0700 (PDT) In-Reply-To: <87skh8dgd6.wl%anselm.helbig+news2009@googlemail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 07 Jul 2009 17:14:08 -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:65821 Archived-At: On Tue, Jul 7, 2009 at 1:52 AM, Anselm Helbig wrote: > 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-usin= g.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: > > =A0(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? > If I build etags, do I still need to use cscope ? with xcope.el in emacs? I am using c++ and Java. Thank you. > HTH, > > Anselm > > > > -- > Anselm Helbig > mailto:anselm.helbig+news2009@googlemail.com >