Suvayu Ali <fatkasuvayu+li...@gmail.com> writes:

> Hi,
>
> How do I add text properties to org elements?  In my particular case, I
> want to echo tooltips when I move my cursor over an org link (or other
> org elements for that matter).  To do this, I need to add the properties
> point-left and point-entered to all org-links.  How do I do that?
>
> Thanks for any ideas.

Not sure if this is the best method:

o go to (point-min)
o loop
     (goto-char (cdr (org-element-link-successor (point-max))))
     (org-element-link-parser) and extract :begin and :end values from
     the returned list

Untested (mostly) - termination, error handling (and who knows what
else) left to the interested reader...
-- 
Nick


Reply via email to