From mboxrd@z Thu Jan 1 00:00:00 1970 From: BKnoth Subject: Re: Autoset org-agenda-files Date: Mon, 01 Feb 2010 12:47:43 -0800 Message-ID: References: <8AA35E25-4070-4E21-9C42-8A5A00B4EAC4@jumans.net> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nc3E1-00028w-0N for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 15:50:25 -0500 Received: from [199.232.76.173] (port=40559 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nc3E0-00028o-MY for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 15:50:24 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nc3Dk-0005JV-2I for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 15:50:19 -0500 Received: from lo.gmane.org ([80.91.229.12]:60135) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nc3Dj-0005Ii-NF for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 15:50:07 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nc3Dh-0007DU-Hv for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 21:50:05 +0100 Received: from 128.18.14.160 ([128.18.14.160]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Feb 2010 21:50:05 +0100 Received: from bknoth by 128.18.14.160 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 01 Feb 2010 21:50:05 +0100 In-Reply-To: <8AA35E25-4070-4E21-9C42-8A5A00B4EAC4@jumans.net> 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: emacs-orgmode@gnu.org 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... > > Anyone that could help me create such a function? > > Regards, > > Fredrik > > Sorry - I just sent a non-sensible response. I didn't read your message thoroughly. Still, I'd think the regex feature of the org-agenda-files variable could help you out. Maybe I'm missing the point. - Bruce