From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nick Dokos Subject: Re: FAQ incorrect Date: Tue, 27 Oct 2009 10:56:49 -0400 Message-ID: <4601.1256655409@gamaville.dokosmarshall.org> References: Reply-To: nicholas.dokos@hp.com Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2nVV-0006lm-Vj for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 10:58:46 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2nVR-0006jI-DZ for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 10:58:45 -0400 Received: from [199.232.76.173] (port=38738 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2nVR-0006is-3q for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 10:58:41 -0400 Received: from vms173005pub.verizon.net ([206.46.173.5]:48289) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2nVQ-00037c-MG for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 10:58:40 -0400 Received: from gamaville.dokosmarshall.org ([173.76.32.106]) by vms173005.mailsrvcs.net (Sun Java(tm) System Messaging Server 6.3-7.04 (built Sep 26 2008; 32bit)) with ESMTPA id <0KS6002PYHID2J7A@vms173005.mailsrvcs.net> for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 09:56:43 -0500 (CDT) In-reply-to: Message from "W.Bentley MacLeod" of "Tue, 27 Oct 2009 09:10:09 EDT." 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: "W.Bentley MacLeod" Cc: emacs-orgmode@gnu.org 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/") 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