emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: "Sullivan, Gregory \(US SSA\)" <gregory.sullivan@baesystems.com>
To: Matthew Lundin <mclundin@gmail.com>, emacs-orgmode@gnu.org
Subject: RE: Recursive org-agenda-files
Date: Fri, 31 Oct 2008 08:30:59 -0400	[thread overview]
Message-ID: <7b4bbp$11a9u8@dmzms99802.na.baesystems.com> (raw)

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

             reply	other threads:[~2008-10-31 12:32 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-31 12:30 Sullivan, Gregory (US SSA) [this message]
2008-10-31 14:32 ` Recursive org-agenda-files mclundin
  -- strict thread matches above, loose matches on Subject: below --
2011-10-03 15:48 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='7b4bbp$11a9u8@dmzms99802.na.baesystems.com' \
    --to=gregory.sullivan@baesystems.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=mclundin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).