From: joakim@verona.se
To: Bastien <bzg@altern.org>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to generate agenda view tasks of all states?
Date: Wed, 02 Jan 2013 20:08:51 +0100 [thread overview]
Message-ID: <m3r4m3pflo.fsf@chopper.vpn.verona.se> (raw)
In-Reply-To: <87ehi9fakw.fsf@bzg.ath.cx> (Bastien's message of "Sat, 29 Dec 2012 10:53:51 +0100")
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
prev parent reply other threads:[~2013-01-02 19:09 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
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 [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m3r4m3pflo.fsf@chopper.vpn.verona.se \
--to=joakim@verona.se \
--cc=bzg@altern.org \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).