From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Tomas Hlavaty Newsgroups: gmane.emacs.devel Subject: RE: [External] : Re: Hash consing (was: Re: sqlite3) Date: Sun, 19 Dec 2021 00:51:17 +0100 Message-ID: <878rwh4glm.fsf@logand.com> References: <87tufmjyai.fsf@gnus.org> <87lf0nr2b4.fsf@gnus.org> <87fsqvp5ae.fsf@gnus.org> <87bl1jp51y.fsf@gnus.org> <187323C2-81D0-47B6-96C8-3D721EF7C003@mit.edu> <8735mvp454.fsf@gnus.org> <87ilvn1xur.fsf@gnus.org> <87fsqqxsr9.fsf@gnus.org> <679ECACB-C458-4C9E-B26A-72E8D81E0A24@mit.edu> <87ee6afe6b.fsf_-_@yahoo.com> <57E58A64-95E7-4486-BEEC-06DC0E27DA02@gmail.com> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18013"; mail-complaints-to="usenet@ciao.gmane.io" Cc: "emacs-devel@gnu.org" To: Drew Adams , Philipp , Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 19 00:52:08 2021 Return-path: Envelope-to: ged-emacs-devel@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 1myjUm-0004VH-5b for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Dec 2021 00:52:08 +0100 Original-Received: from localhost ([::1]:45586 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1myjUk-00085T-JD for ged-emacs-devel@m.gmane-mx.org; Sat, 18 Dec 2021 18:52:06 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49824) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myjU8-0007PV-B3 for emacs-devel@gnu.org; Sat, 18 Dec 2021 18:51:28 -0500 Original-Received: from logand.com ([37.48.87.44]:38828) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1myjU2-00081d-1A for emacs-devel@gnu.org; Sat, 18 Dec 2021 18:51:23 -0500 Original-Received: by logand.com (Postfix, from userid 1001) id 0F4B119EC6A; Sun, 19 Dec 2021 00:51:19 +0100 (CET) X-Mailer: emacs 27.2 (via feedmail 11-beta-1 I) In-Reply-To: Received-SPF: pass client-ip=37.48.87.44; envelope-from=tom@logand.com; helo=logand.com X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:282344 Archived-At: On Sat 18 Dec 2021 at 16:15, Drew Adams wrote: > Sorry, but I don't understand what you're saying. > What's immutable about it? What's undefined > about using `setcar' or `rplaca' on it? > (setq x '(1 . 2)) > (setcar x 3) In general, don't do that. In Common Lisp, the consequences are undefined. In Emacs Lisp, it does not seem to be put that way, see (describe-function 'quote)