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?

2 Answers 2


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.
    – user3984
    Dec 6, 2015 at 19:36
  • For anyone searching for how to add a custom agenda command to find these: ("u" "Uncategorized" ((tags-todo "-{.*}")))
    – GaryO
    Aug 22, 2019 at 0:50

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 and acknowledge you have read our privacy policy.