* way to get the list for all C/C++ related source files recursively? @ 2009-04-03 10:46 Kiwon Um 2009-04-03 12:10 ` thierry.volpiatto [not found] ` <mailman.4531.1238761076.31690.help-gnu-emacs@gnu.org> 0 siblings, 2 replies; 3+ messages in thread From: Kiwon Um @ 2009-04-03 10:46 UTC (permalink / raw) To: help-gnu-emacs 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?") Thanks~ ^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: way to get the list for all C/C++ related source files recursively? 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> 1 sibling, 0 replies; 3+ messages in thread From: thierry.volpiatto @ 2009-04-03 12:10 UTC (permalink / raw) To: help-gnu-emacs Hi, Kiwon Um <um.kiwon@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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <mailman.4531.1238761076.31690.help-gnu-emacs@gnu.org>]
* Re: way to get the list for all C/C++ related source files recursively? [not found] ` <mailman.4531.1238761076.31690.help-gnu-emacs@gnu.org> @ 2009-04-03 12:43 ` Kiwon Um 0 siblings, 0 replies; 3+ messages in thread From: Kiwon Um @ 2009-04-03 12:43 UTC (permalink / raw) To: help-gnu-emacs 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! :) ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2009-04-03 12:43 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 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 is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).