From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Maus Subject: Re: Re: Autoset org-agenda-files Date: Mon, 01 Feb 2010 22:34:57 +0100 Message-ID: <87wryw4p32.wl%maus.david@gmail.com> References: <8AA35E25-4070-4E21-9C42-8A5A00B4EAC4@jumans.net> <32023EC6-E251-41FB-981D-5A0840B8EACB@gmail.com> Mime-Version: 1.0 (generated by SEMI 1.14.6 - "Maruoka") Content-Type: multipart/mixed; boundary="===============0044861421==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nc3vK-0003Bz-TD for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 16:35:10 -0500 Received: from [199.232.76.173] (port=34786 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nc3vJ-0003BA-9P for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 16:35:09 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nc3vE-0004wa-7B for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 16:35:08 -0500 Received: from mail-fx0-f216.google.com ([209.85.220.216]:38003) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nc3vD-0004vo-Ol for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 16:35:04 -0500 Received: by fxm8 with SMTP id 8so5241227fxm.26 for ; Mon, 01 Feb 2010 13:35:01 -0800 (PST) In-Reply-To: <32023EC6-E251-41FB-981D-5A0840B8EACB@gmail.com> List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: BKnoth , emacs-orgmode@gnu.org --===============0044861421== Content-Type: multipart/signed; boundary="pgp-sign-Multipart_Mon_Feb__1_22:34:54_2010-1"; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit --pgp-sign-Multipart_Mon_Feb__1_22:34:54_2010-1 Content-Type: text/plain; charset=US-ASCII At Mon, 1 Feb 2010 21:52:01 +0100, Carsten Dominik wrote: > > > On Feb 1, 2010, at 9:47 PM, BKnoth wrote: > > > On 2/1/2010 7:59 AM, Fredrik wrote: > >> I wonder if someone with some elisp knowledge could help me out.... I > >> have a folder containing all my org-files named as X.org and would > >> like > >> to autopopulate the org-agenda-files when I start emacs. So in short > >> terms search folder for *.org (and exclude *-archive.org) so it is > >> always done when starting emacs... > > This is a FAQ. > > http://orgmode.org/worg/org-faq.php#set-agenda-files-using-wildcards > Or if your org folder contains subdirs and you store org-files as attachments to headlines (read: more subfolders) you may use the `find-list' library. In my configuration file: (require 'find-lisp) (setq org-agenda-files (find-lisp-find-files org-directory "^[^#].+\\.org$")) adds all .org files to the list of agenda files. HTH -- David -- OpenPGP... 0x99ADB83B5A4478E6 Jabber.... dmjena@jabber.org Email..... maus.david@gmail.com --pgp-sign-Multipart_Mon_Feb__1_22:34:54_2010-1 Content-Type: application/pgp-signature Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iF4EABEIAAYFAktnSQEACgkQma24O1pEeObwiwD9H8uGyDEqDFUGBaAgAd5Jm/u2 YU+zj0N8AJsfFBMkQLQBAMT294g53RJVZ8r8D1wZ42NhJYTHZNWNbu4hQ0nvgzhH =65gM -----END PGP SIGNATURE----- --pgp-sign-Multipart_Mon_Feb__1_22:34:54_2010-1-- --===============0044861421== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Please use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============0044861421==--