emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Support for tagging (special) blocks


From: Ihor Radchenko
Subject: Re: Support for tagging (special) blocks
Date: Thu, 01 Sep 2022 14:13:37 +0800

Payas Relekar <relekarpayas@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

[Prev in Thread] Current Thread [Next in Thread]