From mboxrd@z Thu Jan 1 00:00:00 1970 From: Carsten Dominik Subject: Re: Exporter interface question Date: Thu, 28 Feb 2013 19:52:30 +0100 Message-ID: <79ED4614-0209-4587-A8CE-343A7DBFAC3F@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> Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: Received: from eggs.gnu.org ([208.118.235.92]:46830) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB8ao-0007kR-VD for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 13:52:36 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UB8aj-0003V9-JG for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 13:52:34 -0500 Received: from mail-bk0-f41.google.com ([209.85.214.41]:41359) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UB8aj-0003Uw-Cw for emacs-orgmode@gnu.org; Thu, 28 Feb 2013 13:52:29 -0500 Received: by mail-bk0-f41.google.com with SMTP id q16so988543bkw.14 for ; Thu, 28 Feb 2013 10:52:28 -0800 (PST) In-Reply-To: <87621cpqm5.fsf@gmail.com> 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: Nicolas Goaziou Cc: Org-mode List 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. Regards - Carsten