[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#23781: 25.0.95; read-string with HIST lexically bound
From: |
Drew Adams |
Subject: |
bug#23781: 25.0.95; read-string with HIST lexically bound |
Date: |
Thu, 23 Jun 2016 16:18:52 -0700 (PDT) |
> > AFAICT this is expected and not specific to `read-string': A quoted
> > symbol can never refer to a lexical binding - and `symbol-value' or
> > `eval' always return the dynamic binding.
>
> Right, it's sort of hinted at in the elisp manual (11.9.3 Lexical Binding):
>
> Note that functions like ‘symbol-value’, ‘boundp’, and ‘set’ only
> retrieve or modify a variable’s dynamic binding (i.e., the
> contents of its symbol’s value cell).
>
> I think we should be a little more specific, not
> just give examples, something like:
>
> Note that functions which take a symbol argument (like
> ‘symbol-value’, ‘boundp’, and ‘set’) can only retrieve or modify a
> variable’s dynamic binding (i.e., the contents of its symbol’s
> value cell).
>
> Sort of releated: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=21185
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.
- bug#23781: 25.0.95; read-string with HIST lexically bound, Tino Calancha, 2016/06/17
- bug#23781: 25.0.95; read-string with HIST lexically bound, Michael Heerdegen, 2016/06/17
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/23
- bug#23781: 25.0.95; read-string with HIST lexically bound,
Drew Adams <=
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/24
- bug#23781: 25.0.95; read-string with HIST lexically bound, Stephen Berman, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Stephen Berman, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Stephen Berman, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Michael Heerdegen, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/25
- bug#23781: 25.0.95; read-string with HIST lexically bound, Noam Postavsky, 2016/06/26
- bug#23781: 25.0.95; read-string with HIST lexically bound, Drew Adams, 2016/06/25