emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nick Dokos <nicholas.dokos@hp.com>
To: andrea Crotti <andrea.crotti.0@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: Re: Fast traversing directories
Date: Sat, 31 Oct 2009 14:28:10 -0400	[thread overview]
Message-ID: <11278.1257013690@gamaville.dokosmarshall.org> (raw)
In-Reply-To: Message from andrea Crotti <andrea.crotti.0@gmail.com> of "Sat, 31 Oct 2009 17:31:17 -0000." <loom.20091031T183012-756@post.gmane.org>

andrea Crotti <andrea.crotti.0@gmail.com> wrote:

> 
> 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...

Too many parens: try

(dolist (d org-directories)
   (setq org-agenda-files
 	(append org-agenda-files (find-lisp-find-files d "\.org$"))))

Nick

  parent reply	other threads:[~2009-10-31 18:29 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
2009-10-31 18:09     ` PT
2009-10-31 18:28     ` Nick Dokos [this message]
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=11278.1257013690@gamaville.dokosmarshall.org \
    --to=nicholas.dokos@hp.com \
    --cc=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).