Hi all,
> Maybe I drop a line to emacs-devel mailing list and ask.
Please do.
> At any rate, I think I can take the suggestion given by Keita once I
> update `TeX-read-key-val' in latex.el.
Agreed.
>> (info "(elisp) Accessing Variables") doesn't enlighten me, too.
>
> Maybe a relevant sentence is this one in 12.10.3 Lexical Binding[1]:
>
> 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
> 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).
>
> Which then doesn't fit to the docstring above.
Indeed. I think what is meant is that with
(let ((x 17))
(lambda () (incf x)))
there is no symbol x but the lambda is actually a closure
(closure ((x . 17) t) nil (incf x))
where the value of x is stored in its closure environment. But here,
symbol-value will error anyway. I see no way to construct something
where there is both a symbol *and* a binding in the lexical environment.
Bye,
Tassilo