From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stephen Berman Newsgroups: gmane.emacs.bugs Subject: bug#23781: 25.0.95; read-string with HIST lexically bound Date: Sun, 26 Jun 2016 00:07:17 +0200 Message-ID: <87y45svs6i.fsf@gmx.net> 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> 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 1466892504 3633 80.91.229.3 (25 Jun 2016 22:08:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2016 22:08:24 +0000 (UTC) Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org To: Noam Postavsky Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jun 26 00:08:11 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 1bGvkJ-0005Oc-8r for geb-bug-gnu-emacs@m.gmane.org; Sun, 26 Jun 2016 00:08:11 +0200 Original-Received: from localhost ([::1]:51626 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGvkI-0007ys-Kl for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 18:08:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52412) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGvkD-0007yj-7q for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 18:08:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGvk9-0007S2-Uo for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 18:08:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43457) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGvk9-0007Rx-R2 for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 18:08:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGvk9-0006Hy-HX for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 18:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stephen Berman Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2016 22:08: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.146689246524145 (code B ref 23781); Sat, 25 Jun 2016 22:08:01 +0000 Original-Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 22:07:45 +0000 Original-Received: from localhost ([127.0.0.1]:55794 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGvjs-0006HN-Pp for submit@debbugs.gnu.org; Sat, 25 Jun 2016 18:07:44 -0400 Original-Received: from mout.gmx.net ([212.227.17.20]:62687) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGvjr-0006H8-0v for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 18:07:43 -0400 Original-Received: from rosalinde ([89.245.114.250]) by mail.gmx.com (mrgmx102) with ESMTPSA (Nemesis) id 0MUm1o-1arlVr0WnU-00YCmK; Sun, 26 Jun 2016 00:07:19 +0200 In-Reply-To: (Noam Postavsky's message of "Sat, 25 Jun 2016 15:46:38 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-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TsQvnZ89M 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:120070 Archived-At: On Sat, 25 Jun 2016 15:46:38 -0400 Noam Postavsky wrote: > So can we agree on this updated wording? (as shown in attached patch) > > Note that unlike dynamic variables which are tied to the symbol > object itself, the relationship between lexical variables and > symbols is only present in the interpreter (or compiler). > Therefore, functions which take a symbol argument (like > =E2=80=98symbol-value=E2=80=99, =E2=80=98boundp=E2=80=99, and =E2=80= =98set=E2=80=99) can only retrieve or modify a > variable=E2=80=99s dynamic binding (i.e., the contents of its symbol= =E2=80=99s > value cell). 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 variab= les. This sounds clearer to me, thanks. > Should it be updated any further? (if yes, please reply with concrete pro= posals) I don't feel competent enough to judge that; however, Drew pointed out that the `(elisp) Variables' node I quoted from earlier and other places in the manual haven't been updated for lexical binding. Anyway, these questions would be more properly assigned to a separate bug report. Steve Berman