From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: owner@emacsbugs.donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#3178: marked as done (23.0.92; doc string for lexical-let*) Date: Sun, 10 May 2009 22:05:08 +0000 Message-ID: References: <87r5ywehxz.fsf@cyd.mit.edu> <006b01c9ca88$2b5e8eb0$0200a8c0@us.oracle.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1241993108-13878-0" X-Trace: ger.gmane.org 1241993611 26786 80.91.229.12 (10 May 2009 22:13:31 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 May 2009 22:13:31 +0000 (UTC) To: Chong Yidong Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon May 11 00:13:20 2009 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1M3HGp-0001pE-IY for geb-bug-gnu-emacs@m.gmane.org; Mon, 11 May 2009 00:13:20 +0200 Original-Received: from localhost ([127.0.0.1]:55633 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3HGo-0000PL-J4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 May 2009 18:13:18 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M3HFc-0008Vd-Sw for bug-gnu-emacs@gnu.org; Sun, 10 May 2009 18:12:05 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M3HFX-0008T6-CN for bug-gnu-emacs@gnu.org; Sun, 10 May 2009 18:12:03 -0400 Original-Received: from [199.232.76.173] (port=41418 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M3HFW-0008Sg-OH for bug-gnu-emacs@gnu.org; Sun, 10 May 2009 18:11:58 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:57982) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1M3HFW-0002Ig-02 for bug-gnu-emacs@gnu.org; Sun, 10 May 2009 18:11:58 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4AMBs9x016478; Sun, 10 May 2009 15:11:55 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id n4AM58hS013911; Sun, 10 May 2009 15:05:08 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: owner@emacsbugs.donarmstrong.com X-Emacs-PR-Message: closed 3178 X-Emacs-PR-Package: emacs X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:27804 Archived-At: This is a multi-part message in MIME format... ------------=_1241993108-13878-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Sun, 10 May 2009 18:01:12 -0400 with message-id <87r5ywehxz.fsf@cyd.mit.edu> and subject line Re: 23.0.92; doc string for lexical-let* has caused the Emacs bug report #3178, regarding 23.0.92; doc string for lexical-let* to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact owner@emacsbugs.donarmstrong.com immediately.) --=20 3178: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D3178 Emacs Bug Tracking System Contact owner@emacsbugs.donarmstrong.com with problems ------------=_1241993108-13878-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by emacsbugs.donarmstrong.com; 1 May 2009 18:11:07 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=0.1 required=4.0 tests=FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n41IB44A026410 for ; Fri, 1 May 2009 11:11:05 -0700 Received: from mail.gnu.org ([199.232.76.166]:42089 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1LzxCR-0002oW-OF for emacs-pretest-bug@gnu.org; Fri, 01 May 2009 14:11:04 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1LzxCN-0002Cm-KU for emacs-pretest-bug@gnu.org; Fri, 01 May 2009 14:11:01 -0400 Received: from rcsinet12.oracle.com ([148.87.113.124]:23256 helo=rgminet12.oracle.com) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LzxCN-0002C0-7m for emacs-pretest-bug@gnu.org; Fri, 01 May 2009 14:10:59 -0400 Received: from acsinet15.oracle.com (acsinet15.oracle.com [141.146.126.227]) by rgminet12.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n41IAotn024792 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 1 May 2009 18:10:51 GMT Received: from acsmt701.oracle.com (acsmt701.oracle.com [141.146.40.71]) by acsinet15.oracle.com (Switch-3.3.1/Switch-3.3.1) with ESMTP id n41IB4OB030927 for ; Fri, 1 May 2009 18:11:04 GMT Received: from dradamslap1 (/98.210.250.59) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 01 May 2009 11:10:51 -0700 From: "Drew Adams" To: Subject: 23.0.92; doc string for lexical-let* Date: Fri, 1 May 2009 11:10:53 -0700 Message-ID: <006b01c9ca88$2b5e8eb0$0200a8c0@us.oracle.com> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 Thread-Index: AcnKiCp7NBbpVnNPQGWbo1pSZAV5Rw== X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3350 X-Source-IP: acsmt701.oracle.com [141.146.40.71] X-Auth-Type: Internal IP X-CT-RefId: str=0001.0A09020A.49FB3B2B.0286:SCFMA4539814,ss=1,fgs=0 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 1) Doc string: Like `let*', but lexically scoped. The main visible difference is that lambdas inside BODY will create lexical closures as in Common Lisp. It doesn't say this, but that can give the impression that it is only in the BODY that this happens. It also happens in successive bindings. That is, in (lexical-let* ((a X)(b Y)) BODY) the lexical binding of `a' is in effect not only in BODY but also in Y. I suspect that the second sentence of the doc string was simply copy+pasted from the doc string for `lexical-let'. In `lexical-let', only the BODY is pertinent, but in `lexical-let*', there is also the question of what happens in the right hand side of each binding. The doc string (and the Emacs CL manual) should also say explicitly that the behavior is the same as Common Lisp's `let*' (except that CL treats CL's special variables specially). In GNU Emacs 23.0.92.1 (i386-mingw-nt5.1.2600) of 2009-03-30 on SOFT-MJASON Windowing system distributor `Microsoft Corp.', version 5.1.2600 configured using `configure --with-gcc (3.4)' ------------=_1241993108-13878-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 3178-done) by emacsbugs.donarmstrong.com; 10 May 2009 22:01:03 +0000 X-Spam-Checker-Version: SpamAssassin 3.2.5-bugs.debian.org_2005_01_02 (2008-06-10) on rzlab.ucr.edu X-Spam-Level: X-Spam-Bayes: score:0.5 Bayes not run. spammytokens:Tokens not available. hammytokens:Tokens not available. X-Spam-Status: No, score=-1.9 required=4.0 tests=AWL,FOURLA autolearn=no version=3.2.5-bugs.debian.org_2005_01_02 Received: from cyd.mit.edu (CYD.MIT.EDU [18.115.2.24]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id n4AM10Jm012829 for <3178-done@emacsbugs.donarmstrong.com>; Sun, 10 May 2009 15:01:01 -0700 Received: by cyd.mit.edu (Postfix, from userid 1000) id 2BE9E57E22A; Sun, 10 May 2009 18:01:12 -0400 (EDT) From: Chong Yidong To: "Drew Adams" Cc: 3178-done@emacsbugs.donarmstrong.com Subject: Re: 23.0.92; doc string for lexical-let* Date: Sun, 10 May 2009 18:01:12 -0400 Message-ID: <87r5ywehxz.fsf@cyd.mit.edu> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii > It doesn't say this, but that can give the impression that it is only > in the BODY that this happens. It also happens in successive > bindings. That is, in (lexical-let* ((a X)(b Y)) BODY) the lexical > binding of `a' is in effect not only in BODY but also in Y. Done, thanks. ------------=_1241993108-13878-0--