Docs: Update example
This commit is contained in:
parent
876f20a340
commit
c4c861de2e
1 changed files with 6 additions and 5 deletions
11
README.org
11
README.org
|
|
@ -75,12 +75,13 @@ More examples are available in [[examples.org]].
|
||||||
(priority "A")))
|
(priority "A")))
|
||||||
(agenda)))))
|
(agenda)))))
|
||||||
|
|
||||||
;; Show a "stuck projects" view: tasks that are not done and have only
|
;; Show a GTD-style "stuck projects" view: PROJECT tasks that have no
|
||||||
;; non-task children.
|
;; descendants with the NEXT keyword. If you use a "project" tag
|
||||||
|
;; instead of the to-do keyword, you could replace (todo "PROJECT")
|
||||||
|
;; with (tags "project").
|
||||||
(org-ql-search (org-agenda-files)
|
(org-ql-search (org-agenda-files)
|
||||||
'(and (todo)
|
'(and (todo "PROJECT")
|
||||||
(children)
|
(not (descendants (todo "NEXT"))))
|
||||||
(not (children (todo))))
|
|
||||||
:title "Stuck Projects")
|
:title "Stuck Projects")
|
||||||
#+END_SRC
|
#+END_SRC
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue