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

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

Re: way to get the list for all C/C++ related source files recursively?


From: Kiwon Um
Subject: Re: way to get the list for all C/C++ related source files recursively?
Date: Fri, 3 Apr 2009 05:43:30 -0700 (PDT)
User-agent: G2/1.0

On 4월3일, 오후9시10분, address@hidden wrote:
> Hi,
>
> Kiwon Um <address@hidden> writes:
> > Hello.
> > Is there any predefined function to get the list for all C/C++ related
> > source files recursively?
> > using like:
> > (source-files-recursively "/home/my/project/src/" "[.]*\.[ch]p?p?")
>
> Use traverselisp.el.
> You can get it on freehg or on 
> emacswiki:http://freehg.org/u/thiedlecques/traverselisp/http://www.emacswiki.org/cgi-bin/emacs/traverselisp.el
>
> Then this function do what you want:
>
> (traverse-list-files-in-tree "~/documentation" nil nil '(".pdf$" ".html$"))
>
> You can put what you want in the list on checkonly files.
> You can setup a list of files to ignore (`traverse-ignore-files')
> You can setup a list of dirs/subdirs to ignore (`traverse-ignore-dirs')
>
> If you want to write your own function instead of this one use
> `traverse-walk-directory'.
>
> --
> A + Thierry Volpiatto
> Location: Saint-Cyr-Sur-Mer - France

Great!!! That's really what I wanted!
Thanks! :)


reply via email to

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