From mboxrd@z Thu Jan 1 00:00:00 1970 From: Puneeth Chaganti Subject: Re: Merging a list and wildcard expansion in org-agenda-files Date: Sun, 10 Apr 2011 19:42:52 +0530 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from [140.186.70.92] (port=41207 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q8vOC-0001oZ-AV for emacs-orgmode@gnu.org; Sun, 10 Apr 2011 10:13:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q8vO6-0005cO-SQ for emacs-orgmode@gnu.org; Sun, 10 Apr 2011 10:13:20 -0400 Received: from mail-ww0-f49.google.com ([74.125.82.49]:48022) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q8vO6-0005cI-J4 for emacs-orgmode@gnu.org; Sun, 10 Apr 2011 10:13:14 -0400 Received: by wwb39 with SMTP id 39so4989862wwb.30 for ; Sun, 10 Apr 2011 07:13:13 -0700 (PDT) In-Reply-To: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Adrian C." Cc: emacs-orgmode@gnu.org Sorry for replying to my own mail. On Sun, Apr 10, 2011 at 7:36 PM, Puneeth Chaganti wro= te: > On Sun, Apr 10, 2011 at 1:16 AM, Adrian C. > I'm not sure this is the best way to do it, but this works. > > (setq org-agenda-files (append > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0'("~/.life-in-plain-text/") > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0(file-expand-wildcards > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2= =A0 =C2=A0 "/tmp/projects/*/projects.org"))) This is more like it, I think. (setq org-agenda-files (cons "~/org/" (file-expand-wildcards "~/projects/*/projects.org"))) -- Puneeth