emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: etags for C++


From: Tak Ota
Subject: Re: etags for C++
Date: Fri, 22 Feb 2002 06:53:41 -0800 (PST)

22 Feb 2002 15:32:50 +0100: Francesco Potorti` <address@hidden> wrote:

> Tak Ota <address@hidden> writes:
>    Also, how about adding a command to etags.el which generates a tag
>    file by running etags appropriately for the current buffer mode?
> 
> Sorry, I lost the start of the thread.  Etags does autodetection of the
> language, pricipally based on the file name, but with C++ it switches
> from C to C++ whe it sees a `template' or `class' keyword.  What are the
> problems? 

etags is OK.  For practical use etags must run on all relevant source
files in the target project by something like this.

     find . -name "*.[chCH]" -print | etags -

I am asking if we can provide easier way to perform above task.  In
above syntax manipulating "*.[chCH]" to include .cc, .cpp and .cxx is
not trivial.

-Tak



reply via email to

[Prev in Thread] Current Thread [Next in Thread]