emacs-orgmode
[Top][All Lists]
Advanced

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

Re: [O] Exporter interface question


From: Nicolas Goaziou
Subject: Re: [O] Exporter interface question
Date: Thu, 28 Feb 2013 22:10:27 +0100

Carsten Dominik <address@hidden> writes:

> 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.

Then what about comparing base buffer for both entities?


Regards,

-- 
Nicolas Goaziou



reply via email to

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