From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#27674: 26.0.50; cl-progv: strange scoping due to implementation Date: Wed, 12 Jul 2017 23:53:01 +0200 Message-ID: <87lgntfhky.fsf@drachen> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: blaine.gmane.org 1499896461 19523 195.159.176.226 (12 Jul 2017 21:54:21 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 12 Jul 2017 21:54:21 +0000 (UTC) User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux) To: 27674@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Jul 12 23:54:10 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVPaC-0004PK-Ja for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jul 2017 23:54:08 +0200 Original-Received: from localhost ([::1]:56143 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVPaH-0000iH-H1 for geb-bug-gnu-emacs@m.gmane.org; Wed, 12 Jul 2017 17:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVPaB-0000gb-4C for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 17:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVPa7-0000Fl-5h for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 17:54:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:33223) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVPa7-0000Fh-29 for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 17:54:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dVPa6-0007xk-Ni for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 17:54:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Michael Heerdegen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 12 Jul 2017 21:54:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 27674 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.149989640030557 (code B ref -1); Wed, 12 Jul 2017 21:54:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 12 Jul 2017 21:53:20 +0000 Original-Received: from localhost ([127.0.0.1]:35900 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVPZQ-0007wn-Aa for submit@debbugs.gnu.org; Wed, 12 Jul 2017 17:53:20 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:49097) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dVPZO-0007wa-Dn for submit@debbugs.gnu.org; Wed, 12 Jul 2017 17:53:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVPZI-000877-Al for submit@debbugs.gnu.org; Wed, 12 Jul 2017 17:53:13 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:45860) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1dVPZI-00086x-7p for submit@debbugs.gnu.org; Wed, 12 Jul 2017 17:53:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40036) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dVPZH-0008Hh-5h for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 17:53:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dVPZC-0007zW-Ad for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 17:53:11 -0400 Original-Received: from mout.web.de ([212.227.15.3]:57750) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dVPZB-0007yp-Vz for bug-gnu-emacs@gnu.org; Wed, 12 Jul 2017 17:53:06 -0400 Original-Received: from drachen.dragon ([88.73.234.235]) by smtp.web.de (mrweb003 [213.165.67.108]) with ESMTPSA (Nemesis) id 0Lheu9-1e0Mik2j4L-00mseK; Wed, 12 Jul 2017 23:53:03 +0200 X-Provags-ID: V03:K0:N7hEft/gfEvuSeHe/mTkEhX0Limofus3FE/pqxAxskoD8UOLexJ HOKc7GWZGI3/qr0QMcH9uuqnrsV8RQeCvk27RHyhKyoLSowtCdpMW+jsmczVKgH7nHtY2lk tt2I4Dyju7UR7kDFI8IckfbianKn3drHMnwFboN47YuoigxlVH+LGjttDBYkBfSKkycptSF 1fKJa25d+/YDu4WSwoFLg== X-UI-Out-Filterresults: notjunk:1;V01:K0:gBvHhiVZ7nA=:1kCQyVLD76EVVLofEmBlX1 zhMSRxRtEeZbLCalUer57XiTwjz7WBwCZalpp1m68G7m6MbBxbqVhhwJmwAQOfoZOCxvWCJ2f hWJuB2iLwfEPet3Tm1GNESA++g81nE9kJFLJsExWkGwcVqJ05e62/7QTesL4Skg7Sx3UE2/4Q LYVOxGTA4kqBEiPM5zhcaI+YF0NXXeF2mdmPrwRBj98C9zkKKZATzm+RYo24igFEO+gncqtoJ 0Up61g7ATTCyrZa4/FUmHgyFZDKKCjdqD6ZU4R6Yx9NZDgqlp8QNTSU5hEmmA1eReyCnQe58n n5AQA6rOsCN+E+jkD+YN3ueQL1bEmWec8GScJGqZPCYhvkOuphxW8qBkA+8uXbt/ATcso2lnf Pqtw7YbMMCVWWTX4jG7EubU2Z31V9FuGjELuBH8u752Q8UB5taJtNloeXWx6Hw5w0SQ6n2Lmt qzta//gV7GEJa/5lQjJk5x28IkSdIjR9WwZsxaKSx+hcGa8Ujx01z7qEOmtZtnFhIm5vqO6/o 22DIVq7uNNOhlcWNqnQvNaizJlYbAfX8diYQbj3ltUz0EllMMgMjJMX/Qda1ZswKpL0BXemOP cn15pGvfkglJFFC6AiWN93zS1RXsWnfWSUJZ5blTkNDB1NN/5YhdP7WD/L3+Pe1I4LjMof1dF y9ITPt0BW5kT+FtrlZcQEME6zU5ybJzk0wNy0xhbNgkvyCm7c/SzO6HcgelN+outiQhvAg0fn FRA1YEst47/5Aoba0UOvYTkm001sLDPdJXjFB6E9UgzDCaSzf87GGvkfQQeb2ACYlu+3YpH5 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] [fuzzy] X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:134481 Archived-At: Hello, The way `cl-progv' is implemented, we have some strange effects happening to closures in the body. For example, with lexical-binding on, (let ((x 0)) (cl-progv (list 'x) (list 1) (funcall (lambda () x)))) yields 0, and (cl-progv (list 'x) (list 1) (funcall (lambda () x))) yields 1. That isn't consistent (FWIW I would expect `1' in both cases). TIA, Michael. In GNU Emacs 26.0.50 (build 7, x86_64-pc-linux-gnu, GTK+ Version 3.22.16) of 2017-07-12 built on drachen Repository revision: dde7f2d48b53996bdf767a8cf91aafc2e10add23 Windowing system distributor 'The X.Org Foundation', version 11.0.11903000 System Description: Debian GNU/Linux testing (buster)