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: Sat, 25 Jun 2016 20:53:34 +0200 Message-ID: <8737o1w15d.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> 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 1466880868 31659 80.91.229.3 (25 Jun 2016 18:54:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2016 18:54:28 +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 Sat Jun 25 20:54:17 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 1bGsie-0005rn-AK for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 20:54:16 +0200 Original-Received: from localhost ([::1]:51015 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGsid-0002hN-DR for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 14:54:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:55266) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGsiX-0002hH-7h for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 14:54:10 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGsiQ-00078X-L3 for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 14:54:08 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43392) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGsiQ-00078R-He for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 14:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGsiQ-00057S-C5 for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 14:54:02 -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 18:54:02 +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.146688084119672 (code B ref 23781); Sat, 25 Jun 2016 18:54:02 +0000 Original-Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 18:54:01 +0000 Original-Received: from localhost ([127.0.0.1]:55729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGsiP-00057D-8s for submit@debbugs.gnu.org; Sat, 25 Jun 2016 14:54:01 -0400 Original-Received: from mout.gmx.net ([212.227.17.22]:55447) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGsiN-000571-Nh for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 14:54:00 -0400 Original-Received: from rosalinde ([89.245.114.250]) by mail.gmx.com (mrgmx101) with ESMTPSA (Nemesis) id 0MOBOi-1bKAV13qUO-005boC; Sat, 25 Jun 2016 20:53:36 +0200 In-Reply-To: (Noam Postavsky's message of "Sat, 25 Jun 2016 12:53:18 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1.50 (gnu/linux) X-Provags-ID: V03:K0:SIcpZIXYrJIm02Mqp7J5pUM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: 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:120063 Archived-At: On Sat, 25 Jun 2016 12:53:18 -0400 Noam Postavsky wrote: > On Sat, Jun 25, 2016 at 6:12 AM, Stephen Berman = wrote: >> On Fri, 24 Jun 2016 20:26:45 -0400 Noam Postavsky >> wrote: >> >>> On Thu, Jun 23, 2016 at 7:18 PM, Drew Adams wro= te: >>>>> I think we should be a little more specific, not >>>>> just give examples, something like: >>>>> >>>>> Note that 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 sym= bol=E2=80=99s >>>>> value cell). >>>> >>>> Be even more specific: A Lisp symbol is a dynamic thing. >>>> It is an object. Lexical binding has nothing to do with symbols. >>>> A given _name_ in code can sometimes be lexically bound. >>> >>> Hmm, this threatens to get a little philosophical, but that seems to >>> contradict earlier text in the same node: >>> >>> Here is how lexical binding works. Each binding construct >>> defines a =E2=80=9Clexical environment=E2=80=9D, specifying the sym= bols that are >>> bound within the construct and their local values. >> >> I think it's more a question of definition than philosophy: AFAIU using >> the word "symbols" here is strictly speaking incorrect; it should be >> "variables". > > Yes, perhaps the implementation details leaked a bit too much into the > description. I think it remains the case that the name of a variable > is a symbol (as opposed to a string) though. Well, the info node `(elisp) Variables' says: In Lisp, each variable is represented by a Lisp symbol (see Symbols::). The variable name is simply the symbol=E2=80=99s name [...] and a symbol's name is a string (according to `symbol-name'). But maybe we should leave the bike shed before this gets too philosophical ;-) Steve Berman=20