emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Carsten Dominik <carsten.dominik@gmail.com>
To: Nicolas Goaziou <n.goaziou@gmail.com>
Cc: Org-mode List <emacs-orgmode@gnu.org>
Subject: Re: Exporter interface question
Date: Mon, 4 Mar 2013 10:17:33 +0100	[thread overview]
Message-ID: <2D69C12E-E2FF-4D1F-80AF-2676E68CE371@gmail.com> (raw)
In-Reply-To: <871uc0p2kc.fsf@gmail.com>


On 28.2.2013, at 22:10, Nicolas Goaziou <n.goaziou@gmail.com> wrote:

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

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	other threads:[~2013-03-04  9:17 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
2013-03-04  9:17                   ` Carsten Dominik [this message]
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=2D69C12E-E2FF-4D1F-80AF-2676E68CE371@gmail.com \
    --to=carsten.dominik@gmail.com \
    --cc=emacs-orgmode@gnu.org \
    --cc=n.goaziou@gmail.com \
    /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).