emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <n.goaziou@gmail.com>
To: Carsten Dominik <carsten.dominik@gmail.com>
Cc: Org-mode List <emacs-orgmode@gnu.org>
Subject: Re: Exporter interface question
Date: Thu, 28 Feb 2013 22:10:27 +0100	[thread overview]
Message-ID: <871uc0p2kc.fsf@gmail.com> (raw)
In-Reply-To: <79ED4614-0209-4587-A8CE-343A7DBFAC3F@gmail.com> (Carsten Dominik's message of "Thu, 28 Feb 2013 19:52:30 +0100")

Carsten Dominik <carsten.dominik@gmail.com> writes:

> On 28.2.2013, at 13:30, Nicolas Goaziou <n.goaziou@gmail.com> wrote:
>
>> Carsten Dominik <carsten.dominik@gmail.com> 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	other threads:[~2013-02-28 21:10 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-02-27  8:04 Exporter interface question Carsten Dominik
2013-02-27  8:52 ` Nicolas Goaziou
2013-02-27 12:00   ` Carsten Dominik
2013-02-27 12:25     ` Suvayu Ali
2013-02-27 15:02   ` Carsten Dominik
2013-02-27 15:22     ` Nicolas Goaziou
2013-02-28  8:39       ` Carsten Dominik
2013-02-28  9:05         ` Carsten Dominik
2013-02-28 10:22         ` Nicolas Goaziou
2013-02-28 11:50           ` Carsten Dominik
2013-02-28 12:30             ` Nicolas Goaziou
2013-02-28 18:52               ` Carsten Dominik
2013-02-28 21:10                 ` Nicolas Goaziou [this message]
2013-03-04  9:17                   ` Carsten Dominik
2013-03-04 14:45                     ` Nicolas Goaziou
2013-03-04 19:21                       ` Carsten Dominik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=871uc0p2kc.fsf@gmail.com \
    --to=n.goaziou@gmail.com \
    --cc=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).