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: etags for C++ Date: Tue, 19 Feb 2002 11:41:12 -0800 (PST) Organization: Sony Electronics Inc. Message-ID: <20020219.114112.60851743.Takaaki.Ota@am.sony.com> 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 1014147761 2338 195.204.10.66 (19 Feb 2002 19:42:41 GMT) X-Complaints-To: usenet@quimby2.netfonds.no NNTP-Posting-Date: 19 Feb 2002 19:42:41 GMT Original-Received: from fencepost.gnu.org ([199.232.76.164]) by quimby2.netfonds.no with esmtp (Exim 3.12 #1 (Debian)) id 16dG9w-0000bc-00 for ; Tue, 19 Feb 2002 20:42:40 +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 16dG9i-0002EP-00; Tue, 19 Feb 2002 14:42:26 -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 16dG8c-0002Ab-00 for ; Tue, 19 Feb 2002 14:41:18 -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 TAA02130 for ; Tue, 19 Feb 2002 19:33:13 GMT Original-Received: by mail1.bc.in.sel.sony.com id TAA25147; Tue, 19 Feb 2002 19:41:13 GMT Original-To: emacs-devel@gnu.org 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.53 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:1333 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:1333 I always forget the find command syntax to create TAGS file and refer to info page for etags. Following is the example in the info page that I rely on. Many times, I struggle to incorporate C++ files. find . -name "*.[chCH]" -print | etags - I suppose use of C++ is very common these days. Can we modernize this part of the document like this? *** maintaining.texi.orig Wed Dec 26 13:49:41 2001 --- maintaining.texi Tue Feb 19 11:12:05 2002 *************** *** 441,447 **** by typing a dash in place of the file names, like this: @smallexample ! find . -name "*.[chCH]" -print | etags - @end smallexample Use the option @samp{--language=@var{name}} to specify the language --- 441,447 ---- by typing a dash in place of the file names, like this: @smallexample ! find . -iregex '.*\.\(c\|h\|cpp\|cc\)' -print | etags - @end smallexample Use the option @samp{--language=@var{name}} to specify the language Or, is it worth introducing a new command in etags.el that runs find and etags? -Tak _______________________________________________ Emacs-devel mailing list Emacs-devel@gnu.org http://mail.gnu.org/mailman/listinfo/emacs-devel