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: tomas
Subject: Re: Understanding the "let" construct and the setting of variables
Date: Fri, 18 Dec 2020 10:01:28 +0100
User-agent: Mutt/1.5.21 (2010-09-15)

On Thu, Dec 17, 2020 at 11:35:30PM +0100, Michael Heerdegen wrote:
> steve-humphreys@gmx.com 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.

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.

Again, the Elisp manual ("12 Variables" and, linked from there, "9
Symbols") makes for a good reading.

Cheers
 - t

Attachment: signature.asc
Description: Digital signature


reply via email to

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