From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: FAQ incorrect Date: Tue, 27 Oct 2009 16:21:05 +0100 Message-ID: <9C4DC40D-F4C9-496E-B66F-91FAA5DCB41C@gmail.com> References: <4601.1256655409@gamaville.dokosmarshall.org> Mime-Version: 1.0 (Apple Message framework v936) Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2nrH-0008LC-Cu for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 11:21:15 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2nrC-0008KV-PC for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 11:21:14 -0400 Received: from [199.232.76.173] (port=60367 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2nrC-0008KS-Ht for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 11:21:10 -0400 Received: from mail-ew0-f228.google.com ([209.85.219.228]:63007) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2nrC-0006fN-88 for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 11:21:10 -0400 Received: by ewy28 with SMTP id 28so283922ewy.42 for ; Tue, 27 Oct 2009 08:21:09 -0700 (PDT) In-Reply-To: <4601.1256655409@gamaville.dokosmarshall.org> 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: nicholas.dokos@hp.com Cc: emacs-orgmode@gnu.org, "W.Bentley MacLeod" On Oct 27, 2009, at 3:56 PM, Nick Dokos wrote: > W.Bentley MacLeod wrote: > >> FAQ on how to include all org files in a directory is incorrect >> (view 85). >> Correct code is: >> (setq org-agenda-files (file-expand-wildcards "~/org-files/*.org")) >> > > If you are talking about this entry: > > How can include all org files in a directory in my agenda? > > You can simply set the value of org-agenda-files to a directory > rather than a list of files: > > (setq org-agenda-files "~/my/special/path/org/") Does that really work? I believe it should be (setq org-agenda-files '("~/my/special/path/org/")) i.e. each member of this list can be a file or a directory. If it is a directory, the org files in it will be used. - Carsten > > it is correct as it stands: unless you are using a really ancient > version, org figures out that it's a directory and sets org-agenda- > files > to the contents of the directory (filtered by org-agenda-file-regexp, > which by default matches filenames ending in ".org"). > > HTH, > Nick > > > > _______________________________________________ > Emacs-orgmode mailing list > Remember: use `Reply All' to send replies to the list. > Emacs-orgmode@gnu.org > http://lists.gnu.org/mailman/listinfo/emacs-orgmode - Carsten