From mboxrd@z Thu Jan 1 00:00:00 1970 From: Richard Riley Subject: all org files load :recursive? Date: Fri, 13 Jan 2012 02:20:57 +0100 Message-ID: Reply-To: emacs-orgmode@gnu.org Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([140.186.70.92]:60066) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlVpQ-0004o9-Lb for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 20:21:13 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1RlVpP-00073a-Hc for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 20:21:12 -0500 Received: from lo.gmane.org ([80.91.229.12]:55642) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1RlVpP-00073R-7E for emacs-orgmode@gnu.org; Thu, 12 Jan 2012 20:21:11 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RlVpO-0003C6-4l for emacs-orgmode@gnu.org; Fri, 13 Jan 2012 02:21:10 +0100 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2012 02:21:10 +0100 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 13 Jan 2012 02:21:10 +0100 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 Coming back to org, I see Im using "find-lisp-find-file" to set org-agenda-files at each emacs start. Is there a better "built in" way to say "load all org and gpg files under this directory" than this? I'm not sure I follow the docstring for org-agenda-file-regexp as I kind of hope something like ,---- | org-agenda-file-regexp is a variable defined in `org.el'. | Its value is "\\(projects|\\.org|\\.gpg\\)" `---- would work, where projects is a sub dir containg org and gpg files under org-directory. Undoubtely my escaping is all wrong again. So, How best to achieve a recrusive load of all org and gpg files under org-directory now? Keep using find-lisp-find-files? thanks r.