emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: andrea Crotti <andrea.crotti.0@gmail.com>
To: emacs-orgmode@gnu.org
Subject: Re: Fast traversing directories
Date: Sat, 31 Oct 2009 17:31:17 +0000 (UTC)	[thread overview]
Message-ID: <loom.20091031T183012-756@post.gmane.org> (raw)
In-Reply-To: 87skczlc2v.fsf@in-ulm.de

Benjamin Andresen <benny <at> in-ulm.de> writes:

> 
> Hey Andrea,
> 
> andrea Crotti <andrea.crotti.0 <at> gmail.com> writes:
> 
> > I didn't find any function in elisp, maybe it would be better
> > to get a list of org-files with an external command (python or shell script),
> > what do you think?
> 
> http://orgmode.org/worg/org-faq.php#set-agenda-files-recursively
> 
> br,
> benny
> 
>
That's really great!

I tried this because I have more base directories.
(setq org-directories '("~/org" "~/uni"))
(setq org-agenda-files ())
(dolist ((d org-directories))
  (setq org-agenda-files
	(append org-agenda-files (find-lisp-find-files d "\.org$"))))


But it sets org-agenda-files to nil...
Should I use maybe concat and some sort of mapping (for more elegance?)

  reply	other threads:[~2009-10-31 17:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-31 17:07 Fast traversing directories andrea Crotti
2009-10-31 17:15 ` Benjamin Andresen
2009-10-31 17:31   ` andrea Crotti [this message]
2009-10-31 18:09     ` PT
2009-10-31 18:28     ` Nick Dokos
2009-10-31 19:16       ` Thierry Volpiatto
2009-11-20 20:43         ` Tim O'Callaghan

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=loom.20091031T183012-756@post.gmane.org \
    --to=andrea.crotti.0@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).