From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou 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 Message-ID: <878u6cq2hw.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:38913) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuFnA-0003Op-Dn for emacs-orgmode@gnu.org; Thu, 05 Nov 2015 03:21:09 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZuFn9-0002Jg-QN for emacs-orgmode@gnu.org; Thu, 05 Nov 2015 03:21:08 -0500 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:43771) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZuFn9-0002JI-Jv for emacs-orgmode@gnu.org; Thu, 05 Nov 2015 03:21:07 -0500 In-Reply-To: (Samuel Wales's message of "Tue, 3 Nov 2015 16:10:58 -0700") 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: Samuel Wales Cc: emacs-orgmode@gnu.org Hello, Samuel Wales 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