2012/5/22 Matt Lundin <m...@imapmail.org>: >> So I would like to have a way to list all items in a done state where >> there is no 'project' tag on it nor in any of its (indirect) parents. > > Does the following work? > > --8<---------------cut here---------------start------------->8--- > (org-add-agenda-custom-command > '("x" "Archivable" > ((tags "-project/DONE" > ((org-use-tag-inheritance '("project"))))))) > --8<---------------cut here---------------end--------------->8--- > > The local org-use-tag-inheritance binding should override your other > tag inheritance settings for this search only.
Thanks, this is exactly what I was looking for! -- Laurynas