From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: "tomas@tuxteam.de" Newsgroups: gmane.emacs.help Subject: Re: [External] : Re: Which Elisp types are mutable? Date: Mon, 5 Jul 2021 22:12:53 +0200 Message-ID: <20210705201253.GF6395@tuxteam.de> References: <0404DE66-DD17-41F2-B6CC-EC06937CD152@gmail.com> <874keca73x.fsf@mbork.pl> <70773EA8-6549-4C03-941C-FADAB1BE441A@gmail.com> <8735tw9l14.fsf@mbork.pl> <4AA1E624-B979-4B08-8AE0-E33A1C9A0E94@gmail.com> <834kd8ha0c.fsf@gnu.org> <20210705185503.GD6395@tuxteam.de> <20210705194034.GE6395@tuxteam.de> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="xaMk4Io5JJdpkLEb" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35581"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mutt/1.5.21 (2010-09-15) Cc: "help-gnu-emacs@gnu.org" To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Jul 05 22:13:31 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m0UyB-00093s-1X for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Jul 2021 22:13:31 +0200 Original-Received: from localhost ([::1]:44294 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m0UyA-0008Ar-1z for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 05 Jul 2021 16:13:30 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37634) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m0Uxh-0008Ah-5f for help-gnu-emacs@gnu.org; Mon, 05 Jul 2021 16:13:01 -0400 Original-Received: from mail.tuxteam.de ([5.199.139.25]:33396) by eggs.gnu.org with esmtps (TLS1.2:DHE_RSA_AES_128_CBC_SHA1:128) (Exim 4.90_1) (envelope-from ) id 1m0Uxd-00043v-B6; Mon, 05 Jul 2021 16:13:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=tuxteam.de; s=mail; h=In-Reply-To:Content-Type:MIME-Version:References:Message-ID:Subject:Cc:To:From:Date; bh=X+FpADVZ9hQHKewzPPsFOQuEgoMHkQesKM/otf1CF0U=; b=VcKnSlGyBFjLGslJkqT6J8q52GoOvppXV6bitGlm1uZjdKV8KXI9WHCpEnxZZvIw8EpROV6KOz02n8r0EsP96h8CokdcWs+y0cYxQTqsm73zvLuR5kEgMLMNF9lv2jPNRk85BZ6/Lu8ai5/wJRN4wfqsZDavRJzOCmwK0Cs19JfqKGitd/L411zUJM3g1b/ZPCQvuiIMYlFa1uY9r6iRjXspZkafVitwgjMq8Qv/zb5F+ToBPQYTATeNlO2OVOSODkBslqUNT5XAv+8AvZZxDvwrD9pVLpA5L99qbaIPehraidIkZCgtsbI9XVZGXmYDGxr63VJynlyF/ov7lya1AQ==; Original-Received: from tomas by mail.tuxteam.de with local (Exim 4.80) (envelope-from ) id 1m0UxZ-0005l8-Of; Mon, 05 Jul 2021 22:12:53 +0200 Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=5.199.139.25; envelope-from=tomas@tuxteam.de; helo=mail.tuxteam.de X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:131498 Archived-At: --xaMk4Io5JJdpkLEb Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 [...] > >=20 > > Oh, Elisp doesn't differentiate between the symbol proper > > and its bindings? >=20 > Sure, it does. Though I may not understand what you > mean by its bindings. >=20 > 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 --xaMk4Io5JJdpkLEb Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) iEYEARECAAYFAmDjZ8UACgkQBcgs9XrR2kZqgQCfQ3E9kslW2KGHdWbGlz69qTqP 3usAn1RWJHw1PqXFmC5MxZllb4iKKirR =bgpj -----END PGP SIGNATURE----- --xaMk4Io5JJdpkLEb--