From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Noam Postavsky Newsgroups: gmane.emacs.bugs Subject: bug#23781: 25.0.95; read-string with HIST lexically bound Date: Sat, 25 Jun 2016 12:53:18 -0400 Message-ID: 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 1466873664 27272 80.91.229.3 (25 Jun 2016 16:54:24 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 25 Jun 2016 16:54:24 +0000 (UTC) Cc: Michael Heerdegen , Tino Calancha , 23781@debbugs.gnu.org To: Stephen Berman Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 25 18:54:14 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 1bGqqS-0001pX-O0 for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 18:54:12 +0200 Original-Received: from localhost ([::1]:50708 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGqqR-0005Gf-MY for geb-bug-gnu-emacs@m.gmane.org; Sat, 25 Jun 2016 12:54:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33056) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGqqM-0005F8-7y for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 12:54:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bGqqI-0002hB-3z for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 12:54:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43321) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bGqqI-0002h7-01 for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 12:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bGqqH-0000Tf-O1 for bug-gnu-emacs@gnu.org; Sat, 25 Jun 2016 12:54:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Noam Postavsky Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 25 Jun 2016 16:54: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.14668736061792 (code B ref 23781); Sat, 25 Jun 2016 16:54:01 +0000 Original-Received: (at 23781) by debbugs.gnu.org; 25 Jun 2016 16:53:26 +0000 Original-Received: from localhost ([127.0.0.1]:55658 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGqpi-0000Sq-Kx for submit@debbugs.gnu.org; Sat, 25 Jun 2016 12:53:26 -0400 Original-Received: from mail-oi0-f48.google.com ([209.85.218.48]:34963) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bGqpg-0000Sc-8w for 23781@debbugs.gnu.org; Sat, 25 Jun 2016 12:53:24 -0400 Original-Received: by mail-oi0-f48.google.com with SMTP id r2so153327484oih.2 for <23781@debbugs.gnu.org>; Sat, 25 Jun 2016 09:53:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc:content-transfer-encoding; bh=mC/ke9boVNq35Myou1a/rX3u1GAUX+X/+xRPWkdQmQA=; b=i7HdpkEpHPMO6AYme1Ty1QI27m0euXVUNYHVWXZShDav7wVqZxr53RZ8hjNd66yP8K skXg6da9GDarhbfdxDktC2MOEa+nPrOjWuPPqzin9+yPmRquEH6y9EKRa475GIQjfknW 9+vFfFGMrQDX9inVtMNyMTad5XD70DSBuWVB9Y4jMcf4GXbVT8S98VTYWRlpcKSrvieT cyCwa+qs7NqtHI+qJ+9wi14ma5e0sIaOvwrhZyGk7J4HFfycE4/ofW2pr7c52VX4YzFA J0xTDSMoK14CqulT0z9UiUh3g+dXL4EC+uJdUpHChL1fSgUoFF7lLlM3khn0yae3U9Xx GdFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc:content-transfer-encoding; bh=mC/ke9boVNq35Myou1a/rX3u1GAUX+X/+xRPWkdQmQA=; b=O8UhqJzQQiJZ3j18CQHzCyJv7FI1AsVhIFFYo65+JxYzWqpH0mQWqkfgn9eRsxEyzB L6MyovEoJEhCPYQNerN0I3A3I73yTaWTSRtPvKCwmDY28uP4g+RPI5SivaXwvQTIEJwY Gqx8k0n8hF5jKR3Se6My1Afr1e8K1Iuu1i88LqA74hw4x4GIHxbApcavsfQ7yd+VXL+K vOOU4OIZGpgfCyBfOtr5p8UeYqXpSvVOCNVgDoPTMsusXK+JkLSruUy0PP58TJnVTg+M yMq+vxvxww+CR4qahtGnXvRNr27AcHqQ7kGfXnWbscBlAHmgc0UYaNq1iYqIQbMmGJ0E 0Qug== X-Gm-Message-State: ALyK8tKkv0U4hfXYlg6fX5oeKntx+Zkg5IkYKPRXusyz2shH6dMKWiQsjE5jbbHSb0307xxgmyyf5s+nPkaKTg== X-Received: by 10.202.5.193 with SMTP id 184mr4962093oif.143.1466873598607; Sat, 25 Jun 2016 09:53:18 -0700 (PDT) Original-Received: by 10.157.52.238 with HTTP; Sat, 25 Jun 2016 09:53:18 -0700 (PDT) In-Reply-To: <87oa6pwp9d.fsf@gmx.net> X-Google-Sender-Auth: pKdij-HYpI2CoKCe5UdkB3VPIXQ 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:120055 Archived-At: On Sat, Jun 25, 2016 at 6:12 AM, Stephen Berman wr= ote: > On Fri, 24 Jun 2016 20:26:45 -0400 Noam Postavsky wrote: > >> On Thu, Jun 23, 2016 at 7:18 PM, Drew Adams wrot= e: >>>> 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 symb= ol=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 symb= ols 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.