From: John Hendy <jw.hendy@gmail.com>
To: Achim Gratz <Stromeko@nexgo.de>
Cc: emacs-orgmode@gnu.org
Subject: Re: [PATCH] Footnote export to LaTeX "wrong number of arguments" error
Date: Mon, 1 Aug 2011 09:11:42 -0500 [thread overview]
Message-ID: <CA+M2ft9TmqS+H1ajUWNekL_2Zh1vuo067PonP-H1as7fqhVFsg@mail.gmail.com> (raw)
In-Reply-To: <871ux6x1gs.fsf_-_@Rainer.invalid>
On Sun, Jul 31, 2011 at 4:07 AM, Achim Gratz <Stromeko@nexgo.de> wrote:
> John Hendy <jw.hendy@gmail.com> 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
>
>
next prev parent reply other threads:[~2011-08-01 14:11 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-07-30 19:45 Footnote export to LaTeX "wrong number of arguments" error John Hendy
2011-07-30 19:53 ` Achim Gratz
2011-07-30 20:00 ` John Hendy
2011-07-30 20:01 ` John Hendy
2011-07-30 20:20 ` Achim Gratz
2011-07-30 20:31 ` John Hendy
2011-07-30 20:38 ` Jambunathan K
2011-07-30 20:45 ` John Hendy
2011-07-30 21:07 ` Jambunathan K
2011-07-30 21:17 ` John Hendy
2011-07-30 21:26 ` Achim Gratz
2011-07-30 21:34 ` John Hendy
2011-07-30 21:39 ` Achim Gratz
2011-07-30 21:42 ` John Hendy
2011-07-31 9:07 ` [PATCH] " Achim Gratz
2011-08-01 14:11 ` John Hendy [this message]
2011-07-30 20:34 ` Jambunathan K
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=CA+M2ft9TmqS+H1ajUWNekL_2Zh1vuo067PonP-H1as7fqhVFsg@mail.gmail.com \
--to=jw.hendy@gmail.com \
--cc=Stromeko@nexgo.de \
--cc=emacs-orgmode@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).