From: Kiwon Um <um.kiwon@gmail.com>
To: help-gnu-emacs@gnu.org
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) [thread overview]
Message-ID: <1bd2b770-fd33-49ac-96e5-4c8b28670dc4@b7g2000pre.googlegroups.com> (raw)
In-Reply-To: mailman.4531.1238761076.31690.help-gnu-emacs@gnu.org
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! :)
prev parent reply other threads:[~2009-04-03 12:43 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-04-03 10:46 way to get the list for all C/C++ related source files recursively? Kiwon Um
2009-04-03 12:10 ` thierry.volpiatto
[not found] ` <mailman.4531.1238761076.31690.help-gnu-emacs@gnu.org>
2009-04-03 12:43 ` Kiwon Um [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1bd2b770-fd33-49ac-96e5-4c8b28670dc4@b7g2000pre.googlegroups.com \
--to=um.kiwon@gmail.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.