From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.help Subject: Re: traverse a directory Date: Tue, 01 Jan 2008 22:22:00 +0200 Message-ID: References: <5f20a79c-c1fc-4853-b55f-657f6d66f0e9@l6g2000prm.googlegroups.com> NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1199218960 17808 80.91.229.12 (1 Jan 2008 20:22:40 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 1 Jan 2008 20:22:40 +0000 (UTC) To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Tue Jan 01 21:23:01 2008 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1J9ndc-0000en-K0 for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jan 2008 21:23:00 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9ndG-00028B-6R for geh-help-gnu-emacs@m.gmane.org; Tue, 01 Jan 2008 15:22:38 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1J9ncz-00026P-Jp for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 15:22:21 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1J9ncx-00024o-M7 for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 15:22:21 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1J9ncx-00024e-ID for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 15:22:19 -0500 Original-Received: from heller.inter.net.il ([213.8.233.23]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1J9ncx-00032T-DZ for help-gnu-emacs@gnu.org; Tue, 01 Jan 2008 15:22:19 -0500 Original-Received: from HOME-C4E4A596F7 (IGLD-83-130-255-248.inter.net.il [83.130.255.248]) by heller.inter.net.il (MOS 3.7.3a-GA) with ESMTP id ENH49200 (AUTH halo1); Tue, 1 Jan 2008 22:21:57 +0200 (IST) In-reply-to: <5f20a79c-c1fc-4853-b55f-657f6d66f0e9@l6g2000prm.googlegroups.com> (message from Xah Lee on Tue, 1 Jan 2008 08:51:33 -0800 (PST)) X-detected-kernel: by monty-python.gnu.org: FreeBSD 4.7-5.2 (or MacOS X 10.2-10.4) (2) X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.help:50425 Archived-At: > From: Xah Lee > Date: Tue, 1 Jan 2008 08:51:33 -0800 (PST) > > if i want to recurse into a directory, do i have to write my own? Take a look at the package find-lisp.el, which is bundled with Emacs 22. It has infrastructure for what you want. In particular, there's the `find-lisp-find-files-internal' function that recursively traverses a directory.