From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sullivan, Gregory \(US SSA\)" Subject: RE: Recursive org-agenda-files Date: Fri, 31 Oct 2008 08:30:59 -0400 Message-ID: <7b4bbp$11a9u8@dmzms99802.na.baesystems.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KvtAZ-0006JE-VG for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 08:32:04 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KvtAY-0006IN-8u for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 08:32:03 -0400 Received: from [199.232.76.173] (port=59741 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KvtAY-0006IJ-08 for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 08:32:02 -0400 Received: from dmzms99802.na.baesystems.com ([149.32.232.66]:48729) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KvtAW-0005L7-Sb for emacs-orgmode@gnu.org; Fri, 31 Oct 2008 08:32:01 -0400 content-class: urn:content-classes:message 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: Matthew Lundin , emacs-orgmode@gnu.org The function find-lisp-find-files seems to work. To see it, do=20 M-x find-function find-lisp-find-files To use it, you'll probably have to do (load-library "find-lisp") (find-lisp-find-files "~/org" "\.org") HTH. --Greg -- Gregory T. Sullivan, Ph.D. BAE Systems Advanced Information Technologies 6 New England Executive Park, Burlington, MA 01803 781-262-4553 (office), 978-430-3461 (cell) gregory.sullivan@baesystems.com=20 -----Original Message----- From: emacs-orgmode-bounces+gregory.sullivan=3Dbaesystems.com@gnu.org [mailto:emacs-orgmode-bounces+gregory.sullivan=3Dbaesystems.com@gnu.org] On Behalf Of Matthew Lundin Sent: Wednesday, October 29, 2008 11:40 PM To: emacs-orgmode@gnu.org Subject: [Orgmode] Recursive org-agenda-files Is it possible to set the org-agenda-files variable to include all org files within a directory recursively? I currently use: (set org-agenda files (file-expand-wildcards "~/org/*.org")) This, of course, includes all org files in ~/org.=20 But how would I include all org files in both ~/org and its subdirectories without having to enter them all by hand? E.g., org/ (.org files here) professional/ (.org files here) research/ (.org files here) teaching/ (.org files here) personal/ (.org files here) computer/ (.org files here) Thanks! Matt Lundin _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode