emacs-orgmode
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [O] Exporter interface question


From: Carsten Dominik
Subject: Re: [O] Exporter interface question
Date: Thu, 28 Feb 2013 19:52:30 +0100

On 28.2.2013, at 13:30, Nicolas Goaziou <address@hidden> wrote:

> Carsten Dominik <address@hidden> 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]