emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: David Maus <maus.david@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: BKnoth <bknoth@yahoo.com>, emacs-orgmode@gnu.org
Subject: Re: Re: Autoset org-agenda-files
Date: Mon, 01 Feb 2010 22:34:57 +0100	[thread overview]
Message-ID: <87wryw4p32.wl%maus.david@gmail.com> (raw)
In-Reply-To: <32023EC6-E251-41FB-981D-5A0840B8EACB@gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1025 bytes --]

At Mon, 1 Feb 2010 21:52:01 +0100,
Carsten Dominik wrote:
>
>
> On Feb 1, 2010, at 9:47 PM, BKnoth wrote:
>
> > On 2/1/2010 7:59 AM, Fredrik wrote:
> >> I wonder if someone with some elisp knowledge could help me out.... I
> >> have a folder containing all my org-files named as X.org and would
> >> like
> >> to autopopulate the org-agenda-files when I start emacs. So in short
> >> terms search folder for *.org (and exclude *-archive.org) so it is
> >> always done when starting emacs...
>
> This is a FAQ.
>
> http://orgmode.org/worg/org-faq.php#set-agenda-files-using-wildcards
>

Or if your org folder contains subdirs and you store org-files as
attachments to headlines (read: more subfolders) you may use the
`find-list' library.

In my configuration file:

(require 'find-lisp)
(setq org-agenda-files (find-lisp-find-files org-directory "^[^#].+\\.org$"))

adds all .org files to the list of agenda files.

HTH
 -- David

--
OpenPGP... 0x99ADB83B5A4478E6
Jabber.... dmjena@jabber.org
Email..... maus.david@gmail.com

[-- Attachment #1.2: Type: application/pgp-signature, Size: 230 bytes --]

[-- Attachment #2: Type: text/plain, Size: 201 bytes --]

_______________________________________________
Emacs-orgmode mailing list
Please use `Reply All' to send replies to the list.
Emacs-orgmode@gnu.org
http://lists.gnu.org/mailman/listinfo/emacs-orgmode

  reply	other threads:[~2010-02-01 21:35 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-01 15:59 Autoset org-agenda-files Fredrik
2010-02-01 20:45 ` BKnoth
2010-02-01 20:47 ` BKnoth
2010-02-01 20:52   ` Carsten Dominik
2010-02-01 21:34     ` David Maus [this message]
2010-02-02  7:44       ` Fredrik

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=87wryw4p32.wl%maus.david@gmail.com \
    --to=maus.david@gmail.com \
    --cc=bknoth@yahoo.com \
    --cc=carsten.dominik@gmail.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).