emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Fredrik <fredrik@jumans.net>
To: David Maus <maus.david@gmail.com>
Cc: BKnoth <bknoth@yahoo.com>,
	emacs-orgmode@gnu.org,
	Carsten Dominik <carsten.dominik@gmail.com>
Subject: Re: Re: Autoset org-agenda-files
Date: Tue, 2 Feb 2010 08:44:43 +0100	[thread overview]
Message-ID: <0C901BE6-90BD-4CCA-84D8-80671D5C748C@jumans.net> (raw)
In-Reply-To: <87wryw4p32.wl%maus.david@gmail.com>

Thanks,

exactly what I was looking for...have some things that needs to be  
excluded and have som subfolders so this helps a lot..

Thank you all for your input...

Regards,

Fredrik

On 1 feb 2010, at 22.34, David Maus wrote:

> 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
> _______________________________________________
> 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-02  8:16 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
2010-02-02  7:44       ` Fredrik [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=0C901BE6-90BD-4CCA-84D8-80671D5C748C@jumans.net \
    --to=fredrik@jumans.net \
    --cc=bknoth@yahoo.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=maus.david@gmail.com \
    /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).