[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] question about org-element-map missing link in caption
From: |
Nicolas Goaziou |
Subject: |
Re: [O] question about org-element-map missing link in caption |
Date: |
Tue, 27 Jan 2015 22:35:09 +0100 |
John Kitchin <address@hidden> 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,