emacs-orgmode
[Top][All Lists]
Advanced

[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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]