From: Nicolas Goaziou <n.goaziou@gmail.com>
To: "Thomas S. Dye" <tsd@tsdye.com>
Cc: Org-mode <emacs-orgmode@gnu.org>
Subject: Re: Macro question with new texinfo exporter
Date: Tue, 29 Jan 2013 19:21:32 +0100 [thread overview]
Message-ID: <877gmvalzn.fsf@gmail.com> (raw)
In-Reply-To: <m1txq1oybi.fsf@tsdye.com> (Thomas S. Dye's message of "Mon, 28 Jan 2013 10:19:13 -1000")
Hello,
tsd@tsdye.com (Thomas S. Dye) writes:
> I have the following two macros:
>
> #+MACRO: markup @@info:@$1{@@$2@@info:}@@
> #+MACRO: kbd {{{markup(kbd,$1)}}}
>
> When I export to texinfo using the new exporter, the following macro
> call triggers an error (byte-code: Wrong type argument: consp, nil):
>
> {{{kbd(C-,)}}}
>
> and so does this:
>
> {{{kbd(C-\,)}}}
>
> In fact, any number of backslashes appears to trigger the same error.
>
> I'm hoping to find @kbd{C-,} in the .texi output.
I didn't try it, but it probably comes from the syntax of macros, which
is a bit brittle wrt commas.
We ought to modify it. Perhaps something like:
{{{name arg1 "arg2 with space" "arg3 \"with\" quote"}}}
Regards,
--
Nicolas Goaziou
next prev parent reply other threads:[~2013-01-29 18:21 UTC|newest]
Thread overview: 35+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-01-28 20:19 Macro question with new texinfo exporter Thomas S. Dye
2013-01-29 18:21 ` Nicolas Goaziou [this message]
2013-01-29 18:49 ` Thomas S. Dye
2013-01-30 9:22 ` Bastien
2013-01-30 12:44 ` Nicolas Goaziou
2013-01-30 16:14 ` Bastien
2013-01-30 22:24 ` Nicolas Goaziou
2013-01-31 2:21 ` Thomas S. Dye
2013-01-31 13:51 ` Bastien
2013-01-31 13:58 ` Nicolas Goaziou
2013-01-31 21:23 ` Nicolas Goaziou
2013-02-04 15:43 ` Thomas S. Dye
2013-02-04 17:26 ` Bastien
2013-02-04 18:57 ` Achim Gratz
2013-02-16 9:21 ` Bastien
2013-02-16 10:19 ` Achim Gratz
2013-02-16 10:34 ` Bastien
2013-02-16 10:39 ` Achim Gratz
2013-02-16 13:18 ` Eric Abrahamsen
2013-02-16 13:23 ` Reloading uncompiled and testing from several git branches (was: Macro question with new texinfo exporter) Bastien
2013-02-16 14:10 ` Reloading uncompiled and testing from several git branches Achim Gratz
2013-02-16 14:21 ` Bastien
2013-02-16 14:59 ` Eric Abrahamsen
2013-02-17 0:08 ` François Pinard
2013-02-18 12:57 ` Nicolas Richard
2013-02-18 19:17 ` Achim Gratz
2013-02-19 1:17 ` François Pinard
2013-02-16 16:40 ` Macro question with new texinfo exporter Nick Dokos
2013-02-16 16:47 ` Nick Dokos
2013-02-16 16:19 ` Nick Dokos
2013-02-16 17:37 ` Thomas S. Dye
2013-02-04 18:10 ` Nicolas Goaziou
2013-02-04 18:48 ` Thomas S. Dye
2013-02-04 18:38 ` Achim Gratz
2013-02-04 20:21 ` Thomas S. Dye
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=877gmvalzn.fsf@gmail.com \
--to=n.goaziou@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=tsd@tsdye.com \
/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).