help-gnu-emacs
[Top][All Lists]
Advanced

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

Re: TAGS


From: Eli Zaretskii
Subject: Re: TAGS
Date: 05 Jan 2004 08:01:32 +0200

> From: "Jack Wang" <jw2000@excite.com>
> Date: Mon,  5 Jan 2004 00:30:06 -0500 (EST)
> 
> How to generate TAGS file in a complex directory structure (with many 
> subdirectories)? 

   find . -name 'whatever' | etags -

> I use  find . -name "*.[cch]" -print | etags - to generate TAGS file for all 
> *.cc and *.h files.

This is fine, but for one problem: "*.[cch]" will _not_ find *.cc
files, since the "[]" group stands for a single character.  So better
use something like

    find . -name "*.[ch]" -o -name "*.cc" | etags -

> Are there any other methods?

What's wrong with this one?

> By the way, when I use M-x tags-search to search a word, e.g., pointer_a, how 
> to make it case-sensitive and match-word-only, so that
> 
> POINTER_A and pointer_a_1 will be skipped?

Did you try to set tags-case-fold-search?





reply via email to

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