From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Han-Wen Nienhuys Newsgroups: gmane.lisp.guile.devel Subject: bug in srfi-13 Date: Tue, 6 Apr 2004 17:50:01 +0200 Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Message-ID: <16498.53673.93666.636797@localhost.localdomain> Reply-To: hanwen@xs4all.nl NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: sea.gmane.org 1081266783 1921 80.91.224.253 (6 Apr 2004 15:53:03 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Tue, 6 Apr 2004 15:53:03 +0000 (UTC) Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Apr 06 17:52:54 2004 Return-path: Original-Received: from monty-python.gnu.org ([199.232.76.173]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1BAssg-0004BB-00 for ; Tue, 06 Apr 2004 17:52:54 +0200 Original-Received: from localhost ([127.0.0.1] helo=monty-python.gnu.org) by monty-python.gnu.org with esmtp (Exim 4.30) id 1BAsrH-0000rn-B6 for guile-devel@m.gmane.org; Tue, 06 Apr 2004 11:51:27 -0400 Original-Received: from list by monty-python.gnu.org with tmda-scanned (Exim 4.30) id 1BAsqD-0000Zz-7V for guile-devel@gnu.org; Tue, 06 Apr 2004 11:50:21 -0400 Original-Received: from mail by monty-python.gnu.org with spam-scanned (Exim 4.30) id 1BAspF-00009P-Gt for guile-devel@gnu.org; Tue, 06 Apr 2004 11:49:52 -0400 Original-Received: from [213.84.26.127] (helo=localhost.localdomain) by monty-python.gnu.org with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.30) id 1BAsp6-0008RQ-6n for guile-devel@gnu.org; Tue, 06 Apr 2004 11:49:12 -0400 Original-Received: from localhost.localdomain.byrd.xs4all.nl (byrd [127.0.0.1]) by localhost.localdomain (8.12.10/8.12.10) with ESMTP id i36Fo1o1003974 for ; Tue, 6 Apr 2004 17:50:01 +0200 Original-To: guile-devel@gnu.org X-Mailer: VM 7.14 under Emacs 21.3.1 X-yoursite-MailScanner-Information: Please contact the ISP for more information X-yoursite-MailScanner: Found to be clean X-MailScanner-From: hanwen@xs4all.nl X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.4 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:3586 X-Report-Spam: http://spam.gmane.org/gmane.lisp.guile.devel:3586 test.scm: =09(use-modules (srfi srfi-13)) =09(string-map =09 (lambda (chr) (display (list " " (char->integer chr))) chr) =09"=F6") =3D> =09byrd:~/usr/src/lilypond$ guile test.scm =09( 16777155)( 16777142) after bugfix: =09byrd:~/usr/src/lilypond$ guile test.scm =09( 195)( 182) there is still something broken in this function. For reasons beyond my comprehension, the SCM=5FVALIDATE=5FSUBSTRING=5FSPEC=5FCOPY macro ha= s the side effect of assigning to cstart and cend, and doing so wrongly. May I suggest that future SCM=5FVALIDATE=5F*=5F macros be renamed, for= example from =09SCM=5FVALIDATE=5FCOPY to =09SCM=5FVALIDATED=5FCOPY The latter implies that the macro does have a side effect. Also, the naming of scm=5F{up,down}case functions was wrong; it should be scm=5Fc=5F{up,down}case. I have changed this. I leave to Marius to decide whether a backward compatibility must be maintained. I am still puzzled why isn't used. --=20 Han-Wen Nienhuys | hanwen@xs4all.nl | http://www.xs4all.nl/~ha= nwen=20 _______________________________________________ Guile-devel mailing list Guile-devel@gnu.org http://mail.gnu.org/mailman/listinfo/guile-devel