From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matt Lundin Subject: Re: FAQ incorrect Date: Tue, 27 Oct 2009 11:00:51 -0400 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1N2nXh-0007oI-8c for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 11:01:01 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1N2nXd-0007mn-II for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 11:01:00 -0400 Received: from [199.232.76.173] (port=59240 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1N2nXc-0007mj-HE for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 11:00:56 -0400 Received: from out1.smtp.messagingengine.com ([66.111.4.25]:43259) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1N2nXc-0003fe-37 for emacs-orgmode@gnu.org; Tue, 27 Oct 2009 11:00:56 -0400 In-Reply-To: (W. Bentley MacLeod's message of "Tue, 27 Oct 2009 09:10:09 -0400 (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" writes: > 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")) Thanks. Yes, that is one way to add all files in directory. But the method suggested by the FAQ is also correct. According to the docstring for the variable org-agenda-files: ,---- | If an entry is a directory, all files in that directory that are matched by | `org-agenda-file-regexp' will be part of the file list. `---- I'll update the FAQ to indicate that there are multiple ways of accomplishing the same thing. I also saw a typo in the fake path in the example, which I'll be sure to change. Best, Matt