Haustedt, Jens writes:
> Given this setting:
>
> some more text cite:a-key some text cite:a-key
> ^
> When you run (re-search-backward "cite:") at the point above, the result is
> as follows:
>
> some more text cite:a-key some text cite:a-key
>
> but in things like font-lock it seems slow compared to a
> regexp. I have not found a reliable regexp approach though. say
> I want to search back for "cite:" with point at the ^ position
> below:
> some text cite:a-key
> ^
> If I run (re-search-backward "cite:") at the point above,
Is there a canonical way to jump to the beginning of a link in org-mode,
i.e. the first char?
I usually do something this like:
(goto-char (org-element-property :begin (org-element-context)))
but in things like font-lock it seems slow compared to a regexp. I have
not found a reliable regexp appr