John Kitchin <johnrkitc...@gmail.com> writes:

> hmm... Is there any way to tell when a link in in an affiliate? so we
> can tell when we cannot trust buffer positions?

There is `org-element-secondary-p'.

> Maybe even better fix the implementation to add the found buffer
> positions to some affiliate position so they are correct?

This is not always possible: some strings are parsed when the original
buffer is not available anymore (this happens often during export).

However, it is possible to fix it for captions. I did it in master.


Regards,

Reply via email to