From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jambunathan K Subject: Re: Recursive org-agenda-files Date: Tue, 04 Oct 2011 13:02:46 +0530 Message-ID: <81vcs5jjoh.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:43761) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAzV2-0006cO-FJ for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 03:33:13 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAzV1-0005in-7c for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 03:33:12 -0400 Received: from mail-pz0-f47.google.com ([209.85.210.47]:62246) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAzV1-0005ih-33 for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 03:33:11 -0400 Received: by pzk4 with SMTP id 4so691956pzk.6 for ; Tue, 04 Oct 2011 00:33:09 -0700 (PDT) In-Reply-To: (Neilen Marais's message of "Tue, 4 Oct 2011 07:19:01 +0000 (UTC)") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Neilen Marais Cc: emacs-orgmode@gnu.org Neilen Marais writes: > Hi, > > netty hacky 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 > > > > > --