From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Michael Heerdegen Newsgroups: gmane.emacs.bugs Subject: bug#23781: 25.0.95; read-string with HIST lexically bound Date: Sun, 26 Jun 2016 01:42:28 +0200 Message-ID: <878txs7s4b.fsf@web.de> References: <6bd7ad5e-7319-5f07-4612-26cda5621291@gmail.com> <877fdn96sv.fsf@web.de> <321d46ee-407f-4a6e-93be-302a55da6196@default> <87oa6pwp9d.fsf@gmx.net> <8737o1w15d.fsf@gmx.net> <87y45svs6i.fsf@gmx.net> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1466898272 14742 80.91.229.3 (25 Jun 2016 23:44:32 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2016 23:44:32 +0000 (UTC) Cc: Tino Calancha , 23781@debbugs.gnu.org, Noam Postavsky To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 26 01:44:18 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1bGxFF-0002JR-U7 for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jun 2016 01:44:14 +0200 Original-Received: from localhost ([::1]:51878 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGxFE-0004PM-GV for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 19:44:12 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34714) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGxF8-0004P2-JA for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 19:44:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGxF4-000264-DS for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 19:44:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43473) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGxF4-00025m-9i for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 19:44:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGxF4-00009H-0f for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 19:44: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: Sat, 25 Jun 2016 23:44:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23781 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 23781-submit@debbugs.gnu.org id=B23781.1466898182488 (code B ref 23781); Sat, 25 Jun 2016 23:44:01 +0000 Original-Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 23:43:02 +0000 Original-Received: from localhost ([127.0.0.1]:55810 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGxE6-00007k-3Q for submit@debbugs.gnu.org; Sat, 25 Jun 2016 19:43:02 -0400 Original-Received: from mout.web.de ([212.227.17.11]:50424) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGxE4-00007C-PM for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 19:43:01 -0400 Original-Received: from drachen.dragon ([79.216.83.88]) by smtp.web.de (mrweb103) with ESMTPSA (Nemesis) id 0MZlR4-1avZmY3Yis-00LWxS; Sun, 26 Jun 2016 01:42:33 +0200 In-Reply-To: <87y45svs6i.fsf@gmx.net> (Stephen Berman's message of "Sun, 26 Jun 2016 00:07:17 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Em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Ab193dtqD2an7CTc+1sDVJ02d/WDeons 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:120071 Archived-At: Stephen Berman writes: > > Also, the code in the body of a =E2=80=98defun=E2=80=99 or > > =E2=80=98defmacro=E2=80=99 cannot refer to surrounding lexical variabl= es. This seems a bit unclear to me. It sounds like something like this would not work: ;; -*- lexical-binding: t -*- (let ((x 1)) (defun f () x)) (f) =3D=3D> 1 The term "surrounding" can describe different things here (mostly, "lexically" vs. "dynamically" surrounding). Michael.