From mboxrd@z Thu Jan 1 00:00:00 1970 From: Esben Stien Subject: Re: Multiple Recursive Directories with org-agenda-files Date: Tue, 15 Apr 2014 20:54:10 +0200 Message-ID: <8761ma1l0t.fsf@quasar.esben-stien.name> References: <87d2gj34a3.fsf@quasar.esben-stien.name> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:50210) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wa8Ut-0002r6-Vk for emacs-orgmode@gnu.org; Tue, 15 Apr 2014 14:54:26 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Wa8Uo-0005rV-09 for emacs-orgmode@gnu.org; Tue, 15 Apr 2014 14:54:19 -0400 Received: from nmsh1.e.nsc.no ([193.213.121.72]:34355) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Wa8Un-0005r2-Mv for emacs-orgmode@gnu.org; Tue, 15 Apr 2014 14:54:13 -0400 Received: from quasar.esben-stien.name (cm-84.210.71.233.getinternet.no [84.210.71.233]) (authenticated bits=0) by nmsh1.nsc.no (8.14.7/8.14.7) with ESMTP id s3FIsAVY021502 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA256 bits=256 verify=NOT) for ; Tue, 15 Apr 2014 20:54:11 +0200 (MEST) In-Reply-To: (Julian M. Burgos's message of "Tue, 15 Apr 2014 09:43:43 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org "Julian M. Burgos" writes: > (load-library "find-lisp") > (add-hook 'org-agenda-mode-hook (lambda () > (setq org-agenda-files > (find-lisp-find-files "/home/julian/Documents" "\.org$")) > )) This is not a multiple directories examples, so I tried: (add-hook 'org-agenda-mode-hook (lambda () (setq org-agenda-files (find-lisp-find-files "~/foo/bar" "\.org$") (find-lisp-find-files "~/hukarz/quux" "\.org$")) )) , but that just threw a lisp error. -- Esben Stien is b0ef@e s a http://www. s t n m irc://irc. b - i . e/%23contact sip:b0ef@ e e jid:b0ef@ n n