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: Mon, 4 Mar 2013 10:17:33 +0100

On 28.2.2013, at 22:10, Nicolas Goaziou <address@hidden> wrote:

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

That would be the alternative, right.  Do you think this would be preferred to 
what I am doing right now?

- Carsten

> 
> 
> Regards,
> 
> -- 
> Nicolas Goaziou




reply via email to

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