Compare commits

...

2 Commits

Author SHA1 Message Date
3b13921097
Change default org-ql query for db/org-backlinks to (not (done))
Using `(todo)` (the previous default) excluded NOTEs and TOPICs (among others)
which I am usually interested in.
2022-06-30 16:51:55 +02:00
09ca55efeb
Ignore TOPICs and PERIODICs in done, hold, or wait state 2022-06-30 16:50:58 +02:00
2 changed files with 3 additions and 3 deletions

View File

@ -1191,11 +1191,11 @@ respectively."
(tags "TAGS={NOTE}-TODO={CANC\\|DONE}-HOLD-NOP-SCHEDULED>=\"<+0d>\"" (tags "TAGS={NOTE}-TODO={CANC\\|DONE}-HOLD-NOP-SCHEDULED>=\"<+0d>\""
((org-agenda-overriding-header "Project Notes (items explicitly tagged with NOTE but not NOP, not scheduled now or in the future)") ((org-agenda-overriding-header "Project Notes (items explicitly tagged with NOTE but not NOP, not scheduled now or in the future)")
(org-agenda-prefix-format '((tags . "%-8c "))))) (org-agenda-prefix-format '((tags . "%-8c ")))))
(tags "TAGS={TOPIC}-SCHEDULED>=\"<+0d>\"" (tags "TAGS={TOPIC}-TODO={DONE\\|CANC}-SCHEDULED>=\"<+0d>\"-HOLD-WAIT"
((org-agenda-overriding-header "Topics") ((org-agenda-overriding-header "Topics")
(org-agenda-prefix-format '((tags . "%-8c%l "))) (org-agenda-prefix-format '((tags . "%-8c%l ")))
(org-agenda-sorting-strategy nil))) (org-agenda-sorting-strategy nil)))
(tags "TAGS={PERIODIC}-TODO={DONE\\|CANC}-HOLD-SCHEDULED>=\"<+0d>\"" (tags "TAGS={PERIODIC}-TODO={DONE\\|CANC}-HOLD-SCHEDULED>=\"<+0d>\"-HOLD-WAIT"
((org-agenda-overriding-header "Periodic Projects (PERIODIC, not scheduled in the future, not done, not on hold)") ((org-agenda-overriding-header "Periodic Projects (PERIODIC, not scheduled in the future, not done, not on hold)")
(org-agenda-prefix-format '((tags . "%-8c "))))))) (org-agenda-prefix-format '((tags . "%-8c ")))))))

View File

@ -1129,7 +1129,7 @@ PARAMS may contain the following values:
(interactive) (interactive)
(org-create-dblock (org-create-dblock
(list :name "db/org-backlinks" (list :name "db/org-backlinks"
:org-ql-match '(todo) :org-ql-match '(not (done))
:parent-depth nil :parent-depth nil
:archives nil)) :archives nil))
(org-update-dblock)) (org-update-dblock))