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: bug#10991: syntax-local-binding does not play well with fluid-let-syntax Date: Fri, 06 Jul 2012 11:25:36 +0200 Message-ID: <87r4sp1bsf.fsf@pobox.com> References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: dough.gmane.org 1341576745 29622 80.91.229.3 (6 Jul 2012 12:12:25 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Fri, 6 Jul 2012 12:12:25 +0000 (UTC) Cc: 10991@debbugs.gnu.org To: Stefan Israelsson Tampe Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Fri Jul 06 14:12:24 2012 Return-path: Envelope-to: guile-bugs@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 1Sn7OY-0004za-0n for guile-bugs@m.gmane.org; Fri, 06 Jul 2012 14:12:22 +0200 Original-Received: from localhost ([::1]:39847 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn7OT-00051s-As for guile-bugs@m.gmane.org; Fri, 06 Jul 2012 08:12:17 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:33983) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn7OM-0004rX-3P for bug-guile@gnu.org; Fri, 06 Jul 2012 08:12:14 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Sn7OH-00061T-17 for bug-guile@gnu.org; Fri, 06 Jul 2012 08:12:09 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:42021) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Sn7OG-00061G-Rj for bug-guile@gnu.org; Fri, 06 Jul 2012 08:12:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.72) (envelope-from ) id 1Sn7T4-0002VS-E9 for bug-guile@gnu.org; Fri, 06 Jul 2012 08:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andy Wingo Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-guile@gnu.org Resent-Date: Fri, 06 Jul 2012 12:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 10991 X-GNU-PR-Package: guile X-GNU-PR-Keywords: Original-Received: via spool by 10991-submit@debbugs.gnu.org id=B10991.13415770019599 (code B ref 10991); Fri, 06 Jul 2012 12:17:02 +0000 Original-Received: (at 10991) by debbugs.gnu.org; 6 Jul 2012 12:16:41 +0000 Original-Received: from localhost ([127.0.0.1]:51566 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sn7Si-0002Ul-RJ for submit@debbugs.gnu.org; Fri, 06 Jul 2012 08:16:41 -0400 Original-Received: from a-pb-sasl-sd.pobox.com ([74.115.168.62]:37179 helo=sasl.smtp.pobox.com) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1Sn7Sg-0002UY-P7 for 10991@debbugs.gnu.org; Fri, 06 Jul 2012 08:16:39 -0400 Original-Received: from sasl.smtp.pobox.com (unknown [127.0.0.1]) by b-pb-sasl-sd.pobox.com (Postfix) with ESMTP id C3074B3CC; Fri, 6 Jul 2012 08:11:40 -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:content-transfer-encoding; s=sasl; bh=U3vfhbwaiT7G N6gb7rPl2c3+le4=; b=Sv+tTezm80Qcy4qj+1ieWuD8uOpjh1X683Xqoxc7h2eK UNT0LOK7I9KB7w+hUEtfugYHCe/oK7toogViohg7516GIlDIcS7p1JJX41wsPIIJ F6BpA9sMdF8NlLKnZIe5ZscHQm6P17JTaFPXMnXSLFy7kuQcoQqbwIywdVS+KyY= 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:content-transfer-encoding; q=dns; s=sasl; b=PaH9BT xVgjX9il8ZxG+T/LXBfTf2rhHsbchOaw+cYVJQRzL580hoL8CkIns0CAfwm1iXQX Xh1x40KOAP+Dki8GzuKxeRbvq4okzzo181ZBa21hqVukJxxmeZkSU6hn+toZDJG1 UuAlYazNyN0hviB4rH7wxTsiKWNAmp2iCSegc= Original-Received: from b-pb-sasl-sd. (unknown [127.0.0.1]) by b-pb-sasl-sd.pobox.com (Postfix) with ESMTP id BB16EB3CB; Fri, 6 Jul 2012 08:11:40 -0400 (EDT) Original-Received: from badger (unknown [89.131.176.233]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by b-pb-sasl-sd.pobox.com (Postfix) with ESMTPSA id 241FBB3CA; Fri, 6 Jul 2012 08:11:40 -0400 (EDT) In-Reply-To: (Stefan Israelsson Tampe's message of "Sun, 11 Mar 2012 12:47:22 +0100") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.1 (gnu/linux) X-Pobox-Relay-ID: BE1BEBEA-C763-11E1-A83F-FA6787E41631-02397024!b-pb-sasl-sd.pobox.com X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2) X-Received-From: 140.186.70.43 X-BeenThere: bug-guile@gnu.org 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:6409 Archived-At: Hi Stefan, Sorry for the late reply. On Sun 11 Mar 2012 12:47, Stefan Israelsson Tampe = writes: > ;;This shows that f rebounds to yield #t but the info returns %f > (eq? > =C2=A0(fluid-let-syntax ((f (lambda x #'#t))) > =C2=A0=C2=A0 (pk (f 1)) > =C2=A0=C2=A0 (info f)) > =C2=A0%f) This is by design. This is as in Racket, where there is a difference between syntax-local-value and syntax-parameter-value. In master, there is an additional parameter to resolve-identifier, `resolve-syntax-parameters?'. Suggestion: if you want this, add a similar parameter to psyntax.scm in stable-2.0, and in both branches plumb it through to a keyword argument on syntax-local-binding. Update the docs, too :) You had the beginnings of a patch on bug 10992. Thanks! Andy --=20 http://wingolog.org/