Add consistency block to search for TOPICs nested in non-TOPICs

TOPICs are “upward-inherited”, so a TOPIC can always only be part of a TOPIC
itself.
This commit is contained in:
Daniel - 2022-06-28 21:10:17 +02:00
parent 414b59b1d8
commit 06ae1cf95a
No known key found for this signature in database
GPG Key ID: 784AA8DF0CCDF625
1 changed files with 5 additions and 1 deletions

View File

@ -1156,7 +1156,11 @@ respectively."
("C" "Checks"
((tags "TODO=\"\"-HOLD-SOMEWHEN-DATE-PERIODIC-NOTE-NOP-TOPIC-TEMPLATE-GOAL"
((org-agenda-overriding-header "Goals (i.e., complex tasks) not marked with GOAL")))))
((org-agenda-overriding-header "Goals (i.e., complex tasks) not marked with GOAL")))
(org-ql-block '(and (not (tags "TOPIC"))
(descendants (tags "TOPIC")))
((org-ql-block-header "Non-TOPIC items containing TOPICs")
(org-agenda-sorting-strategy nil)))))
("U" "Unsupervised (Waiting, Missed Appointments, Hold)"
((tags-todo "WAIT-HOLD-SOMEWHEN"