[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Orgmode] Re: FAQ incorrect

From: W.Bentley MacLeod
Subject: [Orgmode] Re: FAQ incorrect
Date: Tue, 27 Oct 2009 11:03:54 -0400 (EDT)
User-agent: Alpine 2.00 (LNX 1167 2008-08-23)

perfect. b.


Professor W. Bentley MacLeod
Columbia University in the City of New York, NY 10027

On Tue, 27 Oct 2009, Benjamin Andresen wrote:

Hey W.,

"W.Bentley MacLeod" <address@hidden> 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"))

You are right.

This isn't valid: (setq org-agenda-files "~/my/special/path/org/")

M-x org-agenda RET will reply with: `org-agenda-files' cannot be a single 

I propose the following for the FAQ:

(setq org-agenda-directory "~/Org/")
(setq org-agenda-files (directory-files (expand-file-name org-agenda-directory) t 

That will add every org file. I've had the problem of normal glob
expansion to include emacs lock files that are in this format:

I was under the impression that org-agenda-directory set to
~/my/special/path/org/ would Just Work(tm) because if you do C-c a a v A
it pulls in the right files for me.

best bm


reply via email to

[Prev in Thread] Current Thread [Next in Thread]