From mboxrd@z Thu Jan 1 00:00:00 1970 From: Karl Voit Subject: Scanning for duplicate IDs of whole buffer when exporting a sub-heading Date: Wed, 10 Feb 2016 17:16:04 +0100 Message-ID: <2016-02-10T17-12-49@devnull.Karl-Voit.at> Reply-To: Karl Voit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48006) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTXRA-0001FH-Rj for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 11:16:17 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aTXR7-0007cL-LM for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 11:16:16 -0500 Received: from plane.gmane.org ([80.91.229.3]:53574) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aTXR7-0007be-3o for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 11:16:13 -0500 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1aTXR5-0001Td-Gi for emacs-orgmode@gnu.org; Wed, 10 Feb 2016 17:16:11 +0100 Received: from friends.grml.info ([136.243.234.19]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2016 17:16:11 +0100 Received: from news1142 by friends.grml.info with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Wed, 10 Feb 2016 17:16:11 +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: emacs-orgmode@gnu.org Hi! I do have this behavior which basically prevents me from exporting from Org-mode. When I invoke export (LaTeX, HTML, ...) of a sub-heading within a large file, Org-mode seems to scan *all* of my agenda files (with approximately half a Million lines) at least for duplicate IDs. 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. How can I prevent this behavior? The current sub-heading (with no further sub-headings) does not even have any drawer. Thanks for any hint! -- mail|git|SVN|photos|postings|SMS|phonecalls|RSS|CSV|XML to Org-mode: > get Memacs from https://github.com/novoid/Memacs < https://github.com/novoid/extract_pdf_annotations_to_orgmode + more on github