* How to generate agenda view tasks of all states?
@ 2012-11-30 15:17 joakim
2012-12-29 9:53 ` Bastien
0 siblings, 1 reply; 3+ messages in thread
From: joakim @ 2012-11-30 15:17 UTC (permalink / raw)
To: emacs-orgmode
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))
--
Joakim Verona
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to generate agenda view tasks of all states?
2012-11-30 15:17 How to generate agenda view tasks of all states? joakim
@ 2012-12-29 9:53 ` Bastien
2013-01-02 19:08 ` joakim
0 siblings, 1 reply; 3+ messages in thread
From: Bastien @ 2012-12-29 9:53 UTC (permalink / raw)
To: joakim; +Cc: emacs-orgmode
Hi Joakim,
joakim@verona.se 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'.
HTH,
--
Bastien
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to generate agenda view tasks of all states?
2012-12-29 9:53 ` Bastien
@ 2013-01-02 19:08 ` joakim
0 siblings, 0 replies; 3+ messages in thread
From: joakim @ 2013-01-02 19:08 UTC (permalink / raw)
To: Bastien; +Cc: emacs-orgmode
Bastien <bzg@altern.org> writes:
> Hi Joakim,
>
> joakim@verona.se 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-02 19:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-30 15:17 How to generate agenda view tasks of all states? joakim
2012-12-29 9:53 ` Bastien
2013-01-02 19:08 ` joakim
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).