Received: (at submit) by debbugs.gnu.org; 16 Jun 2018 21:14:19 +0000 From debbugs-submit-bounces <at> debbugs.gnu.org Sat Jun 16 17:14:19 2018 Received: from localhost ([127.0.0.1]:52150 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>) id 1fUIWZ-0002CD-3Y for submit <at> debbugs.gnu.org; Sat, 16 Jun 2018 17:14:19 -0400 Received: from eggs.gnu.org ([208.118.235.92]:40737) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from <goran@HIDDEN>) id 1fUIWX-0002C1-KZ for submit <at> debbugs.gnu.org; Sat, 16 Jun 2018 17:14:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <goran@HIDDEN>) id 1fUIWR-0001U8-Qy for submit <at> debbugs.gnu.org; Sat, 16 Jun 2018 17:14:12 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,T_DKIM_INVALID autolearn=disabled version=3.3.2 Received: from lists.gnu.org ([2001:4830:134:3::11]:55517) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <goran@HIDDEN>) id 1fUIWR-0001Ty-Mt for submit <at> debbugs.gnu.org; Sat, 16 Jun 2018 17:14:11 -0400 Received: from eggs.gnu.org ([2001:4830:134:3::10]:59935) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from <goran@HIDDEN>) id 1fUIWQ-0006om-Ok for bug-guile@HIDDEN; Sat, 16 Jun 2018 17:14:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from <goran@HIDDEN>) id 1fUIWP-0001TK-Ri for bug-guile@HIDDEN; Sat, 16 Jun 2018 17:14:10 -0400 Received: from iustitia.weinholt.se ([2a02:28f0:0:a::7dce:e5a8]:58980) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from <goran@HIDDEN>) id 1fUIWP-0001SU-Gr for bug-guile@HIDDEN; Sat, 16 Jun 2018 17:14:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=weinholt.se ; s=iustitia2012; h=Content-Transfer-Encoding:Content-Type:MIME-Version: Message-ID:Date:Subject:To:From:Sender:Reply-To:Cc:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=zURzBdeOyBJwg5dYdVNNWEEaBr8UB4YeheKDn+eggNA=; b=X9JeeyQcJsMzpqPIIrkn/VyX0o SLngLL6Pge9A+VBPQ0t4/GT/RwP9fT7n+orkGtaKI0M8BzU4PFzhCJc89LVRQ15hDi5e8bqICxDPs H2BpNY/JZvBYScAhFAhf94hOiodIFiyQeJnj5oWJxlBv5kG93ATqYy/pRktyCN/HRI3V0aozKgssZ +cm8BU08ePy1aebuAtwSsAttogISHbkTTNdMHOQ/WSk4ODLVmkvaQqkJ3cyazEHKxYqifORwTfb/A 12TzR7bP8wkryvX6lXTCCp1dt8j0mZ1sJHgkk9SSKRpgYZGVtG83FQ6MLKPHNaaUSWZeY5PSAanCH trssjm9Q==; Received: from uucp by iustitia.weinholt.se with local-bsmtp (Exim 4.89) (envelope-from <goran@HIDDEN>) id 1fUIWM-0002AF-CY; Sat, 16 Jun 2018 23:14:06 +0200 Received: from weinholt by teapot.weinholt.se with local (Exim 4.91) (envelope-from <goran@HIDDEN>) id 1fUIND-0002GY-87; Sat, 16 Jun 2018 23:04:39 +0200 From: =?utf-8?Q?G=C3=B6ran?= Weinholt <goran@HIDDEN> To: bug-guile@HIDDEN Subject: Hex-escaped r6rs symbols are not read correctly Date: Sat, 16 Jun 2018 23:04:39 +0200 Message-ID: <87k1qy30k8.fsf@HIDDEN> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 2001:4830:134:3::11 X-Spam-Score: -5.0 (-----) X-Debbugs-Envelope-To: submit X-BeenThere: debbugs-submit <at> debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: <debbugs-submit.debbugs.gnu.org> List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe> List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/> List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org> List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help> List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe> Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org> X-Spam-Score: -6.0 (------) Hello schemers! R6RS specifies an inline hex escape syntax for symbols. These do not work in Guile 2.2.3: scheme@(guile-user)> (read-enable 'r6rs-hex-escapes) $1 =3D (square-brackets r6rs-hex-escapes keywords #f positions) scheme@(guile-user)> (symbol->string '\x7c; ) $2 =3D "\\x7c" I expected this to return "|". While fixing this, perhaps it would also be possible to add recognition of #!r6rs to set the appropriate per-port read options, similarly to how #!fold-case is recognized? It would make it much easier to load R6RS code in Guile. Best Regards, --=20 G=C3=B6ran Weinholt Debian developer 73 de SA6CJK
Göran Weinholt <goran@HIDDEN>
:bug-guile@HIDDEN
.
Full text available.bug-guile@HIDDEN
:bug#31864
; Package guile
.
Full text available.
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd,
1994-97 Ian Jackson.