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.)