From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: Re: Fast traversing directories Date: Sat, 31 Oct 2009 14:28:10 -0400 Message-ID: <11278.1257013690@gamaville.dokosmarshall.org> References: <87skczlc2v.fsf@in-ulm.de> Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N4Ihz-0000an-S3 for emacs-orgmode@gnu.org; Sat, 31 Oct 2009 14:29:52 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N4Ihv-0000XE-8F for emacs-orgmode@gnu.org; Sat, 31 Oct 2009 14:29:51 -0400 Received: from [199.232.76.173] (port=39218 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N4Ihu-0000Wu-Tq for emacs-orgmode@gnu.org; Sat, 31 Oct 2009 14:29:46 -0400 Received: from vms173003pub.verizon.net ([206.46.173.3]:48882) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N4Ihu-0000CE-JQ for emacs-orgmode@gnu.org; Sat, 31 Oct 2009 14:29:46 -0400 Received: from gamaville.dokosmarshall.org ([173.76.32.106]) by vms173003.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KSE00EOA5YH2Q36@vms173003.mailsrvcs.net> for emacs-orgmode@gnu.org; Sat, 31 Oct 2009 13:28:05 -0500 (CDT) In-reply-to: Message from andrea Crotti of "Sat, 31 Oct 2009 17:31:17 -0000." List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: andrea Crotti Cc: emacs-orgmode@gnu.org andrea Crotti wrote: > > I tried this because I have more base directories. > (setq org-directories '("~/org" "~/uni")) > (setq org-agenda-files ()) > (dolist ((d org-directories)) > (setq org-agenda-files > (append org-agenda-files (find-lisp-find-files d "\.org$")))) > > > But it sets org-agenda-files to nil... Too many parens: try (dolist (d org-directories) (setq org-agenda-files (append org-agenda-files (find-lisp-find-files d "\.org$")))) Nick