From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: "Javier Oviedo" Newsgroups: gmane.emacs.help Subject: Re: help with tags Date: Fri, 1 Aug 2003 10:00:06 -0400 Organization: Texas Instruments Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: References: <844r146ock.fsf@slowfox.is.informatik.uni-duisburg.de> NNTP-Posting-Host: main.gmane.org X-Trace: main.gmane.org 1059761591 13061 80.91.224.249 (1 Aug 2003 18:13:11 GMT) X-Complaints-To: usenet@main.gmane.org NNTP-Posting-Date: Fri, 1 Aug 2003 18:13:11 +0000 (UTC) Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Fri Aug 01 20:13:10 2003 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 19ieOr-0003OX-00 for ; Fri, 01 Aug 2003 20:13:09 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.20) id 19idTk-0003hb-OJ for geh-help-gnu-emacs@m.gmane.org; Fri, 01 Aug 2003 13:14:08 -0400 Original-Path: shelby.stanford.edu!newsfeed.stanford.edu!newsmi-us.news.garr.it!NewsITBone-GARR!news.mailgate.org!newsfeeder.edisontel.com!nntp.infostrada.it!in.100proofnews.com!in.100proofnews.com!newsfeed.hal-mli.net!feeder1.hal-mli.net!attdl1!ip.att.net!news.ti.com!not-for-mail Original-Newsgroups: gnu.emacs.help Original-Lines: 42 Original-NNTP-Posting-Host: gt64v7121.telogy.design.ti.com Original-X-Trace: home.itg.ti.com 1059746210 22530 158.218.105.183 (1 Aug 2003 13:56:50 GMT) Original-X-Complaints-To: usenet@news.ti.com Original-NNTP-Posting-Date: 1 Aug 2003 13:56:50 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Original-Xref: shelby.stanford.edu gnu.emacs.help:115611 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:11531 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:11531 Thanks guys. I have another query about tags. In my particular project we support multiple hw platforms. There are high level C calls that are common between platforms but will call different versions of the same function(same name). This is done based upon what the target platform we are currently building for with the linker linking the correct function for us....In other words, the same function name may exist in multiple sub-directories. This would also apply to #defines, structures, etc. Can tags handle this in an intelligent fashion while still keeping one common tag file? Currently, when I do find-tag, it stops on the first occurrence it finds in the tag table. It would be nice if I could run a command that would go to the next occurrence in the tag table. Does that make any sense? This way I could cycle until I find the definition/construct that matches my current platform. I hope this wasn't too wordy. Thanks! -- Javier "Eli Zaretskii" wrote in message news:mailman.754.1059630121.8231.help-gnu-emacs@gnu.org... > > From: kai.grossjohann@gmx.net (=?iso-8859-1?q?Kai_Gro=DFjohann?=) > > Newsgroups: gnu.emacs.help > > Date: Wed, 30 Jul 2003 17:11:55 +0200 > > > > find . -name '*.[hc]' -print | xargs etags -a > > The "xargs" part is not necessary; the following will do: > > find . -name '*.[hc]' -print | etags - > > This variant has the advantage of not requiring `xargs', which might > be a problem on non-Posix platforms. It is also faster. > > >