From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Hongxu Chen Newsgroups: gmane.emacs.help Subject: Re: help needed setting up etags on Windows Date: Wed, 19 Jun 2013 08:46:43 +0800 Message-ID: <87txkv7wr0.fsf@gmail.com> References: <838v27s8ds.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1371602829 23075 80.91.229.3 (19 Jun 2013 00:47:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 19 Jun 2013 00:47:09 +0000 (UTC) Cc: help-gnu-emacs@gnu.org To: Eli Zaretskii Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Wed Jun 19 02:47:10 2013 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 1Up6YF-0007h8-FF for geh-help-gnu-emacs@m.gmane.org; Wed, 19 Jun 2013 02:47:07 +0200 Original-Received: from localhost ([::1]:41716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up6YE-0000zd-KN for geh-help-gnu-emacs@m.gmane.org; Tue, 18 Jun 2013 20:47:06 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:53759) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up6Y1-0000zL-5w for help-gnu-emacs@gnu.org; Tue, 18 Jun 2013 20:46:56 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Up6Xy-00066X-Fq for help-gnu-emacs@gnu.org; Tue, 18 Jun 2013 20:46:53 -0400 Original-Received: from mail-pb0-x22e.google.com ([2607:f8b0:400e:c01::22e]:57388) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Up6Xy-00066N-7H; Tue, 18 Jun 2013 20:46:50 -0400 Original-Received: by mail-pb0-f46.google.com with SMTP id rq2so4447053pbb.33 for ; Tue, 18 Jun 2013 17:46:48 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; bh=Gsb2G2p/0d3q6qpzp300WjsA0BM92TLs/xVge/zBAO4=; b=HkZsC3q6v6MmAAo5V059sGLlfLmuEZToqoX68DLQ3/6X4zXfUGVHbXhr3lDjf071JQ k0Gf78hmnxqRQgZZOimz4aVyyV9Ckb9Np9B2Eh14Jd5QrbOLY6EGcS4+dr+sK1NWtPYc UR+GukuIamiaqAFzNWBxp1ox1WwnwwjwTAxgsQrszwyecMIxB+3dRx3E7cZSaiSSu7vu Oln5wDMEYOlrDYmxveGp+Q77oH+QPG6V4zKfDsGXqsrUyG23p9xGQrkMGAwVpSVlf0Pk c0uYF/w6208HVpxZCXPJE0eS2UJzNlgSy1nGTMQPJNI6dcZUB7swPvwoExAsgPxuS1nF 8sYA== X-Received: by 10.68.235.103 with SMTP id ul7mr417754pbc.14.1371602808430; Tue, 18 Jun 2013 17:46:48 -0700 (PDT) Original-Received: from hongxuchen-VM.STAP ([167.220.232.198]) by mx.google.com with ESMTPSA id tt7sm20431347pbc.34.2013.06.18.17.46.45 for (version=TLSv1.2 cipher=RC4-SHA bits=128/128); Tue, 18 Jun 2013 17:46:47 -0700 (PDT) In-Reply-To: <838v27s8ds.fsf@gnu.org> (Eli Zaretskii's message of "Tue, 18 Jun 2013 19:15:11 +0300") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-Received-From: 2607:f8b0:400e:c01::22e 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:91598 Archived-At: Eli Zaretskii writes: >> Date: Tue, 18 Jun 2013 17:59:09 +0530 >> From: C K Kashyap >> >> Could someone please help me get started with setting up etags for a large >> C++ source base? I'd like to use emacs on cygwin. I assume etags is the >> right tool for source indexing with emacs. > > For C++, you will be better off with ebrowse, a program that also > comes with Emacs. It understands C++ much better than etags does, and > provides similar commands (so you don't lose anything). Check out the > Ebrowse manual, which is part of the Emacs distribution, for details. I guess cscope would be better, and there is an elisp script called xcscope.el. http://cscope.sourceforge.net/ http://inst.eecs.berkeley.edu/~cs186/fa05/debugging/xcscope.el But it sucks when you need to modify some of your source code since the update of cscope database always takes much time(AFAIK, there is no incremental update at all); so it would be rather annoying if the code base is large and there is a need to update the tag database frequently. There is another tagging system called GNU Global, however it seems not available in cygwin. -- Regards, Hongxu Chen