Payas Relekar <relekarpa...@gmail.com> writes:

> Tags are bit more generic though, and allow searching across not just
> code blocks, but TODOs as well.

They do not. Tags are only considered inside headlines. Trying to allow
tags outside headlines will require major changes across the whole Org
codebase and will still make things incompatible with third party
packages, like org-ql. Not to mention the whole new concept for block
syntax.

If one wants to add "tags" or other keywords associated with blocks or
other Org elements, the right tool to use is affiliated keywords. But
note that Org search infrastructure is tailored towards searching
headlines.

-- 
Ihor Radchenko,
Org mode contributor,
Learn more about Org mode at https://orgmode.org/.
Support Org development at https://liberapay.com/org-mode,
or support my work at https://liberapay.com/yantar92

Reply via email to