unofficial mirror of bug-guile@gnu.org 
 help / color / mirror / Atom feed
From: Stefan Israelsson Tampe <stefan.itampe@gmail.com>
To: David Fang <fang@csl.cornell.edu>
Cc: "Ludovic Courtès" <ludo@gnu.org>, 10684@debbugs.gnu.org
Subject: bug#10684: guile-2.0.5 test failures on powerpc-darwin8
Date: Sat, 4 Feb 2012 21:10:43 +0100	[thread overview]
Message-ID: <CAGua6m0YM73+R_8=UhjobaXd=rHEWNU_ajUnXnLhfDJ7o8uR0Q@mail.gmail.com> (raw)
In-Reply-To: <Pine.LNX.4.64.1202041454490.387@hal-00.csl.cornell.edu>

[-- Attachment #1: Type: text/plain, Size: 2040 bytes --]

You forgot h in the format expression

asked for,
   (format #f "~h" 12345.5678)

you wrote,
   (format #f "~" 12345.5678)

/Stefan

On Sat, Feb 4, 2012 at 8:56 PM, David Fang <fang@csl.cornell.edu> wrote:

> FAIL: i18n.test: format ~h: English: 12345.5678
>>>
>>
>> Yes, thatÿÿs a new feature, and a new regression.  ;-)
>> Can you try:
>>
>>  (use-modules (ice-9 format))
>>  (setlocale LC_ALL "en_US")
>>  (format #f "~h" 12345.5678)
>>
>
> [fangism:guile20-2.0.5.24-**e7f7-0/guile-2.0.5.24-e7f7/**build] fang%
> meta/guile
> GNU Guile 2.0.5.24-e7f7
> Copyright (C) 1995-2012 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)> (use-modules (ice-9 format))
> scheme@(guile-user)> (setlocale LC_ALL "en_US")
> $1 = "en_US"
> scheme@(guile-user)> (format #f "~" 12345.5678)
> ;;; <stdin>:3:0: warning: "~": wrong number of `format' arguments:
> expected 0, got 1
> $2 = "~"
>
>   (use-modules (ice-9 i18n))
>>  (setlocale LC_ALL "en_US")
>>  (locale-decimal-point)
>>  (locale-thousands-separator)
>>
>
> [fangism:guile20-2.0.5.24-**e7f7-0/guile-2.0.5.24-e7f7/**build] fang%
> meta/guile
> GNU Guile 2.0.5.24-e7f7
> Copyright (C) 1995-2012 Free Software Foundation, Inc.
>
> Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
> This program is free software, and you are welcome to redistribute it
> under certain conditions; type `,show c' for details.
>
> Enter `,help' for help.
> scheme@(guile-user)> (use-modules (ice-9 i18n))
> scheme@(guile-user)> (setlocale LC_ALL "en_US")
> $1 = "en_US"
> scheme@(guile-user)> (locale-decimal-point)
> $2 = "."
> scheme@(guile-user)> (locale-thousands-separator)
> $3 = ","
>
>
>
> --
> David Fang
> http://www.csl.cornell.edu/~**fang/ <http://www.csl.cornell.edu/%7Efang/>
>

[-- Attachment #2: Type: text/html, Size: 3028 bytes --]

  reply	other threads:[~2012-02-04 20:10 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-31 22:51 bug#10684: guile-2.0.5 test failures on powerpc-darwin8 David Fang
2012-02-01 22:36 ` Ludovic Courtès
2012-02-01 22:56   ` David Fang
2012-02-02 21:58     ` Ludovic Courtès
2012-02-02 22:50       ` David Fang
2012-02-03 16:02       ` Ludovic Courtès
2012-02-04  1:58         ` David Fang
2012-02-04 11:04           ` Ludovic Courtès
2012-02-04 19:56             ` David Fang
2012-02-04 20:10               ` Stefan Israelsson Tampe [this message]
2012-02-04 20:49                 ` David Fang
2012-02-04 22:40                   ` Ludovic Courtès
2012-02-06 13:02                     ` Ludovic Courtès

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.gnu.org/software/guile/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAGua6m0YM73+R_8=UhjobaXd=rHEWNU_ajUnXnLhfDJ7o8uR0Q@mail.gmail.com' \
    --to=stefan.itampe@gmail.com \
    --cc=10684@debbugs.gnu.org \
    --cc=fang@csl.cornell.edu \
    --cc=ludo@gnu.org \
    /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.
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).