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: Sat, 23 Feb 2002 21:42:34 -0800 (PST) Organization: Sony Electronics Inc. Message-ID: <20020223.214234.01365785.Takaaki.Ota@am.sony.com> References: <87zo218u3x.fsf@pot.cnuce.cnr.it> <20020222.065341.107713552.Takaaki.Ota@am.sony.com> <200202232019.g1NKJs214647@aztec.santafe.edu> 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 1014529671 3061 195.204.10.66 (24 Feb 2002 05:47:51 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 24 Feb 2002 05:47:51 GMT Cc: pot@gnu.org, eliz@is.elta.co.il, 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 16erVm-0000nH-00 for ; Sun, 24 Feb 2002 06:47:50 +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 16erTL-0006wY-00; Sun, 24 Feb 2002 00:45:19 -0500 Original-Received: from mail6.fw-bc.sony.com ([160.33.98.73]) by fencepost.gnu.org with esmtp (Exim 3.33 #1 (Debian)) id 16erSG-0006rf-00; Sun, 24 Feb 2002 00:44:12 -0500 Original-Received: from mail1.bc.in.sel.sony.com (mail1.bc.in.sel.sony.com [43.144.65.11]) by mail6.fw-bc.sony.com (8.8.8/8.8.8) with ESMTP id FAA13384; Sun, 24 Feb 2002 05:44:11 GMT Original-Received: by mail1.bc.in.sel.sony.com id FAA23756; Sun, 24 Feb 2002 05:44:07 GMT Original-To: rms@gnu.org In-Reply-To: <200202232019.g1NKJs214647@aztec.santafe.edu> 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.1.90.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:1475 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1475 Sat, 23 Feb 2002 13:19:54 -0700 (MST): Richard Stallman wrote: > 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. > > Now I see that we have been misunderstanding each other. > That example in the manual is meant to show how you can use > find to select the files to etags to operate on. You seem to want > an example showing how to find C and C++ files, but that isn't > what it is intended for. OK. I understand that intention. How about etags.el or other language package like cc-mode.el to provide a command that runs find and etags. For typical uses we can make the existence of etags program invisible for ordinary users. I see this example in cperl-mode.el and idlwave.el. Like hexl it is nicer that the external command invokation is wrapped by lisp commands and is invisible from novice users. -Tak _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel