The function find-lisp-find-files seems to work. To see it, do 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) [EMAIL PROTECTED] -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 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. 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 _______________________________________________ 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