From mboxrd@z Thu Jan 1 00:00:00 1970 From: BKnoth Subject: Re: Autoset org-agenda-files Date: Mon, 01 Feb 2010 12:45:46 -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 1Nc39r-0000x0-ES for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 15:46:07 -0500 Received: from [199.232.76.173] (port=60935 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nc39q-0000wE-Op for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 15:46:06 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nc39o-0003qX-8b for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 15:46:06 -0500 Received: from lo.gmane.org ([80.91.229.12]:58593) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nc39n-0003py-RI for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 15:46:04 -0500 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1Nc39i-0004Xt-Ep for emacs-orgmode@gnu.org; Mon, 01 Feb 2010 21:45:58 +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:45:58 +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:45:58 +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 Look at the doc for org-agenda-files. - Bruce