From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Friedrich Dominicus Newsgroups: gmane.emacs.help Subject: Re: TAGS Date: Mon, 05 Jan 2004 08:13:59 +0100 Organization: Q Software Solutions GmbH Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <873cau98aw.fsf@fbigm.here> References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1073288073 16602 80.91.224.253 (5 Jan 2004 07:34:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 5 Jan 2004 07:34:33 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Mon Jan 05 08:34:31 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1AdPFv-0005mm-00 for ; Mon, 05 Jan 2004 08:34:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.24) id 1AdQ8L-0000hq-Cp for geh-help-gnu-emacs@m.gmane.org; Mon, 05 Jan 2004 03:30:45 -0500 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!news.tele.dk!news.tele.dk!small.news.tele.dk!newsfeed00.sul.t-online.de!newsmm00.sul.t-online.com!t-online.de!news.t-online.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 22 Original-X-Trace: news.t-online.com 1073286921 02 1224 8O4LGsuOUcoES3vM 040105 07:15:21 Original-X-Complaints-To: usenet-abuse@t-online.de X-ID: JTHJzTZFQeSdrBZUhHJVcsSlqSBuSVdj0kXmOz9G3IRpQsJKmQ+iEs User-Agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:id8ijV5RAlmjL063JbGcXPdH5G8= Original-Xref: shelby.stanford.edu gnu.emacs.help:119762 Original-To: help-gnu-emacs@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.2 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 Xref: main.gmane.org gmane.emacs.help:15705 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:15705 "Jack Wang" writes: > Hi all: > > > > How to generate TAGS file in a complex directory structure (with > many subdirectories)? depends on the Shell and number of files you're using in zsh e.g you can just get away with etags **/*.{c,cc,h} but if there are too many files the command line will get overflowed. The other thing which works find . -name "*.{c,cc,h}" -exec etags -a -o SOME-TAGS-FILE {} \; which will call etags on any file and append that stuff to SOME_TAGS-FILE, well minor errors I may have introduced ;-) Regards Friedrich