[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Orgmode] Todo item property search
From: |
Bastien |
Subject: |
Re: [Orgmode] Todo item property search |
Date: |
Fri, 03 Sep 2010 01:04:20 +0200 |
User-agent: |
Gnus/5.110011 (No Gnus v0.11) Emacs/23.2 (gnu/linux) |
Chevalier Julien <address@hidden> writes:
> How can i build a sparse tree of all my unscheduled todo items ?
>
,----
| (setq org-agenda-custom-commands
| '(("u" todo "TODO"
| ((org-agenda-todo-ignore-with-date t)
| (org-agenda-tags-todo-honor-ignore-options t)))))
`----
Will show unscheduled TODO items as a TODO list.
AFAIU, org-agenda-tags-todo-honor-ignore-options won't work for
todo-tree because they are only useful for todo and tags searches.
So I thought this would work:
,----
| (setq org-agenda-custom-commands
| '(("u" todo-tree "TODO"
| ((org-agenda-skip-function
| (lambda ()
| (if (not (org-entry-get nil "SCHEDULED"))
| (progn (outline-next-heading) (point)))))))))
`----
... but it doesn't (i.e. it doesn't create a sparse tree of TODO items
that don't have a SCHEDULED property.)
Carsten, any idea why?
--
Bastien