emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] How to generate agenda view tasks of all states?


From: joakim
Subject: Re: [O] How to generate agenda view tasks of all states?
Date: Wed, 02 Jan 2013 20:08:51 +0100
User-agent: Gnus/5.130006 (Ma Gnus v0.6) Emacs/24.3.50 (gnu/linux)

Bastien <address@hidden> writes:

> Hi Joakim,
>
> address@hidden writes:
>
>> I would like to experiment with a graphical view of all tasks I've ever
>> finished, produced with graphviz or something.
>>
>> However, I can't seem to reliably generate a suitable view for further
>> processing. For some reason arg 0 only shows TODO items, not all states.
>>
>> Here is some tentative code, that is supposed to setup a local state so
>> my customizations doesnt affect the view. Am I missing something?
>>
>> (let ((org-agenda-todo-list-sublevels t)
>>       (org-agenda-todo-ignore-with-date nil)
>>       (org-todo-keywords '((sequence "TODO"  "DONE" "CANCELLED" 
>> "dummystate"))) )
>>   
>>   (org-todo-list 0))
>
> This works:
>
>   (let ((org-agenda-todo-list-sublevels t)
>         (org-agenda-todo-ignore-with-date nil)
>         (org-not-done-regexp (regexp-opt org-todo-keywords-1 t)))
>     (org-todo-list))
>
> (org-todo-list) should be called with no argument.
>
> You need to set `org-not-done-regexp' so that done tasks are not
> skipped, which is the default behavior of `org-todo-list'.


Thanks, this does inded seem to work!

> HTH,

-- 
Joakim Verona



reply via email to

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