This is probably pretty simple, but for some reason I can't seem to get this to work.
I have a block agenda that should list all the headlines with NEXT
as well as DONE
and DROPPED
todo states. I want one block to show Done and Dropped, and another one to show NEXT.
I currently have this in org-agenda-custom-commands
:
("n" "Next"
((tags-todo "/+DONE|+DROPPED" ((org-agenda-overriding-header "Done/Dropped:")))
(todo "NEXT" ((org-agenda-overriding-header "Next:")))))
The NEXT
block works, but the "Done/Dropped" block is blank. When I use this match syntax in the Agenda's actual match/search (C-c a m
), it works, but for some reason it doesn't work in custom commands.
Perhaps some of the characters need to be escaped? I've tried various combinations of escaping with \
, but no success so far.
todo "DONE|DROPPED"
and it seems to work. If you post an answer, I'll accept it.