GNU logs - #20512, boring messages


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20512: bogus warning with (format) and ~{ ~}
Resent-From: Daniel Llorens <daniel.llorens@HIDDEN>
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Wed, 06 May 2015 09:17:02 +0000
Resent-Message-ID: <handler.20512.B.14309037902358 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: report 20512
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: 20512 <at> debbugs.gnu.org
X-Debbugs-Original-To: bug-guile@HIDDEN
Received: via spool by submit <at> debbugs.gnu.org id=B.14309037902358
          (code B ref -1); Wed, 06 May 2015 09:17:02 +0000
Received: (at submit) by debbugs.gnu.org; 6 May 2015 09:16:30 +0000
Received: from localhost ([127.0.0.1]:35950 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1YpvRN-0000bv-GS
	for submit <at> debbugs.gnu.org; Wed, 06 May 2015 05:16:29 -0400
Received: from eggs.gnu.org ([208.118.235.92]:33085)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <daniel.llorens@HIDDEN>) id 1YpvRM-0000bc-0L
 for submit <at> debbugs.gnu.org; Wed, 06 May 2015 05:16:28 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <daniel.llorens@HIDDEN>) id 1YpvRF-0004pg-Sa
 for submit <at> debbugs.gnu.org; Wed, 06 May 2015 05:16:22 -0400
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,LOTS_OF_MONEY
 autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:49898)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <daniel.llorens@HIDDEN>) id 1YpvRF-0004pc-PT
 for submit <at> debbugs.gnu.org; Wed, 06 May 2015 05:16:21 -0400
Received: from eggs.gnu.org ([2001:4830:134:3::10]:46586)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <daniel.llorens@HIDDEN>) id 1YpvRE-0003Rx-Jp
 for bug-guile@HIDDEN; Wed, 06 May 2015 05:16:21 -0400
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <daniel.llorens@HIDDEN>) id 1YpvRB-0004ob-CF
 for bug-guile@HIDDEN; Wed, 06 May 2015 05:16:20 -0400
Received: from zhhdzmsp-smta18.bluewin.ch ([195.186.227.133]:45395)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <daniel.llorens@HIDDEN>) id 1YpvRB-0004o0-6B
 for bug-guile@HIDDEN; Wed, 06 May 2015 05:16:17 -0400
Received: from [195.186.99.131] ([195.186.99.131:39897]
 helo=zhbdzmsp-smta13.bluewin.ch)
 by zhhdzmsp-smta18.bluewin.ch (envelope-from <daniel.llorens@HIDDEN>)
 (ecelerity 3.5.7.40067 r(Platform:3.5.7.0)) with ESMTP
 id 25/00-24516-EDBD9455; Wed, 06 May 2015 09:16:14 +0000
Received: from 4box.hq.corp.viasat.com (62.2.203.131) by
 zhbdzmsp-smta13.bluewin.ch (8.5.142) (authenticated as dll@HIDDEN)
 id 51DDDBBD2CDAE263 for bug-guile@HIDDEN; Wed, 6 May 2015 09:16:14 +0000
From: Daniel Llorens <daniel.llorens@HIDDEN>
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: quoted-printable
Message-Id: <F2337461-BB2A-4292-9ED2-85AD25737A95@HIDDEN>
Date: Wed, 6 May 2015 11:16:04 +0200
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
X-Mailer: Apple Mail (2.1878.6)
X-detected-operating-system: by eggs.gnu.org: Genre and OS details not
 recognized.
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -5.0 (-----)
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -5.0 (-----)


Hello,

this is with current master, I don't know what stable 2.0 does, although =
I don't think it's changed there.

scheme@(guile-user)> (format #t "~{~{~a~^ ~}\n~}" '((1 2) (3 4)))
;;; <stdin>:1:0: warning: "~{~{~a~^ ~}\\n~}": wrong number of `format' =
arguments: expected 2, got 1
1 2
3 4
$1 =3D #t

apparently it only happens with double nesting, e.g. triple nesting is =
fine:

scheme@(guile-user)> (format #t "~{~{~{~a~^:~}~^ ~}\n~}" '(((1 2) (3 4)) =
((5 6) (7 8))))
1:2 3:4
5:6 7:8
$2 =3D #t

Regards,

	Daniel





Message sent:


Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Mailer: MIME-tools 5.503 (Entity 5.503)
Content-Type: text/plain; charset=utf-8
X-Loop: help-debbugs@HIDDEN
From: help-debbugs@HIDDEN (GNU bug Tracking System)
To: Daniel Llorens <daniel.llorens@HIDDEN>
Subject: bug#20512: Acknowledgement (bogus warning with (format) and ~{ ~})
Message-ID: <handler.20512.B.14309037902358.ack <at> debbugs.gnu.org>
References: <F2337461-BB2A-4292-9ED2-85AD25737A95@HIDDEN>
X-Gnu-PR-Message: ack 20512
X-Gnu-PR-Package: guile
Reply-To: 20512 <at> debbugs.gnu.org
Date: Wed, 06 May 2015 09:17:02 +0000

Thank you for filing a new bug report with debbugs.gnu.org.

This is an automatically generated reply to let you know your message
has been received.

Your message is being forwarded to the package maintainers and other
interested parties for their attention; they will reply in due course.

Your message has been sent to the package maintainer(s):
 bug-guile@HIDDEN

If you wish to submit further information on this problem, please
send it to 20512 <at> debbugs.gnu.org.

Please do not send mail to help-debbugs@HIDDEN unless you wish
to report a problem with the Bug-tracking system.

--=20
20512: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20512
GNU Bug Tracking System
Contact help-debbugs@HIDDEN with problems


Message sent to bug-guile@HIDDEN:


X-Loop: help-debbugs@HIDDEN
Subject: bug#20512: bogus warning with (format) and ~{ ~}
References: <F2337461-BB2A-4292-9ED2-85AD25737A95@HIDDEN>
In-Reply-To: <F2337461-BB2A-4292-9ED2-85AD25737A95@HIDDEN>
Resent-From: levenson@HIDDEN
Original-Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
Resent-CC: bug-guile@HIDDEN
Resent-Date: Mon, 16 Sep 2019 15:20:01 +0000
Resent-Message-ID: <handler.20512.B20512.15686471798876 <at> debbugs.gnu.org>
Resent-Sender: help-debbugs@HIDDEN
X-GNU-PR-Message: followup 20512
X-GNU-PR-Package: guile
X-GNU-PR-Keywords: 
To: 20512 <at> debbugs.gnu.org
Received: via spool by 20512-submit <at> debbugs.gnu.org id=B20512.15686471798876
          (code B ref 20512); Mon, 16 Sep 2019 15:20:01 +0000
Received: (at 20512) by debbugs.gnu.org; 16 Sep 2019 15:19:39 +0000
Received: from localhost ([127.0.0.1]:50832 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1i9smw-0002J6-MS
	for submit <at> debbugs.gnu.org; Mon, 16 Sep 2019 11:19:38 -0400
Received: from mx4.mail.mmer.org ([178.22.66.29]:49321)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <levenson@HIDDEN>) id 1i9sb9-0001zg-CJ
 for 20512 <at> debbugs.gnu.org; Mon, 16 Sep 2019 11:07:27 -0400
Received: from delta (unknown [10.147.19.46])
 (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
 (No client certificate requested)
 by mx4.mail.mmer.org (Postfix) with ESMTPSA id BC36A9CC47
 for <20512 <at> debbugs.gnu.org>; Mon, 16 Sep 2019 15:07:25 +0000 (UTC)
From: levenson@HIDDEN
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.3 (gnu/linux)
Date: Mon, 16 Sep 2019 17:06:26 +0200
Message-ID: <84ftkwffgt.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Mailman-Approved-At: Mon, 16 Sep 2019 11:19:37 -0400
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -1.0 (-)


I encounter similar behavior, but for dynamic padding, but it one case
it doesn't even work. I am using guile 2.2.6 from guix distro

scheme@(guile-user)> (format #f "~:{~v_ ~a ~}" '((5 "hello")))

FORMAT: error with call: (format #f "~:{~v_ ~a ~}<===" ((5 hello)) ===>)
        missing argument(s)
In ice-9/format.scm:
  1590:19  2 (format #f "~:{~v_ ~a ~}" ((5 "hello")))
   197:20  1 (format:format-work "~:{~v_ ~a ~}" (((5 "hello"))))
In unknown file:
           0 (scm-error misc-error #f "~A" ("error in format") #f)
error in format

Added the bogus 0 which doesn't do anything

scheme@(guile-user)> (format #f "~:{~v_ ~a ~}" 0 '((5 "hello")))
;;; <stdin>:3:0: warning: "~:{~v_ ~a ~}": wrong number of `format' arguments: expected 1, got 2
$1 = "      hello "


-- 
Alexey





Last modified: Mon, 25 Nov 2019 12:00:02 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.