skribilo-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [skribilo-users] Arguments to format


From: Ludovic Courtès
Subject: Re: [skribilo-users] Arguments to format
Date: Mon, 20 Jul 2015 10:13:04 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Bonjour !

Frédéric Marchal <address@hidden> skribis:

> I'm translating Skribilo into French but I can't figure out what the 
> arguments to the "format" command are.
>
> For instance:
>
>            (format (current-error-port)
>                    (_ "~a: unknown markup option for '~a'~%")
>                    option markup)))
>
> What are ~a and ~%?

“~a” is a bit like “%s” in C: it displays the given object, which may be
a string but not necessarily.

“~%” is like “\n”: it’s a newline.

HTH,
Ludo’.



reply via email to

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