emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* Recursive org-agenda-files
@ 2011-10-03 15:48 Neilen Marais
  2011-10-03 17:38 ` netty hacky
  0 siblings, 1 reply; 12+ messages in thread
From: Neilen Marais @ 2011-10-03 15:48 UTC (permalink / raw)
  To: emacs-orgmode

Hi,

I like to have a directory per project, with an .org file in each
directory. Is there a way to set org-agenda-files such that it can
recursively scan my whole projects dir for all org files?

Thanks
Neilen

^ permalink raw reply	[flat|nested] 12+ messages in thread
* RE: Recursive org-agenda-files
@ 2008-10-31 12:30 Sullivan, Gregory (US SSA)
  2008-10-31 14:32 ` mclundin
  0 siblings, 1 reply; 12+ messages in thread
From: Sullivan, Gregory (US SSA) @ 2008-10-31 12:30 UTC (permalink / raw)
  To: Matthew Lundin, emacs-orgmode

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)
gregory.sullivan@baesystems.com 


-----Original Message-----
From: emacs-orgmode-bounces+gregory.sullivan=baesystems.com@gnu.org
[mailto:emacs-orgmode-bounces+gregory.sullivan=baesystems.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. 

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

^ permalink raw reply	[flat|nested] 12+ messages in thread

end of thread, other threads:[~2011-10-14 18:55 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2011-10-03 15:48 Recursive org-agenda-files Neilen Marais
2011-10-03 17:38 ` netty hacky
2011-10-04  7:19   ` Neilen Marais
2011-10-04  7:32     ` Jambunathan K
2011-10-04  7:54       ` Jambunathan K
2011-10-04 12:42         ` Neilen Marais
2011-10-04 14:12           ` Nick Dokos
2011-10-05  2:33             ` Matthew Sauer
2011-10-14 18:53               ` Neilen Marais
2011-10-14 18:48             ` Neilen Marais
  -- strict thread matches above, loose matches on Subject: below --
2008-10-31 12:30 Sullivan, Gregory (US SSA)
2008-10-31 14:32 ` mclundin

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

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).