From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Drew Adams Newsgroups: gmane.emacs.help Subject: RE: [External] : Re: Which Elisp types are mutable? Date: Sat, 5 Jun 2021 20:17:34 +0000 Message-ID: References: <87h7ifa932.fsf@mbork.pl> <0404DE66-DD17-41F2-B6CC-EC06937CD152@gmail.com> <874keca73x.fsf@mbork.pl> <70773EA8-6549-4C03-941C-FADAB1BE441A@gmail.com> <8735tw9l14.fsf@mbork.pl> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24272"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Help Gnu Emacs mailing list To: Marcin Borkowski , Philipp Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jun 05 22:18:10 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 1lpckD-00063I-Qy for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Jun 2021 22:18:09 +0200 Original-Received: from localhost ([::1]:36838 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lpckC-0003uw-0n for geh-help-gnu-emacs@m.gmane-mx.org; Sat, 05 Jun 2021 16:18:08 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:51086) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpcjp-0003uX-W9 for help-gnu-emacs@gnu.org; Sat, 05 Jun 2021 16:17:46 -0400 Original-Received: from mx0b-00069f02.pphosted.com ([205.220.177.32]:17776) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lpcjm-0005VY-GJ for help-gnu-emacs@gnu.org; Sat, 05 Jun 2021 16:17:45 -0400 Original-Received: from pps.filterd (m0246630.ppops.net [127.0.0.1]) by mx0b-00069f02.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 155KFhB1007837; Sat, 5 Jun 2021 20:17:39 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=corp-2020-01-29; bh=jXeyNGlTRbmAunmtB+f7t2lctZd22zfCP9kg/PVqNwE=; b=Q0F3mDOc4n3uNK57FeF4K9fmXp/C4V5I2J3LTaNlYZp2DqU0UJNbZphJf3TaU8rwo+vQ ZlJyGDLFt3wzpw9GSg9YspZ3YFWmqDhYVFCnLPh9NpLZeQw652cBxXWJbH/d6RHnN7Wd nyqu0akMMGwwEBy1l8T4KVGXP2LFC3wLJB5vjStrIJpgjI/W53Vq+adSS/UuHqC5lq0Y jAjs5QlQedtX3eHA42RXQ7E1UOBO1mg+W1Sa20c7hUwhfRAEeI2xNtsCBosJBALtc/9o Yvz3TAFav3TAPOIU0NtbyDJDrcazF3zCzGm0OWwRnv4C+bYkpcfM/TVb2zY2JByJVBEd pA== Original-Received: from oracle.com (aserp3020.oracle.com [141.146.126.70]) by mx0b-00069f02.pphosted.com with ESMTP id 38yypbg795-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 05 Jun 2021 20:17:38 +0000 Original-Received: from aserp3020.oracle.com (aserp3020.oracle.com [127.0.0.1]) by pps.podrdrct (8.16.0.36/8.16.0.36) with SMTP id 155KFk7O164196; Sat, 5 Jun 2021 20:17:37 GMT Original-Received: from nam11-co1-obe.outbound.protection.outlook.com (mail-co1nam11lp2173.outbound.protection.outlook.com [104.47.56.173]) by aserp3020.oracle.com with ESMTP id 3906skkm7x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Sat, 05 Jun 2021 20:17:37 +0000 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c1Vlt1GdlJSiJPKLAE3+McmGv/l7hk0f06EHY4g8m34Eu94U0oCLYENFZbjobq7YSQvCIgBxwxQCQjHBJDk6JTJZMFreYNWheOKDx4/AByBOrh0a1R9yPJpSD35G9k0UwLeMFC7xu8265rfyF/Ce8+GHCOlcsTWiUh33ddTpSKEUnutN9HEQwkf70A1flIWq1Zqbb4AoHS+b+KhCxX+m6sVUygA5khzveTlMTznM+YCv+ISI8ZBNKgm1RXky2ruaBJeZJuEnattpNpoSzX8kJA/to7oroNiQkYkShJdNRf5AVGlu8QWOIpzj7fsumZUugwxP84VFv8a7BDDghNYMNA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jXeyNGlTRbmAunmtB+f7t2lctZd22zfCP9kg/PVqNwE=; b=b/7leCoKIQtTX0/5/0bc+GE8ApwbVrDCjuR1EL5jNZxZkQxT2MKmMF1oYmEjcWRx8dEdwij2MyqMetXia+HsbnICqpHYuclC3nsZ5k9KzXdofW+CBA+Emuj3bEsageQNQU8gZhy875MjJM80nmSlVPtJM/k/Vs5MIXhFeVki232dAdhBxxamZF6KwakxQY+QxPJhpvzI+8SqgAv5ozqCcbY+IOzPFoQw/uV7TrR9CYUWFL4TkG6qHpCFDnVp7N4TYDg3BpW3zEvOf5Bh+MKHKPrF98z6s+CQw8w+0pFMvyqMHjQhz3bo1dqDXuNRuKGimMB+3p4oV3GEHz7Fqoa3Pg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=oracle.com; dmarc=pass action=none header.from=oracle.com; dkim=pass header.d=oracle.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.onmicrosoft.com; s=selector2-oracle-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=jXeyNGlTRbmAunmtB+f7t2lctZd22zfCP9kg/PVqNwE=; b=yM7bwa4TVbBb4ueHX/kDuwBUvOc6oLjhLjptrR4KlOz323Jk9Cuv006vQYykV+NDlc02yx7A9FMmQvbytswDjWDf6/0r2DUYFoBvNoT7Ikx09EV5BpiSb/AF8cOTtUjBLkYi4RTcT8C7+ajQ/fuobrvkPzMysYrn2DoJNjCAYYM= Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com (2603:10b6:806:11b::15) by SN6PR10MB2432.namprd10.prod.outlook.com (2603:10b6:805:46::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4195.20; Sat, 5 Jun 2021 20:17:34 +0000 Original-Received: from SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494]) by SA2PR10MB4474.namprd10.prod.outlook.com ([fe80::2109:9725:fd4a:6494%6]) with mapi id 15.20.4195.027; Sat, 5 Jun 2021 20:17:34 +0000 Thread-Topic: [External] : Re: Which Elisp types are mutable? Thread-Index: AQHXWj/mBEVlQN6nmUCqfx3JupQY4asF2ZWA In-Reply-To: <8735tw9l14.fsf@mbork.pl> Accept-Language: en-US Content-Language: en-US authentication-results: mbork.pl; dkim=none (message not signed) header.d=none;mbork.pl; dmarc=none action=none header.from=oracle.com; x-originating-ip: [73.170.83.28] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 637a392e-dab2-4c0b-96ae-08d9285ef482 x-ms-traffictypediagnostic: SN6PR10MB2432: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: AbVOVQWX6/GUKGhFSR/PrsmgNxQxULmnggUnUXbhSPjTJY6GF1inP7fVTRLo1Cm7iS7UB0jld83dyEeYi8thUwpH+uG4cNojMJ+e5jI1VEGPqxfSKMJaHowMms625hJENoM5f+FZvQ/hdKpT+EsdcfFnEPEndSWSFJp/X/pnqsNtNsYh6olATkqoCMP0X4bcnWkOItbydwVbZRXz5pqh4n+nPTu0D1/ZRIWfUBctzSAPD4n8Ph/avLaeRv/MiRcLSYx6mNgrJT7jDVWhQQ+tAs1N1nfXtTz7KkcFBrSAgseCM0P+4gfo/snMqj+4bPmrwoNcrGH4e4WwBGKzq/RdA6UUpuG9gVzcPkfpV5MC1ltIzUwRd3vFWuKtvYePNWL1s4G+Uf6tL6OD7n3xsMyN4L6sB4+CkCO4cDmjiBXKFIoidcLwOLrvO0V0maplKW0+/GrB+5q5QSok/MX7OQSeSxgKB8Q38LSBC/SiA3kHT4ULRd9AYPu3OnssRkP/i1p27a2LGCeJl6rJ2TE1kN3lKOJJbG75W6uX63NxRfI/Ul+nER03z6A4Uxlw+FK4qaefXvtjMp/LhtlEZBqZgCpre+MtKR+5ZGcwABYSoOtWE1c= x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SA2PR10MB4474.namprd10.prod.outlook.com; PTR:; CAT:NONE; SFS:(376002)(346002)(136003)(366004)(39860400002)(396003)(33656002)(186003)(26005)(110136005)(316002)(478600001)(2906002)(4326008)(44832011)(83380400001)(52536014)(38100700002)(7696005)(122000001)(55016002)(64756008)(66446008)(66476007)(66556008)(66946007)(5660300002)(8676002)(71200400001)(9686003)(6506007)(86362001)(76116006)(4744005)(8936002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: =?us-ascii?Q?VjMuin/uV5dE4kwIS5Nf0boMdtA8QASBzWnVg9LHjHkUWYV67Dy7jdmFXp0n?= =?us-ascii?Q?IKu7yBMXOF/vvOiHJryuS7Hv2AsaATRfSccBbJKsq+fRKCPUEpBm14MlEjv6?= =?us-ascii?Q?ft468x1W7Yt+CLBkQK9NPAjtzQqpV478tXEwkB4B350RkdXUlrADJO1KZLRJ?= =?us-ascii?Q?uKLv/nxPGg4K+tGg24rnCDtLtDBhCH/nbLrEt/hcSVe4OB6+NUvBE8zgfU66?= =?us-ascii?Q?av9DGGcg3iP7gS+RSf4CISw1lRqCW9Js6qGaOUoBax9jfCVQTqUk1lg2TtPG?= =?us-ascii?Q?NufwKrg08K8VSWVSg3fUGo7xsCg+pwIKrqNSuKnbUOgselXrL98pjPaicqPU?= =?us-ascii?Q?FUOZqN3aB81qglpl0Cp6+fKTtfl+uHn3x+ozdT/iYROA2GFhKKeR+iisoewG?= =?us-ascii?Q?Up9B+k3Ztog+LyYMplaxPYePbRd46mKWBjTwdhi/1A3ybB5YS3TaM2IETc1n?= =?us-ascii?Q?y+Png2i/02GC4gKD29QAfSvOyRtXMP0Ol53sQiJCkqPkTMH111kVthp+Ek1h?= =?us-ascii?Q?uH9v1eHVThX5U9orboohg9dej6ySC+noRo0dGNOKzDrDUCr4+SK8t4Rm0irp?= =?us-ascii?Q?aSFZxrA+cB+SBIlsyoH0mU2EfcyDytmIIcbFrdb/Oc1xfu5s+R516+zwTdPs?= =?us-ascii?Q?fcBB x-ms-exchange-transport-forked: True X-OriginatorOrg: oracle.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SA2PR10MB4474.namprd10.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 637a392e-dab2-4c0b-96ae-08d9285ef482 X-MS-Exchange-CrossTenant-originalarrivaltime: 05 Jun 2021 20:17:34.2756 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 4e2c6054-71cb-48f1-bd6c-3a9705aca71b X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: qiwzgJoslo4CDuLqjj7M2aHNyB/Z6ZpnhMnyUshVXMflon02frpVZ7mtwoHh+DXP0heJKmQYmyoQ0JCOqWxb2A== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN6PR10MB2432 X-Proofpoint-Virus-Version: vendor=nai engine=6200 definitions=10006 signatures=668682 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 adultscore=0 mlxlogscore=999 malwarescore=0 suspectscore=0 phishscore=0 bulkscore=0 mlxscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2104190000 definitions=main-2106050148 X-Proofpoint-ORIG-GUID: WQ_RUUn5Q5GkxIaIquHcLJ5CFfC9Bw3q X-Proofpoint-GUID: WQ_RUUn5Q5GkxIaIquHcLJ5CFfC9Bw3q Received-SPF: pass client-ip=205.220.177.32; envelope-from=drew.adams@oracle.com; helo=mx0b-00069f02.pphosted.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, 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:130555 Archived-At: > > Symbols are probably a weird case terminology-wise. Here I define "mut= able > symbol" as symbol whose value and function slots can be changed (true for > most symbols except keywords). However, arguably other definitions are > possible, depending on whether you see their values and function slots as > "part of a symbol" or as something they refer to. (The manual doesn't > specify this.) >=20 > Ah, I see. For me, a symbol is one thing, and what is in its > function/value/properties cells is another. Do you say the same about a cons cell? Certainly the container is one thing and what it contains is another, in one sense. That's true of any kind of container, from a file to a defstruct. Mutability of list structure is all about changing the contents (car, cdr) of cons cells. It has no other meaning. Lisp symbols are a kind of object. They have attributes, including name, value (as a variable), function definition, and an unlimited slew of other attributes: their `symbol-properties'.