From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Newsgroups: gmane.lisp.guile.devel Subject: Re: Needed: per-port reader options Date: Sun, 21 Oct 2012 23:40:56 +0200 Message-ID: <87zk3fh5av.fsf@gnu.org> References: <87sj9ixl1j.fsf@tines.lan> <87ehkyza6v.fsf@gnu.org> <87k3uqtbf0.fsf@tines.lan> <87obk22j2i.fsf@gnu.org> <87y5j5srek.fsf@tines.lan> <87mwzjwy3v.fsf@gnu.org> <87pq4fpt7k.fsf@tines.lan> <87wqynnra7.fsf@tines.lan> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1350855663 11574 80.91.229.3 (21 Oct 2012 21:41:03 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 21 Oct 2012 21:41:03 +0000 (UTC) Cc: guile-devel@gnu.org To: Mark H Weaver Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Sun Oct 21 23:41:11 2012 Return-path: Envelope-to: guile-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1TQ3Gh-0000ty-1H for guile-devel@m.gmane.org; Sun, 21 Oct 2012 23:41:11 +0200 Original-Received: from localhost ([::1]:60480 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQ3GZ-0000f8-4j for guile-devel@m.gmane.org; Sun, 21 Oct 2012 17:41:03 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:58165) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQ3GW-0000eL-Re for guile-devel@gnu.org; Sun, 21 Oct 2012 17:41:01 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TQ3GV-0005XW-Oe for guile-devel@gnu.org; Sun, 21 Oct 2012 17:41:00 -0400 Original-Received: from xanadu.aquilenet.fr ([88.191.123.111]:53280) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TQ3GV-0005XP-IO for guile-devel@gnu.org; Sun, 21 Oct 2012 17:40:59 -0400 Original-Received: from localhost (localhost [127.0.0.1]) by xanadu.aquilenet.fr (Postfix) with ESMTP id 7466A27C9; Sun, 21 Oct 2012 23:40:57 +0200 (CEST) Original-Received: from xanadu.aquilenet.fr ([127.0.0.1]) by localhost (xanadu.aquilenet.fr [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id S9wmBQxWK7ce; Sun, 21 Oct 2012 23:40:57 +0200 (CEST) Original-Received: from pluto (reverse-83.fdn.fr [80.67.176.83]) by xanadu.aquilenet.fr (Postfix) with ESMTPSA id BBABF210C; Sun, 21 Oct 2012 23:40:56 +0200 (CEST) X-URL: http://www.fdn.fr/~lcourtes/ X-Revolutionary-Date: 30 =?utf-8?Q?Vend=C3=A9miaire?= an 221 de la =?utf-8?Q?R=C3=A9volution?= X-PGP-Key-ID: 0xEA52ECF4 X-PGP-Key: http://www.fdn.fr/~lcourtes/ludovic.asc X-PGP-Fingerprint: 83C4 F8E5 10A3 3B4C 5BEA D15D 77DD 95E2 EA52 ECF4 X-OS: x86_64-unknown-linux-gnu In-Reply-To: <87wqynnra7.fsf@tines.lan> (Mark H. Weaver's message of "Thu, 18 Oct 2012 22:12:48 -0400") User-Agent: Gnus/5.130005 (Ma Gnus v0.5) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 3) X-Received-From: 88.191.123.111 X-BeenThere: guile-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.devel:15013 Archived-At: Hi, Mark H Weaver skribis: > Section 2.1 of the R7RS (draft 6) explicitly says "The #!fold-case > directive causes the read procedure to case-fold [...] each identifier > and character name subsequently read from the same port." OK, this is more precise than SRFI-105, and definitely per-port (the semantics are not quite to my taste, but well...) Then the weak hash table mapping ports to reader options seems like the =E2=80=9Cright=E2=80=9D approach, to implement these semantics. Ludo=E2=80=99.