[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] [PATCH] Footnote export to LaTeX "wrong number of arguments" err
From: |
John Hendy |
Subject: |
Re: [O] [PATCH] Footnote export to LaTeX "wrong number of arguments" error |
Date: |
Mon, 1 Aug 2011 09:11:42 -0500 |
On Sun, Jul 31, 2011 at 4:07 AM, Achim Gratz <address@hidden> wrote:
> John Hendy <address@hidden> writes:
>> Would this have an effect if I don't ever run 'make install'?
>
> Since it is added to the load-path during compile it might have
> undesirable side-effects if an older org-mode resides at that path.
>
> But, I'm now getting these errors too since I have started Emacs
> freshly. The offending commit is 9ff7f80f51a by Eric Schulte, where he
> wraps the defvar definition into eval-when-compile. This change defines
> the variable during compile and gets rid of that error, but then it is
> not defined when loading org-mode the first time. If you do an
> org-reload this is rectified (which is why I didn't see the error
> yesterday.
>
> The original error during compile-time comes from using the variable in
> a macro expansion. I don't think this is the right thing to do since we
> would not want to expand the variable at compile time (it would not be
> variable anymore after compilation). The attached patch seems to
> correct this for me.
>
>
>
> Let us know if that fixes things for you and I'll let Eric decide if he
> pushes that patch or something different, depending on what he really
> wanted to do.
>
Thanks for the checking on this. Yes, M-x org-reload fixes this for
me. No exporting the first time, reload, then successful export the
second time with no error about the babel variable.
Thanks for all your work,
John
>
> Regards,
> Achim.
> --
> +<[Q+ Matrix-12 WAVE#46+305 Neuron microQkb Andromeda XTk Blofeld]>+
>
> Samples for the Waldorf Blofeld:
> http://Synth.Stromeko.net/Downloads.html#BlofeldSamplesExtra
>
>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [O] [PATCH] Footnote export to LaTeX "wrong number of arguments" error,
John Hendy <=