From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: =?UTF-8?B?R8O2cmFu?= Weinholt Newsgroups: gmane.lisp.guile.bugs Subject: [bug #31680] R6RS string literal intraline whitespace removal Date: Wed, 17 Nov 2010 12:15:41 +0000 Message-ID: <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 1289996165 16962 80.91.229.12 (17 Nov 2010 12:16:05 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Wed, 17 Nov 2010 12:16:05 +0000 (UTC) To: =?UTF-8?B?R8O2cmFu?= Weinholt , bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Wed Nov 17 13:16:00 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 1PIgvf-00071n-ME for guile-bugs@m.gmane.org; Wed, 17 Nov 2010 13:16:00 +0100 Original-Received: from localhost ([127.0.0.1]:43853 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIgvY-0002KQ-8N for guile-bugs@m.gmane.org; Wed, 17 Nov 2010 07:15:52 -0500 Original-Received: from [140.186.70.92] (port=48504 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PIgvS-0002KF-U6 for bug-guile@gnu.org; Wed, 17 Nov 2010 07:15:47 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PIgvR-00014z-Ir for bug-guile@gnu.org; Wed, 17 Nov 2010 07:15:46 -0500 Original-Received: from colonialone.fsf.org ([140.186.70.51]:45303 helo=internal.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PIgvR-00014v-G0 for bug-guile@gnu.org; Wed, 17 Nov 2010 07:15:45 -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 1PIgvO-0005Mb-Re; Wed, 17 Nov 2010 12:15:43 +0000 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1PIgvN-00025W-1y; Wed, 17 Nov 2010 12:15:41 +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 X-Apparently-From: 95.80.36.26 (Savane authenticated user weinholt) Original-References: In-Reply-To: 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:4859 Archived-At: URL: Summary: R6RS string literal intraline whitespace removal Project: Guile Submitted by: weinholt Submitted on: Wed Nov 17 13:15:37 2010 Category: None Severity: 3 - Normal Item Group: None Status: None Privacy: Public Assigned to: None Open/Closed: Open Discussion Lock: Any _______________________________________________________ Details: In R6RS subsection 4.2.7 there is this escape sequence: \ : nothing This escape sequence isn't working. Both the examples below should return "foobar": GNU Guile 1.9.13.58-b98d5a Copyright (C) 1995-2010 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)> (import (rnrs)) scheme@(guile-user)> (read (open-string-input-port "#!r6rs \"foo\\\n bar\"")) $1 = "foo bar" scheme@(guile-user)> (read (open-string-input-port "#!r6rs \"foo\\ \n bar\"")) ERROR: In procedure scm_lreadr: ERROR: #:1:10: illegal character in escape sequence: #\space _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/