From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Andreas Rottmann Newsgroups: gmane.lisp.guile.devel Subject: Re: i18n, gettext support? Date: Wed, 18 Aug 2004 14:54:22 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <87657g61z5.fsf@ivanova.rotty.yi.org> References: <878ycflchx.fsf@peder.flower> <87vffh7su9.fsf@ivanova.rotty.yi.org> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1092833705 6476 80.91.224.253 (18 Aug 2004 12:55:05 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 18 Aug 2004 12:55:05 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Wed Aug 18 14:54:54 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BxPxt-0007Lq-00 for ; Wed, 18 Aug 2004 14:54:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BxQ26-00024D-KB for guile-devel@m.gmane.org; Wed, 18 Aug 2004 08:59:14 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1BxQ22-00023l-Vm for guile-devel@gnu.org; Wed, 18 Aug 2004 08:59:11 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1BxQ21-00023W-Eb for guile-devel@gnu.org; Wed, 18 Aug 2004 08:59:10 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1BxQ21-00023M-Cl for guile-devel@gnu.org; Wed, 18 Aug 2004 08:59:09 -0400 Original-Received: from [213.165.64.20] (helo=mail.gmx.net) by monty-python.gnu.org with smtp (Exim 4.34) id 1BxPxg-0004HO-9V for guile-devel@gnu.org; Wed, 18 Aug 2004 08:54:40 -0400 Original-Received: (qmail 15229 invoked by uid 65534); 18 Aug 2004 12:54:33 -0000 Original-Received: from chello080109053157.14.14.univie.teleweb.at (EHLO garibaldi) (80.109.53.157) by mail.gmx.net (mp005) with SMTP; 18 Aug 2004 14:54:33 +0200 X-Authenticated: #3102804 Original-Received: from ivanova.rhinosaur.lan ([192.168.1.9] helo=ivanova) by garibaldi with esmtp (Exim 4.34) id 1BxPxO-0002m0-8j; Wed, 18 Aug 2004 14:54:32 +0200 Original-Received: from andy by ivanova with local (Exim 4.34) id 1BxPxO-00036w-5w; Wed, 18 Aug 2004 14:54:22 +0200 Original-To: Matthias Koeppe In-Reply-To: (Matthias Koeppe's message of "Tue, 17 Aug 2004 17:24:30 +0200") User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux) X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Developers list for Guile, the GNU extensibility library" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.lisp.guile.devel:3978 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3978 Matthias Koeppe writes: > Andreas Rottmann writes: > >> A related (to i18n) issue: it would be nice to have positional >> argument support in (ice-9 format); e.g.: >> >> (format #t "~@2A ~@1A" "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 ~@* format directive, see > http://www.lispworks.com/reference/HyperSpec/Body/22_cga.htm > > (format #t "~1@*~A ~0@*~A ~2@*" "World!" "Hello") > > (The final ~2@* 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 | Rotty@ICQ | 118634484@ICQ | a.rottmann@gmx.at 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! _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel