From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Po Lu Newsgroups: gmane.emacs.devel Subject: Re: Emacs design and architecture. How about copy-on-write? Date: Thu, 21 Sep 2023 21:12:20 +0800 Message-ID: <87v8c3pt57.fsf@yahoo.com> References: <83cyyfe5l8.fsf@gnu.org> <8734zbyu6o.fsf@dataswamp.org> <835y46e8o9.fsf@gnu.org> <87zg1ixvnc.fsf@dataswamp.org> <87il86nxts.fsf@localhost> <87o7hyx8h2.fsf@dataswamp.org> <87o7hx88ry.fsf@localhost> <87a5thta90.fsf@yahoo.com> <87led1865h.fsf@localhost> <875y45t7yo.fsf@yahoo.com> <874jjprmq2.fsf@yahoo.com> <83a5tgc03s.fsf@gnu.org> <87zg1gqr8q.fsf@yahoo.com> <83msxg9eb9.fsf@gnu.org> <87msxgq8rn.fsf@yahoo.com> <83jzsk9c5l.fsf@gnu.org> <87msxf2abp.fsf@localhost> <83h6nnalu5.fsf@gnu.org> <87y1gzzvec.fsf@localhost> <838r8zadls.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5979"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Ihor Radchenko , emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Sep 21 15:13:22 2023 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 1qjJUg-0001Jq-1E for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Sep 2023 15:13:22 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjJUJ-0007b4-47; Thu, 21 Sep 2023 09:12:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qjJTy-0007Qg-CA for emacs-devel@gnu.org; Thu, 21 Sep 2023 09:12:45 -0400 Original-Received: from sonic304-21.consmr.mail.ne1.yahoo.com ([66.163.191.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjJTt-0007IS-Sl for emacs-devel@gnu.org; Thu, 21 Sep 2023 09:12:36 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695301951; bh=8THtlZ9fQxfV25sZMfMs3L1CTZB8qz1Fl1SuQGFFAXw=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=cRbKOeZpO5R1HV/YYDeuEOgAiXralQbamSKDZQOnqAu5Myu4mB2Bdornuv2pLwA0bmhPs2A4zzi4ApBLpDds00WV6b49BjgMFJ4wJE0cX1K4X2yq6l7rP+Seoy6aBIbNh187l4SDp/7GcYbY0Ii1heDTDdgN5KQyQfNM4xDxuJLwhPtngmvw1ZNLD1vbgTkSCdfdpyQUnh3nhVIFUHaNJ+3D942x7iMW9hwElovbYODoFqR23BdajRei+wsBS4Ch0kaZHhsvo862Zcfr5Tyq8Sl/ISLRM1yHUNa4ZG6EIcWI2DeQFg3QvdiRqtBb1ifBKJ5Y+vpNqhEW0WcyyGwdTA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695301951; bh=r3v1b1eWfM7agnwYds2H1jzEDG72PQBAnb7xW7ls4Zp=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=ek43ZUtJw0zRqKG4RG9wGaU4olBI6DMbT8IkN26Gg4p2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EE3xH83JhBRSPCnYx3GFeAkmYrxTRuMnwbRx9HUI7rr4lGBm2iMLZ7XWniB rCDStiX4AwALhZOQZQGot903vqdweDCwBJmNz_gMTi X-Sonic-MF: X-Sonic-ID: e61b44dc-0c37-434a-af33-af9fd99d92fb Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Thu, 21 Sep 2023 13:12:31 +0000 Original-Received: by hermes--production-sg3-55c667b499-wx5qv (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 2d25da2fc244d9a967ffadf3ca63b333; Thu, 21 Sep 2023 13:12:27 +0000 (UTC) In-Reply-To: <838r8zadls.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Sep 2023 15:57:03 +0300") X-Mailer: WebService/1.1.21797 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.yahoo Received-SPF: pass client-ip=66.163.191.147; envelope-from=luangruo@yahoo.com; helo=sonic304-21.consmr.mail.ne1.yahoo.com 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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: 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:310897 Archived-At: Eli Zaretskii writes: > So if a thread changes a global variables, other threads will never > notice? That's not what Emacs Lisp programs expect. No, only if a thread specbinds a global variable.