emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* why does exporting look for org-id in the entire file even when subtree export?
@ 2015-11-03 23:10 Samuel Wales
  2015-11-05  8:22 ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2015-11-03 23:10 UTC (permalink / raw)
  To: emacs-orgmode

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.


-- 
The Kafka Pandemic: http://thekafkapandemic.blogspot.com

Ramsay's disease DOES progress.  MANY people have died from it.  And
ANYBODY can get it.

Denmark: free Karina Hansen NOW.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why does exporting look for org-id in the entire file even when subtree export?
  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
  2015-11-05 19:18   ` Samuel Wales
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Goaziou @ 2015-11-05  8:22 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why does exporting look for org-id in the entire file even when subtree export?
  2015-11-05  8:22 ` Nicolas Goaziou
@ 2015-11-05 19:18   ` Samuel Wales
  2015-11-05 21:41     ` Nicolas Goaziou
  0 siblings, 1 reply; 4+ messages in thread
From: Samuel Wales @ 2015-11-05 19:18 UTC (permalink / raw)
  To: Samuel Wales, emacs-orgmode

thank you.

p.s. any reason this is not also fixed in maint?

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: why does exporting look for org-id in the entire file even when subtree export?
  2015-11-05 19:18   ` Samuel Wales
@ 2015-11-05 21:41     ` Nicolas Goaziou
  0 siblings, 0 replies; 4+ messages in thread
From: Nicolas Goaziou @ 2015-11-05 21:41 UTC (permalink / raw)
  To: Samuel Wales; +Cc: emacs-orgmode

Samuel Wales <samologist@gmail.com> writes:

> thank you.
>
> p.s. any reason this is not also fixed in maint?

It relies on a previous change which is master only.

Regards,

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-11-05 21:40 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
2015-11-05 19:18   ` Samuel Wales
2015-11-05 21:41     ` Nicolas Goaziou

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).