Christian Moe <m...@christianmoe.com> writes:

> What it doesn't do, however, is indicate whether a message is linked
> from Org *before* you run the action. Maybe that can be done by some
> function used by org-search-view, but I suspect it would be too slow for
> headers view, since the agenda search would need to be run for each of
> hundreds of headings, and headers view should refresh immediately. So
> maybe I'm not wasting my time completely.

org-ql will likely be fast enough for real-time updates.
For adding things into the message, I do something similar for the
purposes of fetching context information about email authors on this
list: 
https://github.com/yantar92/emacs-config/blob/master/config.org#display-extra-information-for-known-contacts

-- 
Ihor Radchenko // yantar92,
Org mode maintainer,
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