From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nicolas Goaziou Subject: Re: 8.3 export slower Date: Mon, 24 Aug 2015 23:02:03 +0200 Message-ID: <874mjo9z90.fsf@nicolasgoaziou.fr> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48657) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTyqw-0001gE-Bz for emacs-orgmode@gnu.org; Mon, 24 Aug 2015 17:00:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZTyqv-0000T2-BG for emacs-orgmode@gnu.org; Mon, 24 Aug 2015 17:00:26 -0400 Received: from relay4-d.mail.gandi.net ([2001:4b98:c:538::196]:33940) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZTyqv-0000Sw-3n for emacs-orgmode@gnu.org; Mon, 24 Aug 2015 17:00:25 -0400 In-Reply-To: (Samuel Wales's message of "Mon, 24 Aug 2015 12:12:30 -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 didn't benchmark, but export of a 900 word subtree seems to take 15s > in 8.3 (1-2s before 8.3): Could you use `elp-instrument-package' with an uncompiled Org and report results? > i do not know why it is searching 20 files for org id's, as there are > no id links. If you do not have any [[id:...]] links, it should certainly not use `org-id' at all. Do you have an ECM? > the thing i am doing different from emacs -Q is this, which > nicolas suggested, but seems no longer to work in 8.3: > > (add-hook 'org-export-before-parsing-hook > 'mymy-org-export-par-in-inline-fn) > (defun mymy-org-export-par-in-inline-fn (backend) > "Accept multiple inline footnote paragraphs." > (unless (org-export-derived-backend-p backend 'latex) > (org-footnote-normalize) > ;; =alpha i guess it sticks \par in there for you > (while (re-search-forward "\\\\par\\s-*" nil t) > (replace-match "\n\n")))) What doesn't work? Regards, -- Nicolas Goaziou