emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Jambunathan K <kjambunathan@gmail.com>
To: Neilen Marais <nmarais@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Recursive org-agenda-files
Date: Tue, 04 Oct 2011 13:02:46 +0530	[thread overview]
Message-ID: <81vcs5jjoh.fsf@gmail.com> (raw)
In-Reply-To: <loom.20111004T091603-937@post.gmane.org> (Neilen Marais's message of "Tue, 4 Oct 2011 07:19:01 +0000 (UTC)")

Neilen Marais <nmarais@gmail.com> writes:

> Hi,
>
> netty hacky <netty.hacky <at> gmail.com> writes:
>
>> 
>> Hi Neilen,
>> 
>> I think you want these in your .emacs (from
>> http://orgmode.org/worg/org-faq.html, "Can I add files recursively to
>> my list of agenda files?"):
>> (load-library "find-lisp")
>> (setq org-agenda-files (find-lisp-find-files "~/org" "\.org$"))
>
> Thanks. I tried this, but as far as I can tell it won't automatically see new
> files or directories as they are added, so I have to re-evaluate te setq every
> time I add new projects or files. Or am I wrong?

Have you considered adding it to say org-mode-hook?

> Thanks
> Neilen
>
>
>
>
>

-- 

  reply	other threads:[~2011-10-04  7:33 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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

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=81vcs5jjoh.fsf@gmail.com \
    --to=kjambunathan@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=nmarais@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).