From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Exporter interface question Date: Thu, 28 Feb 2013 22:10:27 +0100 Message-ID: <871uc0p2kc.fsf@gmail.com> References: <871uc2t9z7.fsf@gmail.com> <8993D674-E5E6-4B8E-AE3C-75F694371459@gmail.com> <8738whsrx3.fsf@gmail.com> <87ip5cpwkx.fsf@gmail.com> <40E06D48-822F-4432-9D92-4F72AC866338@gmail.com> <87621cpqm5.fsf@gmail.com> <79ED4614-0209-4587-A8CE-343A7DBFAC3F@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:48473) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBAkU-0000sP-ND for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 16:10:43 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UBAkT-0005iP-O3 for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 16:10:42 -0500 Received: from mail-we0-x236.google.com ([2a00:1450:400c:c03::236]:38470) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UBAkT-0005iG-Hh for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 16:10:41 -0500 Received: by mail-we0-f182.google.com with SMTP id t57so1955515wey.13 for ; Thu, 28 Feb 2013 13:10:40 -0800 (PST) In-Reply-To: <79ED4614-0209-4587-A8CE-343A7DBFAC3F@gmail.com> (Carsten Dominik's message of "Thu, 28 Feb 2013 19:52:30 +0100") List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Carsten Dominik Cc: Org-mode List Carsten Dominik writes: > On 28.2.2013, at 13:30, Nicolas Goaziou wrote: > >> Carsten Dominik 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