Here is a simple file:

#+TAGS: math(m) music(u)

* Gödel :math:
* Bach :music:
* Gauss :math:
* Beethoven :music:
* Mozart :music:

Then I tried M-x org-tags-view

Match: +math

I expected that Gödel and Gauss will be printed, but instead I get an empty buffer that says:

Headlines with TAGS match: +math
Press ‘C-u r’ to search again with new search string

What's wrong?


org-tags-view shows matches in all agenda files: you have to add this file to your agenda files (at least temporarily). You can do that with C-c[: that adds it to the front of the agenda files. You can later delete it from the list if you want with C-c] (this will delete the file at the front of the list, so I'm assuming you have not added any other files in the meantime). But while it's on the list, you can search for tags with org-tags-view.

| improve this answer | |

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.