From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Mark H Weaver Newsgroups: gmane.lisp.guile.devel Subject: Re: Fix reader options for R6RS `get-datum' Date: Tue, 11 Dec 2012 15:23:21 -0500 Message-ID: <87boe09w3q.fsf@tines.lan> References: <1355057247-17885-1-git-send-email-a.rottmann@gmx.at> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1355257436 29048 80.91.229.3 (11 Dec 2012 20:23:56 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 11 Dec 2012 20:23:56 +0000 (UTC) Cc: guile-devel@gnu.org To: Andreas Rottmann Original-X-From: guile-devel-bounces+guile-devel=m.gmane.org@gnu.org Tue Dec 11 21:24:10 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 1TiWN7-0004eZ-SO for guile-devel@m.gmane.org; Tue, 11 Dec 2012 21:24:10 +0100 Original-Received: from localhost ([::1]:57980 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiWMv-0000Y5-7J for guile-devel@m.gmane.org; Tue, 11 Dec 2012 15:23:57 -0500 Original-Received: from eggs.gnu.org ([208.118.235.92]:50249) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiWMo-0000Xw-4h for guile-devel@gnu.org; Tue, 11 Dec 2012 15:23:56 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TiWMj-0005kq-U4 for guile-devel@gnu.org; Tue, 11 Dec 2012 15:23:50 -0500 Original-Received: from world.peace.net ([96.39.62.75]:47649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TiWMj-0005jD-PX for guile-devel@gnu.org; Tue, 11 Dec 2012 15:23:45 -0500 Original-Received: from 209-6-91-212.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.91.212] helo=tines.lan) by world.peace.net with esmtpsa (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.72) (envelope-from ) id 1TiWMS-0007wF-ME; Tue, 11 Dec 2012 15:23:28 -0500 In-Reply-To: <1355057247-17885-1-git-send-email-a.rottmann@gmx.at> (Andreas Rottmann's message of "Sun, 9 Dec 2012 13:47:24 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 96.39.62.75 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:15330 Archived-At: Hi Andreas, Andreas Rottmann writes: > This patch series addresses the problem that `get-datum' is using the > global reader options, even for those options that have to have fixed > values to make the reader behave in an R6RS-compatible way. I'm sorry to have not done so earlier, but I finally looked at the R6RS specification for 'get-datum', and I don't see anything to suggest that it should recognize a different notation than 'read' does. If the user has enabled reader extensions for 'read', I don't see why 'get-datum' shouldn't honor those extensions as well. Maybe what we should have instead is a command-line option that sets some(?) of the global read options to conform with R6RS. What do you think? Mark