help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Understanding the "let" construct and the setting of variables


From: Michael Heerdegen
Subject: Re: Understanding the "let" construct and the setting of variables
Date: Fri, 18 Dec 2020 10:16:02 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

<tomas@tuxteam.de> writes:

> > > I would thing the variable has to be made somewhere.
> > > In fact people talk about "unboundp".
> > 
> > A variable can be unbound.  Would be hard to call `boundp' with a
> > variable that doesn't exist.
>
> But then, you don't call `boundp' on variables. You call it on
> symbols.

Yes, `boundp' is even lexical scoping agnostic, and (boundp t) ==> t,
although `t' is not very...variable.

> AFAIK (but I could be wrong, corrections welcome!) there's no explicit
> notion of variable in Emacs Lisp, i.e. you cah't "have" a variable
> object and manipulate it directly.
>
> That doesn't mean they don't exist -- I fancy them living in the grey
> area between symbols and bindings.

Well said.

Regards,

Michael.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]