emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Matt Lundin <mdl@imapmail.org>
To: "W.Bentley MacLeod" <bentley.macleod@columbia.edu>
Cc: emacs-orgmode@gnu.org
Subject: Re: FAQ incorrect
Date: Tue, 27 Oct 2009 11:00:51 -0400	[thread overview]
Message-ID: <m2vdi051b0.fsf@fastmail.fm> (raw)
In-Reply-To: <alpine.LNX.2.00.0910270907540.8055@wbm1.site> (W. Bentley MacLeod's message of "Tue, 27 Oct 2009 09:10:09 -0400 (EDT)")

"W.Bentley MacLeod" <bentley.macleod@columbia.edu> 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

      parent reply	other threads:[~2009-10-27 15:01 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
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 [this message]

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=m2vdi051b0.fsf@fastmail.fm \
    --to=mdl@imapmail.org \
    --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).