From mboxrd@z Thu Jan 1 00:00:00 1970 Path: quimby.gnus.org!not-for-mail From: Tak Ota Newsgroups: gmane.emacs.devel Subject: Re: etags for C++ Date: Fri, 22 Feb 2002 06:53:41 -0800 (PST) Organization: Sony Electronics Inc. Message-ID: <20020222.065341.107713552.Takaaki.Ota@am.sony.com> References: <20020221.081935.89922414.Takaaki.Ota@am.sony.com> <87zo218u3x.fsf@pot.cnuce.cnr.it> NNTP-Posting-Host: quimby2.netfonds.no Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: quimby2.netfonds.no 1014389771 1057 195.204.10.66 (22 Feb 2002 14:56:11 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 22 Feb 2002 14:56:11 GMT Cc: eliz@is.elta.co.il, rms@gnu.org, emacs-devel@gnu.org Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16eH7K-0000Gx-00 for ; Fri, 22 Feb 2002 15:56:10 +0100 Original-Received: from localhost ([127.0.0.1] helo=fencepost.gnu.org) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16eH5j-0008Gc-00; Fri, 22 Feb 2002 09:54:31 -0500 Original-Received: from mail6.fw-sj.sony.com ([160.33.82.73]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16eH58-0008DJ-00; Fri, 22 Feb 2002 09:53:54 -0500 Original-Received: from mail1.bc.in.sel.sony.com (mail1.bc.in.sel.sony.com [43.144.65.11]) by mail6.fw-sj.sony.com (8.8.8/8.8.8) with ESMTP id OAA07638; Fri, 22 Feb 2002 14:53:48 GMT Original-Received: by mail1.bc.in.sel.sony.com id OAA09206; Fri, 22 Feb 2002 14:53:44 GMT Original-To: pot@gnu.org In-Reply-To: <87zo218u3x.fsf@pot.cnuce.cnr.it> X-Telephone: +1-858-942-3239 X-Fax------: +1-858-942-9142 X-SnailMail: 16450 West Bernardo Drive MZ7205, San Diego, CA 92127-1804 X-Mailer: Mew version 3.0.54 on Emacs 21.2.50.1 / Mule 5.0 (SAKAKI) Errors-To: emacs-devel-admin@gnu.org X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.0.5 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Emacs development discussions. List-Unsubscribe: , List-Archive: Xref: quimby.gnus.org gmane.emacs.devel:1419 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1419 22 Feb 2002 15:32:50 +0100: Francesco Potorti` wrote: > Tak Ota writes: > Also, how about adding a command to etags.el which generates a tag > file by running etags appropriately for the current buffer mode? > > Sorry, I lost the start of the thread. Etags does autodetection of the > language, pricipally based on the file name, but with C++ it switches > from C to C++ whe it sees a `template' or `class' keyword. What are the > problems? etags is OK. For practical use etags must run on all relevant source files in the target project by something like this. find . -name "*.[chCH]" -print | etags - I am asking if we can provide easier way to perform above task. In above syntax manipulating "*.[chCH]" to include .cc, .cpp and .cxx is not trivial. -Tak _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel