From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Oleksandr Gavenko Newsgroups: gmane.emacs.help,gmane.emacs.semantic Subject: Re: How to create emacs TAG file for the sources. Date: Sun, 06 Feb 2011 23:09:19 +0200 Message-ID: References: <393571.36672.qm@web30906.mail.mud.yahoo.com> <83fws4b3o8.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: dough.gmane.org 1298104079 17116 80.91.229.12 (19 Feb 2011 08:27:59 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 19 Feb 2011 08:27:59 +0000 (UTC) Cc: cedet-semantic@lists.sourceforge.net To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sun Feb 06 22:34:10 2011 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PmCFA-0001O7-GL for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Feb 2011 22:34:04 +0100 Original-Received: from localhost ([127.0.0.1]:39060 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmBsD-0005c6-R8 for geh-help-gnu-emacs@m.gmane.org; Sun, 06 Feb 2011 16:10:21 -0500 Original-Received: from [140.186.70.92] (port=45462 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PmBrw-0005bj-Li for help-gnu-emacs@gnu.org; Sun, 06 Feb 2011 16:10:05 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PmBrg-0003xy-1i for help-gnu-emacs@gnu.org; Sun, 06 Feb 2011 16:10:03 -0500 Original-Received: from lo.gmane.org ([80.91.229.12]:49939) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PmBrf-0003xs-SB for help-gnu-emacs@gnu.org; Sun, 06 Feb 2011 16:09:48 -0500 Original-Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1PmBrb-0007E5-LN for help-gnu-emacs@gnu.org; Sun, 06 Feb 2011 22:09:43 +0100 Original-Received: from 94-248-79-209.dynamic.peoplenet.ua ([94.248.79.209]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Feb 2011 22:09:43 +0100 Original-Received: from gavenkoa by 94-248-79-209.dynamic.peoplenet.ua with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sun, 06 Feb 2011 22:09:43 +0100 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 19 Original-X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 94-248-79-209.dynamic.peoplenet.ua User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101027 Thunderbird/3.1.6 In-Reply-To: <83fws4b3o8.fsf@gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 80.91.229.12 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:79210 gmane.emacs.semantic:2644 Archived-At: On 2011-02-04 10:32, Eli Zaretskii wrote: >> Date: Thu, 3 Feb 2011 20:19:55 -0800 (PST) >> From: Anand Dhanakshirur >> Cc: emacs help >> >> I want to create emacs TAG files for the sources(*.cpp, *c, *.h files) >> The root of the sources is say /home/asd/temp. >> What is the command for that? > > Try this: > > find /home/asd/temp -name "*.[ch]" -o -name "*.cpp" | etags - > More complex example you can found in recently updated page (by me xD): http://www.emacswiki.org/emacs/EtagsTable#toc2 -- Best regards!