emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Nicolas Goaziou <mail@nicolasgoaziou.fr>
To: Samuel Wales <samologist@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: why does exporting look for org-id in the entire file even when subtree export?
Date: Thu, 05 Nov 2015 09:22:51 +0100	[thread overview]
Message-ID: <878u6cq2hw.fsf@nicolasgoaziou.fr> (raw)
In-Reply-To: <CAJcAo8uEas+adKRgFrefX=umwbVLvxc-F_yQ0X=w+0ydVL8D+Q@mail.gmail.com> (Samuel Wales's message of "Tue, 3 Nov 2015 16:10:58 -0700")

Hello,

Samuel Wales <samologist@gmail.com> writes:

> i do not claim to understand the code but org-export-get-environment
> is possibly calling org-id-find on entire buffer instead of subtree.
>
> perhaps this explains why exporting a couple of lines without any
> org-id link takes 15s to a minute or so.
>
> it is always checking all of my files for org id even when i export to
> subtree.

You are right. 

It used to be necessary for footnote definitions outside export scope
but yet referenced within it. It is no longer necessary. It is fixed in
master.

Thank you.


Regards,

-- 
Nicolas Goaziou

  reply	other threads:[~2015-11-05  8:21 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-11-03 23:10 why does exporting look for org-id in the entire file even when subtree export? Samuel Wales
2015-11-05  8:22 ` Nicolas Goaziou [this message]
2015-11-05 19:18   ` Samuel Wales
2015-11-05 21:41     ` Nicolas Goaziou

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=878u6cq2hw.fsf@nicolasgoaziou.fr \
    --to=mail@nicolasgoaziou.fr \
    --cc=emacs-orgmode@gnu.org \
    --cc=samologist@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).