From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Bruno Haible Newsgroups: gmane.lisp.guile.devel Subject: Re: gettext-0.14.2 is released Date: Sat, 26 Feb 2005 17:52:54 +0100 Message-ID: <200502261752.54673.bruno@clisp.org> References: <200502251331.44912.bruno@clisp.org> <87vf8ggrls.fsf@zip.com.au> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1109437862 18382 80.91.229.2 (26 Feb 2005 17:11:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sat, 26 Feb 2005 17:11:02 +0000 (UTC) Cc: guile-devel@gnu.org Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sat Feb 26 18:11:02 2005 Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1D55Sx-0008Su-GW for guile-devel@m.gmane.org; Sat, 26 Feb 2005 18:10:55 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D55kx-0002Rv-0Y for guile-devel@m.gmane.org; Sat, 26 Feb 2005 12:29:31 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1D55hh-0001ck-Dy for guile-devel@gnu.org; Sat, 26 Feb 2005 12:26:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1D55hc-0001ao-81 for guile-devel@gnu.org; Sat, 26 Feb 2005 12:26:06 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1D55hZ-0001Rl-86 for guile-devel@gnu.org; Sat, 26 Feb 2005 12:26:01 -0500 Original-Received: from [81.80.162.195] (helo=ftp.ilog.fr) by monty-python.gnu.org with esmtp (Exim 4.34) id 1D55Ih-0003Lx-Rh for guile-devel@gnu.org; Sat, 26 Feb 2005 12:00:20 -0500 Original-Received: from laposte.ilog.fr (cerbere-qfe0 [81.80.162.193]) by ftp.ilog.fr (8.13.3/8.13.3) with ESMTP id j1QH0G6A005564; Sat, 26 Feb 2005 18:00:17 +0100 (MET) Original-Received: from honolulu.ilog.fr ([172.16.15.121]) by laposte.ilog.fr (8.13.1/8.13.1) with ESMTP id j1QH0B6e010527; Sat, 26 Feb 2005 18:00:11 +0100 (MET) Original-Received: from localhost (localhost [127.0.0.1]) by honolulu.ilog.fr (Postfix) with ESMTP id AF3953BD7D; Sat, 26 Feb 2005 16:52:55 +0000 (UTC) Original-To: Kevin Ryde User-Agent: KMail/1.5 In-Reply-To: <87vf8ggrls.fsf@zip.com.au> Content-Disposition: inline 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: , Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Errors-To: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org X-MailScanner-To: guile-devel@m.gmane.org Xref: main.gmane.org gmane.lisp.guile.devel:4796 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:4796 Kevin Ryde wrote: > > - messages can be marked as "scheme-format", denoting 'format' strings. > > I noticed a couple of forms that provoke errors, Thanks for reporting this. I was confused through the situation in slib and through the documentations: In SLIB, when I saw that Aubrey Jaffer had deprecated FORMAT, I told him that FORMAT is essential for i18n (because the SLIB PRINTF doesn't support reordering of arguments) and explained him that some elements of his SLIB FAQ about FORMAT are simply wrong expectations. About the documentation, I found that the older SLIB doc describes it as "An almost complete implementation of Common LISP format description according to the CL reference book @cite{Common LISP} from Guy L. Steele" so I referred to that. Now I see your message in http://lists.gnu.org/archive/html/guile-devel/2004-07/msg00044.html Is it correct to assume that - For guile, the code and doc regarding FORMAT in SLIB are not relevant any more? - The guile FORMAT attempts to be an extension of Common Lisp FORMAT, i.e. that all CL format directives are supported without changes (except when documented otherwise, such as ~_)? - Differences in behaviour between a valid CL format string and the same string in guile (except when documented otherwise) are bugs in format.scm that I should report? - The reference to which I can point translators is the node "Formatted Output" in the guile documentation? > Nosing around format-scheme.c (if that's the right code) I noticed ~! > described as a clisp call Oops, that was a copy&paste artefact. I've now removed that. > (format #f (gettext "~/")) > (format #f (gettext "~q")) > (format #f (gettext "~8,2i") 1+2i) > (format #f (gettext "~65c")) > (format #f (gettext "~4,3,'-t")) > (format #f (gettext "~k") "fmtstr") > > ~q is a copyright message > ~/ is a tab character (like ~| etc) > ~i is complex number fixed-point (up to 5 params) > ~c accepts a charnum param > ~t accepts a pad char param > ~k is an alias for ~? OK, will be corrected in gettext. Bruno _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://lists.gnu.org/mailman/listinfo/guile-devel