On Oct 27, 2009, at 3:56 PM, Nick Dokos wrote:
W.Bentley MacLeod <bentley.macl...@columbia.edu> 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
_______________________________________________
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