emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Global Task List


From: Sebastien Vauban
Subject: Re: [O] Global Task List
Date: Fri, 11 Nov 2011 21:52:19 +0100
User-agent: Gnus/5.110018 (No Gnus v0.18) Emacs/24.0.50 (windows-nt)

Hi Olivier and Cameron,

Olivier Schwander wrote:
> Le 11 Nov 2011 12:17, Cameron Seader a écrit:
>> 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 something
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

-- 
Sebastien Vauban




reply via email to

[Prev in Thread] Current Thread [Next in Thread]