From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Sebastien Vauban" Subject: Re: Global Task List Date: Fri, 11 Nov 2011 21:52:19 +0100 Message-ID: <80obwiz8jg.fsf@somewhere.org> References: <4EBD672E.8000706@suse.com> <20111111183650.GA11607@zozo.lan> <4EBD74C8.3070209@suse.com> <20111111201756.GA19492@bugaga.lan> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: 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-mXXj517/zsQ@public.gmane.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org-mXXj517/zsQ@public.gmane.org To: emacs-orgmode-mXXj517/zsQ@public.gmane.org Hi Olivier and Cameron, Olivier Schwander wrote: > Le 11 Nov 2011 12:17, Cameron Seader a =C3=A9crit: >> I get an error when setting the variable to a folder >> (setq org-agenda-custom-commands >> ((org-agenda-files '("~/Documents/Notes/org/")) >> )) > > You are not supposed to set it to a folder. "Yes, you can". See http://www.gnu.org/software/emacs/manual/html_node/org/Agenda-files.html. But your error comes from the way you write you agenda custom commands: no dispatcher key, no documentation string, etc. > I use something like: > > (setq org-agenda-files (file-expand-wildcards "~/Notes/*.org")) Cameron, use something like the above for a system-wide setting, or somethi= ng like this for a change just for some custom view: #+begin_src emacs-lisp ("p" "Tasks in my personal realm" alltodo "" ((org-agenda-files '("~/Personal/TODO.org")))) #+end_src Best regards, Seb --=20 Sebastien Vauban