guile-devel
[Top][All Lists]
Advanced

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

Re: i18n, gettext support?


From: Andreas Rottmann
Subject: Re: i18n, gettext support?
Date: Wed, 18 Aug 2004 14:54:22 +0200
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)

Matthias Koeppe <address@hidden> writes:

> Andreas Rottmann <address@hidden> writes:
>
>> A related (to i18n) issue: it would be nice to have positional
>> argument support in (ice-9 format); e.g.:
>>
>> (format #t "address@hidden address@hidden" "World!" "Hello")
>>
>> would print "Hello World!". I just took @ as a position 'prefix',
>> since according to the docs, it is not taken yet. Alternative syntax
>> suggestions welcome. 
>
> This is already possible with the address@hidden format directive, see
> http://www.lispworks.com/reference/HyperSpec/Body/22_cga.htm 
>
>      (format #t "address@hidden address@hidden address@hidden" "World!" 
> "Hello")
>
> (The final address@hidden is necessary because Guile otherwise complains about
> "1 superfluous argument". )
>
Thanks for pointing this out (I've misread the documentation). Maybe
the "superfluous argument" error should be disabled when you use @*?

Andi
-- 
Andreas Rottmann         | address@hidden      | address@hidden | address@hidden
http://yi.org/rotty      | GnuPG Key: http://yi.org/rotty/gpg.asc
Fingerprint              | DFB4 4EB4 78A4 5EEE 6219  F228 F92F CFC5 01FD 5B62

Make free software, not war!




reply via email to

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