From mboxrd@z Thu Jan 1 00:00:00 1970 From: Neilen Marais Subject: Re: Recursive org-agenda-files Date: Tue, 4 Oct 2011 07:19:01 +0000 (UTC) Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([140.186.70.92]:38038) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAzNE-0004pQ-AA for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 03:25:09 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RAzND-00042y-8E for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 03:25:08 -0400 Received: from lo.gmane.org ([80.91.229.12]:43745) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RAzND-00041h-1N for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 03:25:07 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RAzNB-00081k-4Z for emacs-orgmode@gnu.org; Tue, 04 Oct 2011 09:25:05 +0200 Received: from 196.24.41.254 ([196.24.41.254]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Oct 2011 09:25:05 +0200 Received: from nmarais by 196.24.41.254 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 04 Oct 2011 09:25:05 +0200 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: emacs-orgmode@gnu.org 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? Thanks Neilen