From: "tomas@tuxteam.de" <tomas@tuxteam.de>
To: Drew Adams <drew.adams@oracle.com>
Cc: "help-gnu-emacs@gnu.org" <help-gnu-emacs@gnu.org>
Subject: Re: [External] : Re: Which Elisp types are mutable?
Date: Mon, 5 Jul 2021 22:12:53 +0200 [thread overview]
Message-ID: <20210705201253.GF6395@tuxteam.de> (raw)
In-Reply-To: <SA2PR10MB4474241C9067A74284C91EB4F31C9@SA2PR10MB4474.namprd10.prod.outlook.com>
[-- Attachment #1: Type: text/plain, Size: 848 bytes --]
On Mon, Jul 05, 2021 at 08:03:14PM +0000, Drew Adams wrote:
> > > But I'll mention that a Lisp symbol is a kind of
> > > mutable "object". It has various properties [...]
> >
> > Oh, Elisp doesn't differentiate between the symbol proper
> > and its bindings?
>
> Sure, it does. Though I may not understand what you
> mean by its bindings.
>
> The symbol is an object - a complex/compound thing.
> It has various properties. One of the properties is
> its value as a variable, which is accessible using
> function `symbol-value'. As a variable, that's the
> symbol's variable (global) "binding".
Hm. If you change a variable's value... does that count
as "mutating the symbol"? If you change the binding (e.g.
by entering another scope or by leaving it)?
Yes, there are those other pesky properties...
Cheers
- t
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2021-07-05 20:12 UTC|newest]
Thread overview: 23+ messages / expand[flat|nested] mbox.gz Atom feed top
2021-06-03 4:03 Which Elisp types are mutable? Marcin Borkowski
2021-06-03 12:11 ` Philipp
2021-06-05 11:22 ` Marcin Borkowski
2021-06-05 12:58 ` Philipp
2021-06-05 14:25 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-07-05 18:40 ` Philipp
2021-07-05 20:19 ` Stefan Monnier
2021-07-05 20:44 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-07-05 20:58 ` Stefan Monnier via Users list for the GNU Emacs text editor
2021-07-05 21:03 ` Emanuel Berg via Users list for the GNU Emacs text editor
2021-06-05 19:19 ` Marcin Borkowski
2021-06-05 20:17 ` [External] : " Drew Adams
2021-06-05 20:36 ` Dmitry Gutov
2021-06-06 1:57 ` Drew Adams
2021-07-05 18:41 ` Philipp
2021-07-05 18:48 ` Eli Zaretskii
2021-07-05 18:55 ` tomas
2021-07-05 19:26 ` [External] : " Drew Adams
2021-07-05 19:40 ` tomas
2021-07-05 20:03 ` Drew Adams
2021-07-05 20:12 ` tomas [this message]
2021-07-05 20:39 ` Drew Adams
2021-07-05 20:58 ` Emanuel Berg via Users list for the GNU Emacs text editor
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20210705201253.GF6395@tuxteam.de \
--to=tomas@tuxteam.de \
--cc=drew.adams@oracle.com \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).