[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [RFC] Org version of the Org manual
From: |
Nicolas Goaziou |
Subject: |
Re: [O] [RFC] Org version of the Org manual |
Date: |
Wed, 06 Mar 2013 09:40:20 +0100 |
Hello,
Bastien <address@hidden> writes:
> Hi Achim,
>
> thanks for doing the profiling.
>
> Achim Gratz <address@hidden> writes:
>
>> org-macro-replace-all 2 222.371024 111.185512
>
> This one looks suspicious: if the function does what it says,
> why does it run twice? If we can spare 111 secs here, that's
> already an improvement. I'll have a look at some point but
> feel free to beat me on this!
It has to be run twice. See comments in `org-export-as':
Expand export-specific set of macros: {{{author}}},
{{{date}}}, {{{email}}} and {{{title}}}. It must be done
once regular macros have been expanded, since document
keywords may contain one of them.
IOW it handles macros in #+TITLE and other document keywords. I don't
think the second run is as long as the first one, though.
Regards,
--
Nicolas Goaziou
- Re: [O] [RFC] Org version of the Org manual, Achim Gratz, 2013/03/04
- Re: [O] [RFC] Org version of the Org manual, Thomas S. Dye, 2013/03/07
- Re: [O] [RFC] Org version of the Org manual, Achim Gratz, 2013/03/07
- Re: [O] [RFC] Org version of the Org manual, Thomas S. Dye, 2013/03/07
- Re: [O] [RFC] Org version of the Org manual, Thomas S. Dye, 2013/03/09
- Re: [O] [RFC] Org version of the Org manual, Achim Gratz, 2013/03/10
- Re: [O] [RFC] Org version of the Org manual, Jonathan Leech-Pepin, 2013/03/10
- Re: [O] [RFC] Org version of the Org manual, Achim Gratz, 2013/03/10
- Re: [O] [RFC] Org version of the Org manual, Jonathan Leech-Pepin, 2013/03/10