Update criteria for stuck projects

Previously, a project was not stuck if any subtask was tagged NOP (no-project).
However, this led constellations like the following to be hidden from the stuck
project list:

  * Test               :NOP:
  ** TestTest
  *** TestTestTest     :NOP:

In this case, the NOP at TestTestTest would result in hiding TestTest, which,
however, does not have any more things to do and should thus be marked stuck.
The new configuration will check NOP only at the top headline, and not at any
other sub-headlines.  For this, a property search TAGS={NOP} is necessary,
because otherwise tag inheritance would result in wrong false negatives.
This commit is contained in:
Daniel - 2020-01-10 18:23:11 +01:00
parent a4f2428e49
commit a63210a336
No known key found for this signature in database
GPG Key ID: 1C7071A75BB72D64
1 changed files with 2 additions and 2 deletions

View File

@ -1052,9 +1052,9 @@ in the main agenda view."
'(:link t :maxlevel 4 :compact t :narrow 60 :fileskip0 t)
org-stuck-projects
'("-DATE-HOLD-REGULAR-HOLD-NOTE+TODO=\"\""
'("+TODO=\"\"-DATE-REGULAR-HOLD-NOTE-TAGS={NOP}"
("CONT" "TODO" "READ" "WAIT" "GOTO" "DELG")
("NOP")
()
"")
org-agenda-prefix-format