From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Christopher Dimech Newsgroups: gmane.emacs.help Subject: Re: RE: Symbol Properties having global context Date: Sun, 6 Dec 2020 21:25:10 +0100 Message-ID: References: <67c408b0-4ae4-41be-a766-413f336f10e8@default> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38404"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs To: Drew Adams Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sun Dec 06 21:27:59 2020 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 1km0dT-0009rw-Oy for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 21:27:59 +0100 Original-Received: from localhost ([::1]:39230 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1km0dS-0007jf-GM for geh-help-gnu-emacs@m.gmane-mx.org; Sun, 06 Dec 2020 15:27:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58144) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1km0au-0007j4-RR for help-gnu-emacs@gnu.org; Sun, 06 Dec 2020 15:25:20 -0500 Original-Received: from mout.gmx.net ([212.227.17.21]:33515) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1km0as-0006F3-J9 for help-gnu-emacs@gnu.org; Sun, 06 Dec 2020 15:25:20 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gmx.net; s=badeba3b8450; t=1607286310; bh=T2ogcWvlkZQ/tZcYyftlXo3WHLE0rUw+o2OrMr15yjY=; h=X-UI-Sender-Class:From:To:Cc:Subject:Date:In-Reply-To:References; b=N9iMMfaPw3t/a/6Y5jRozxxPmZIJIb1I8Nu5P2Nsc+zLLYNLaKpUGV5kjuhsn+vPP lWqgsv4eztd/X4u3tx5v2rWXva8c+5c5d3G6pQfE9nYS0eGV9T3mLPGwexKvDy2jdj 3PWKn5qazhF5WhmcHzZTJSUShDhdC2V92d03ZccA= X-UI-Sender-Class: 01bb95c1-4bf8-414a-932a-4f6e2808ef9c Original-Received: from [213.165.168.94] ([213.165.168.94]) by web-mail.gmx.net (3c-app-mailcom-bs11.server.lan [172.19.170.179]) (via HTTP); Sun, 6 Dec 2020 21:25:10 +0100 Importance: normal Sensitivity: Normal In-Reply-To: <67c408b0-4ae4-41be-a766-413f336f10e8@default> X-UI-Message-Type: mail X-Priority: 3 X-Provags-ID: V03:K1:QFHGIpDYmc4ycZW0zQtzm7tC4C300MtAszK2v88x9bXWo55rf8yi7YcIIOK88tmkyTWud Kfjgsk5sPrH5ciDuU28VQsn86wYJWfssoo2H2ugKfRUCYJQttZLId6+Z/BZ8ZYFovVwwawoIQoND 7JAtTBbDZJUbnwzUmssYLKUQgF6GVKjzzbp5ZW1M/LgH9vZoQ3aYwlCxR00/FTOS3BvvTpWaw3ey 93bVXOh085qK5M1VHqBF+jBi0RBHQo8rmO22SfFouofEsUmsjpXrVWdn7dgY99Z9Fu9HJXrrC2jT WI= X-UI-Out-Filterresults: notjunk:1;V03:K0:geljj0NfrVY=:6dnOJcVRq7Z+vrE9XDytpV yPBvWeD4+m2pI1UNHc2DI0VRcsfZBF8b9jKvS7DAwbuRVS1Hplq5Fx/aIG+6NdLqEVPJSvono F11hhknvWPRN9xnDtjRV8mARH+g08jYIzKL5A+DpgantQeSXc5V09ggfCxSJQpZNjSVxLo/nt B2oO6a/78xfrLz+IaP7tT9v2basZLK1GCHkPGWxnNxMAYyXK5Dpy64sQNQBSwrDsA4AyXLT5D pWZVOmgbx0W00hLFbYIgBMA+vdHB+XDuLq660v2txwEc8LbMXMOwJq86T8zu1OtlhXnD1tksc TjY17x12RlBVDfBdNePDxV94JXkWKxgxoBm7OU184HaP7rNOd1jScod8llQfXFh7dyAafiN2/ qPqwY5nzJLoi1kOuNeKW4mcWZTkjDHgoIwtllmhFJJiBt2kg9QvUh5BJo1AO0ZdPqb8gLCbdZ QK1SRui6WWLAq7+rQCfjFymOJl0KtHHFQD6+N0DadoLT4ZoL8127apKJmBKrq931iW0LFHoc8 VhfuGOQvGWuNLAqJt3NjutC/IN67n/sxEzxL1DF+DUOVZR5o8PY4f9uRzuM5icjExRZp5QDf9 ixn9J0Fqu0DzE= Received-SPF: pass client-ip=212.227.17.21; envelope-from=dimech@gmx.com; helo=mout.gmx.net X-Spam_score_int: -25 X-Spam_score: -2.6 X-Spam_bar: -- X-Spam_report: (-2.6 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, 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:126108 Archived-At: I got to "9.2 Defining Symbols". It only mentions that defvar and defcons= t define a symbol as a global variable. Could something be written and your comments were very enlightening. > Sent: Sunday, December 06, 2020 at 9:13 PM > From: "Drew Adams" > To: "Christopher Dimech" , "Help Gnu Emacs" > Subject: RE: Symbol Properties having global context > > > Am reading the section "9.4 Symbol Properties". The section that not > > say that > > symbol properties such as "value" have a global context. > > It is symbols themselves that are global objects. > It follows that their property values are also. > > (Of course, a Lisp value can be shared.) > > Symbols are stored in obarrays. By default, they > are stored in the obarray that is the value of > global variable `obarray'. > > So you can have two symbols with the same name > (the name is just one of a symbols properties, > its `symbol-name'), but which have different > values for other properties, such as > `symbol-value'. > > E.g., you can have two symbols `foo', in two > different obarrays, with two different values > when used as a variable. (They can also have > different `symbol-function' value, etc.) >