From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: Scanning for duplicate IDs of whole buffer when exporting a sub-heading Date: Thu, 11 Feb 2016 00:04:56 +0100 Message-ID: <871t8kb207.fsf@nicolasgoaziou.fr> References: <2016-02-10T17-12-49@devnull.Karl-Voit.at> <87d1s4bhlg.fsf@nicolasgoaziou.fr> <2016-02-10T19-04-29@devnull.Karl-Voit.at> Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:45787) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTdmi-0006Hr-JV for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 18:02:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTdmh-0006bF-IX for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 18:02:56 -0500 Received: from relay3-d.mail.gandi.net ([2001:4b98:c:538::195]:37974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTdmh-0006al-Br for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 18:02:55 -0500 In-Reply-To: <2016-02-10T19-04-29@devnull.Karl-Voit.at> (Karl Voit's message of "Wed, 10 Feb 2016 19:08:45 +0100") 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: Karl Voit Cc: Karl Voit , emacs-orgmode@gnu.org Hello, Karl Voit writes: >> Does your large file contain some [[id:...]] link? > > Yes. > >> Does the sub-heading contains any? > > No. > >>> This takes very long on my i5 machine, roughly ten minutes. During >>> this scan, I can't use Emacs any more because it's blocking of >>> course. >> >> Even when using asynchronous export? > > Yes. > > I am on maint, 75ee067410abf0ebab77b1b05d7dcfe2ddf53f4d. As Samuel pointed out, this was fixed in master some time ago. Meanwhile you could, as a hack, remove all [[id:...]] links from your document with a function in `org-export-before-processing-hook'. Regards, -- Nicolas Goaziou