On 28.2.2013, at 13:30, Nicolas Goaziou <n.goaz...@gmail.com> wrote:
> Carsten Dominik <carsten.domi...@gmail.com> writes: > >> I agree, but I think then also setting the mark need to take care to >> set the mark in the base buffer. Will do this. > > AFAICT, this is not necessary. Indirect buffers share markers with base > buffer. I think it is necessary. If I move a marker to a position in a buffer and another marker to the same position in a connected indirect buffer, both markers are different and point to different buffers. So if I start an export from an indirect buffer, the dispatch marker will point to the indirect buffer. If I later compare the marker-buffer with (org-base-buffer (current-buffer)) I do get a mismatch. So if you want to compare to org-base-buffer, I think I clearly need to set the marker to a position in the base buffer. Regards - Carsten