From: Nick Dokos <nicholas.dokos@hp.com>
To: "W.Bentley MacLeod" <bentley.macleod@columbia.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: FAQ incorrect
Date: Tue, 27 Oct 2009 10:56:49 -0400 [thread overview]
Message-ID: <4601.1256655409@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from "W.Bentley MacLeod" <bentley.macleod@columbia.edu> of "Tue, 27 Oct 2009 09:10:09 EDT." <alpine.LNX.2.00.0910270907540.8055@wbm1.site>
W.Bentley MacLeod <bentley.macleod@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/")
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
next prev parent reply other threads:[~2009-10-27 14:58 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-10-27 13:10 FAQ incorrect W.Bentley MacLeod
2009-10-27 14:50 ` Benjamin Andresen
2009-10-27 15:03 ` W.Bentley MacLeod
2009-10-27 15:05 ` W.Bentley MacLeod
2009-10-27 14:56 ` Nick Dokos [this message]
2009-10-27 15:21 ` Carsten Dominik
2009-10-27 15:29 ` Nick Dokos
2009-10-27 17:02 ` Matt Lundin
2009-10-27 15:00 ` Matt Lundin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4601.1256655409@gamaville.dokosmarshall.org \
--to=nicholas.dokos@hp.com \
--cc=bentley.macleod@columbia.edu \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).