5

Having 'org-agenda-files' set, is there a way to display headlines, which does not have any tags?

E.g 'C-c a' runs 'org-agenda', and then 'M' gives TODO items with specified tag. What if I want TODOs, which does not have any?

6

You can use a regular expression in a tags search. A tag search for {.*} will match any tag and conversely, -{.*} will no tag.

  • Thanks, this method works and does not ignore tag inheritance. – Adam Skobodzinski Dec 6 '15 at 19:36
  • For anyone searching for how to add a custom agenda command to find these: ("u" "Uncategorized" ((tags-todo "-{.*}"))) – GaryO Aug 22 at 0:50
1

You can do a regexp search on headlines not ending in a colon:

C-c a m will prompt for a match query. Type -{:$} to match headlines not ending in colon. The regular expression goes inside the curly brackets, and the minus sign is for negating the match.

Note that this method ignores tag inheritance.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.