[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] 8.3 export slower
From: |
Nicolas Goaziou |
Subject: |
Re: [O] 8.3 export slower |
Date: |
Mon, 24 Aug 2015 23:02:03 +0200 |
Hello,
Samuel Wales <address@hidden> 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