From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andy Wingo Newsgroups: gmane.lisp.guile.bugs Subject: Re: Guile v. 2.0.1 does not handle escaped open parentheses correctly. Date: Mon, 16 May 2011 23:57:41 +0200 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: dough.gmane.org 1305583081 688 80.91.229.12 (16 May 2011 21:58:01 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Mon, 16 May 2011 21:58:01 +0000 (UTC) Cc: bug-guile@gnu.org To: Torstein Winterseth Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Mon May 16 23:57:54 2011 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1QM5nV-0003tu-S9 for guile-bugs@m.gmane.org; Mon, 16 May 2011 23:57:54 +0200 Original-Received: from localhost ([::1]:53077 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QM5nV-0007KI-9U for guile-bugs@m.gmane.org; Mon, 16 May 2011 17:57:53 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:34160) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QM5nS-0007K0-4e for bug-guile@gnu.org; Mon, 16 May 2011 17:57:51 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1QM5nQ-0008Ur-V3 for bug-guile@gnu.org; Mon, 16 May 2011 17:57:50 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([64.74.157.62]:44795 helo=sasl.smtp.pobox.com) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1QM5nQ-0008Ud-Ni for bug-guile@gnu.org; Mon, 16 May 2011 17:57:48 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 2D8964C98; Mon, 16 May 2011 17:59:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; s=sasl; bh=0E8ykE/26dDkMUpqNU9IL3OmIoA=; b=joowp3 lntxewr5evNInlNi27Z7OR7nIURjAav+6lRBR+HWcJOipiZogQO7SVyyP3f4XBpN 19HR5MBIuGGxlc2HHxG85K6ut/E4S2qN4nrvwC7R8lG6MJd3ktTYIrV+JGkZBSJw zoXLWV6F05y/zQSnK/gnNByzCnV7EDKpCE9DI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=from:to:cc :subject:references:date:in-reply-to:message-id:mime-version :content-type; q=dns; s=sasl; b=gbINlanj2wtqCxPLRldNlDu1FE4osDIL OxTqUF2KSJ5dn1/AMstZyNuBCbC2VJd7vMrRXkOB+0oHgb9HdNsCA92kynWTa18+ PF3YBbW/sRMj2rDDZaSk3sFEvU0koZJTZ738jeNQ7hNUusNTYyYJoxUzvHEMTrSl Z4ZqAhh6qIs= Original-Received: from a-pb-sasl-sd.pobox.com (unknown [127.0.0.1]) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTP id 1852A4C94; Mon, 16 May 2011 17:59:53 -0400 (EDT) Original-Received: from unquote.localdomain (unknown [90.164.198.39]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by a-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 740734C92; Mon, 16 May 2011 17:59:51 -0400 (EDT) In-Reply-To: (Torstein Winterseth's message of "Wed, 11 May 2011 16:22:28 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.2 (gnu/linux) X-Pobox-Relay-ID: D3F05626-8007-11E0-BD81-BBB7F5B2FB1A-02397024!a-pb-sasl-sd.pobox.com X-detected-operating-system: by eggs.gnu.org: Solaris 10 (beta) X-Received-From: 64.74.157.62 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:5574 Archived-At: Hi Torstein, On Wed 11 May 2011 16:22, Torstein Winterseth writes: > (define bug > '(\()) AFAIU, \ is not actually an escaping marker in R5RS. The meaning of your program is not defined by the R5RS, as an initial \ character on a form is not specified. Guile treats this the same as: However... $ guile scheme@(guile-user)> '\( $1 = \ scheme@(guile-user)> 1 ... ) :0:0: In procedure #:1:0 ()>: :0:0: Wrong type to apply: 1 Entering a new prompt. Type `,bt' for a backtrace or `,q' to continue. scheme@(guile-user) [1]> Not sure why it decided that it should display a prompt after the first case; probably a bug somewhere... But, your assumption is not correct, so this is not a bug, AFAIK. R6RS does specify an escaping syntax, however, though it is not the one you are assuming. Regards, Andy -- http://wingolog.org/