emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: david@adboyd.com (J. David Boyd)
To: emacs-orgmode@gnu.org
Subject: Re: How to let Org Agenda search all files in a directory *recursively* ?
Date: Thu, 27 Jun 2013 09:20:31 -0400	[thread overview]
Message-ID: <m9hiy59vwuzk.fsf@W0144758.usac.mmm.com> (raw)
In-Reply-To: 20130627075135.GA4761@stardiviner

chris <numbchild@gmail.com> writes:

> I want to set up Org-mode variable "org-agenda-files".
>
> How to Let [C-c a] to search over all files in a directory *recursively* ?

It's in the doc help for org-agenda-files:

   The files to be used for agenda display.
   Entries may be added to this list with M-x org-agenda-file-to-front and removed with
   M-x org-remove-file.  You can also use customize to edit the list.
   
   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.
   
   If the value of the variable is not a list but a single file name, then
   the list of agenda files is actually stored and maintained in that file, one
   agenda file per line.  In this file paths can be given relative to
   `org-directory'.  Tilde expansion and environment variable substitution
   are also made.

So just set it to be a directory, as I do.

Dave

  reply	other threads:[~2013-06-27 13:25 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-27  7:53 How to let Org Agenda search all files in a directory *recursively* ? chris
2013-06-27 13:20 ` J. David Boyd [this message]
2013-06-27 13:57   ` Nick Dokos
2013-06-27 14:32 ` Nicolas Richard
2013-06-27 17:53   ` J. David Boyd
2013-06-27 19:03     ` Nicolas Richard
2013-06-27 21:22       ` J. David Boyd
2013-06-27 23:40 ` Suvayu Ali

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=m9hiy59vwuzk.fsf@W0144758.usac.mmm.com \
    --to=david@adboyd.com \
    --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).