From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mike Gran Newsgroups: gmane.lisp.guile.bugs Subject: [bug #31680] R6RS string literal intraline whitespace removal Date: Thu, 18 Nov 2010 15:05:13 +0000 Message-ID: <20101118-150512.sv73118.96725@savannah.gnu.org> References: <20101117-131540.sv2373.30272@savannah.gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=UTF-8 X-Trace: dough.gmane.org 1290093335 23056 80.91.229.12 (18 Nov 2010 15:15:35 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Nov 2010 15:15:35 +0000 (UTC) To: =?UTF-8?B?R8O2cmFu?= Weinholt , Mike Gran , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Thu Nov 18 16:15:31 2010 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1PJ6Cw-0005Ql-HN for guile-bugs@m.gmane.org; Thu, 18 Nov 2010 16:15:31 +0100 Original-Received: from localhost ([127.0.0.1]:54952 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJ67X-0003k5-2h for guile-bugs@m.gmane.org; Thu, 18 Nov 2010 10:09:55 -0500 Original-Received: from [140.186.70.92] (port=39746 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJ63D-0002H8-SU for bug-guile@gnu.org; Thu, 18 Nov 2010 10:05:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJ635-0006Gr-IM for bug-guile@gnu.org; Thu, 18 Nov 2010 10:05:20 -0500 Original-Received: from colonialone.fsf.org ([140.186.70.51]:43542 helo=internal.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJ635-0006Gn-Fl for bug-guile@gnu.org; Thu, 18 Nov 2010 10:05:19 -0500 Original-Received: from [10.1.0.103] (helo=frontend.in.savannah.gnu.org) by internal.in.savannah.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1PJ62z-00015D-An; Thu, 18 Nov 2010 15:05:13 +0000 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1PJ62z-0005a3-4g; Thu, 18 Nov 2010 15:05:13 +0000 X-Savane-Server: savannah.gnu.org:443 [10.1.0.103] X-Savane-Project: guile X-Savane-Tracker: bugs X-Savane-Item-ID: 31680 User-Agent: Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0) X-Apparently-From: 71.130.219.123 (Savane authenticated user mike121) In-Reply-To: <20101117-131540.sv2373.30272@savannah.gnu.org> X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4866 Archived-At: Follow-up Comment #1, bug #31680 (project guile): Yeah it is true that this isn't implemented and should be. Ludo, Andy, I did in fact write an implementation of this in r6rs-strings tree, but, I never committed it to master. The commit was cff6adf899dbc0336c7c017d52504f8138c89b3d and the part of the commit specific to this bug is all in read.c in scm_read_string and SCM_READ_SPACE_LINE_SPACE I didn't commit it because, at the time, I took exception with the r6rs spec itself. It states that expands to nothing. And then it calls out that whitespace and line-ending are any characters in the Unicode whitespace and line ending families! I guarantee that no one will ever put something like in the middle of a source code file. It will never, ever happen. But writing the code to allow for all those cases lead to an ugly patch. _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/