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 15:34:52 +0800 Message-ID: <87msxgq8rn.fsf@yahoo.com> References: <83h6nrg4eg.fsf@gnu.org> <83v8c7elan.fsf@gnu.org> <877conk5ny.fsf@localhost> <83ttrreeu0.fsf@gnu.org> <87bkdzeas1.fsf@localhost> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29819"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: yantar92@posteo.net, 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 09:36:10 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 1qjEEJ-0007Rs-Up for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Sep 2023 09:36:07 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjEDZ-0004Zs-T7; Thu, 21 Sep 2023 03:35:21 -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 1qjEDP-0004Ys-CK for emacs-devel@gnu.org; Thu, 21 Sep 2023 03:35:13 -0400 Original-Received: from sonic309-22.consmr.mail.ne1.yahoo.com ([66.163.184.148]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjEDH-00060F-Q4 for emacs-devel@gnu.org; Thu, 21 Sep 2023 03:35:09 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695281701; bh=vGjRLCZy6V1ucbnQ0qFcD8G2jCEoAAFzV8Ds270yQB0=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=JLEr7MX5crT2z2ngB4mT3blixzdaRmZBitV4JnAgBh1CXCvpfGJ4S2/CtuYkmfIm86k+E7pj1DJAKAhGAqoa6SRwjlsnyWUPyMuR9sb5K+wLmM9eK5RkotviUbQdOgojVp9ydbSeqoRG/spsp+MEG5/jflXDNBDvNu02Ci/sybDavDAtUzwitHUx+iKBJvxAnix1jUAYUsrFcCS4zvLOHx4BKgsLSdK6St6IQg66pjd2Jc59NY2mJ3P8ej4WNlZdpKBAKb/06Q1dQI8iiGAF2rEV2vpWQBuM4Y2GlVnv9iRgqpHacoNcyqFhacSGP5kzKh0H837799SmyXrB8ibJFg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695281701; bh=EvZn3xMkdyTJLFMkf5Egy2X539QrQkxsuwTP2ATy6QP=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=A8R3Pu5pgR8crpH/nORDR5KsNrKqmRWqZWgz86g6IUWs0fM83w3j3CcmsqT5wAaLWajKmhF065m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CbQoOdXtOEf1_Ss3P1WGV6 9VtcC52p24iSK8vBeZ6uXJ5QNYbOpEVdM24YJy9VG. X-Sonic-MF: X-Sonic-ID: 7a57e7fb-a4e2-4e55-bea8-8a19ebe7a7b4 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic309.consmr.mail.ne1.yahoo.com with HTTP; Thu, 21 Sep 2023 07:35:01 +0000 Original-Received: by hermes--production-sg3-55c667b499-qlh2d (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 03066313787a01b240494d1f639d1604; Thu, 21 Sep 2023 07:34:59 +0000 (UTC) In-Reply-To: <83msxg9eb9.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Sep 2023 10:27:06 +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.184.148; envelope-from=luangruo@yahoo.com; helo=sonic309-22.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:310868 Archived-At: Eli Zaretskii writes: > I'm not sure I understand: what is the difference between a global > variable defined in C and a global variable defined, say, in > simple.el? The variable defined in C must be accessible by a C lvalue. Namely, (*current_thread->f_Vname_of_the_variable)