[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분, thierry.volpia...@gmail.com wrote:
> Hi,
>
> Kiwon Um <um.ki...@gmail.com> 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! :)