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: Thu, 18 Nov 2010 19:45:17 +0000 Message-ID: <20101118-204517.sv2373.2325@savannah.gnu.org> References: <20101117-131540.sv2373.30272@savannah.gnu.org> <20101118-150512.sv73118.96725@savannah.gnu.org> <20101118-185600.sv20118.39996@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 1290109538 11374 80.91.229.12 (18 Nov 2010 19:45:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Thu, 18 Nov 2010 19:45:38 +0000 (UTC) To: Andy Wingo , =?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 20:45:34 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 1PJAQH-0007Dk-I8 for guile-bugs@m.gmane.org; Thu, 18 Nov 2010 20:45:33 +0100 Original-Received: from localhost ([127.0.0.1]:49305 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJAQG-0006UZ-CT for guile-bugs@m.gmane.org; Thu, 18 Nov 2010 14:45:32 -0500 Original-Received: from [140.186.70.92] (port=44927 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PJAQC-0006UH-GK for bug-guile@gnu.org; Thu, 18 Nov 2010 14:45:29 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PJAQA-0002dc-Mp for bug-guile@gnu.org; Thu, 18 Nov 2010 14:45:28 -0500 Original-Received: from colonialone.fsf.org ([140.186.70.51]:59604 helo=internal.in.savannah.gnu.org) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PJAQA-0002dW-LN for bug-guile@gnu.org; Thu, 18 Nov 2010 14:45:26 -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 1PJAQ1-0006CJ-Pz; Thu, 18 Nov 2010 19:45:17 +0000 Original-Received: from www-data by frontend.in.savannah.gnu.org with local (Exim 4.69) (envelope-from ) id 1PJAQ1-0000tA-LI; Thu, 18 Nov 2010 19:45:17 +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) In-Reply-To: <20101118-185600.sv20118.39996@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:4869 Archived-At: Follow-up Comment #3, bug #31680 (project guile): I've used it for multiline strings, like so: (define modp-group1-p (string->number "FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD1 29024E088A67CC74020BBEA63B139B22514A08798E3404DD EF9519B3CD3A431B302B0A6DF25F14374FE1356D6D51C245 E485B576625E7EC6F44C42E9A63A3620FFFFFFFFFFFFFFFF" 16)) or like so: "My name is Ozymandias, king of kings:n Look on my works, ye Mighty, and despair!" I think any implementation of multiline strings should be prepared to handle characters from other operating systems. But surely you should not need to check for U+205F and so on explictly, isn't it enough to see that they belong to the right char-general-category? _______________________________________________________ Reply to this item at: _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/