From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Zhongtao Zhu Newsgroups: gmane.emacs.help Subject: Re: how to create a TAG file for the whole linux kernel Date: 16 Sep 2002 18:50:50 +0800 Sender: help-gnu-emacs-admin@gnu.org Message-ID: References: <3d856f72_1@nopics.sjc> NNTP-Posting-Host: localhost.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: main.gmane.org 1032173399 18840 127.0.0.1 (16 Sep 2002 10:49:59 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Mon, 16 Sep 2002 10:49:59 +0000 (UTC) Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by main.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 17qtS1-0004ti-00 for ; Mon, 16 Sep 2002 12:49:58 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.10) id 17qtSH-0000nS-00; Mon, 16 Sep 2002 06:50:13 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.10) id 17qtRD-0000hF-00 for help-gnu-emacs@gnu.org; Mon, 16 Sep 2002 06:49:07 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.10) id 17qtRA-0000h0-00 for help-gnu-emacs@gnu.org; Mon, 16 Sep 2002 06:49:07 -0400 Original-Received: from mail.tsinghua.edu.cn ([166.111.8.18]) by monty-python.gnu.org with esmtp (Exim 4.10) id 17qtR8-0000gT-00 for help-gnu-emacs@gnu.org; Mon, 16 Sep 2002 06:49:03 -0400 Original-Received: (eyou send program); Mon, 16 Sep 2002 18:45:31 +0800 Original-Received: from unknown (HELO zhongtao.tsinghua.edu.cn) (unknown@166.111.232.139) by 166.111.8.18 with SMTP; Mon, 16 Sep 2002 18:45:31 +0800 Original-To: help-gnu-emacs@gnu.org In-Reply-To: Original-Lines: 27 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.2 Errors-To: help-gnu-emacs-admin@gnu.org X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.0.11 Precedence: bulk List-Help: List-Post: List-Subscribe: , List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: Xref: main.gmane.org gmane.emacs.help:1491 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:1491 maierh@myself.com writes: > kani writes: > > > Hi all, > > > > Please excuse me if this not he right group for this question. > > so, how can i create a TAG file for the whole linux kernel ? > > It's the right group. Go to the root directory and execute the > following command (not tested): > > $ find $PWD \( -name "*.c" -o -name "*.h" \) | xargs etags -o > > Usage of $PWD produces absolute path names. should contains > the TAG file name. If the -o option is omitted then etags creats a > file with the name TAGS in $PWD. Note, in that case you need > write permissions for the directory $PWD. > > Harald The simplest method to do this is to invoke `make TAGS' after finishing `config'. Take a look at 'Makefile' is helpful. -- Zhongtao Zhu Tel: +86 10 6278 2266 Department of Computer, Tsinghua University, Beijing, China