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 17:25:07 +0800 Message-ID: <87a5tfri8c.fsf@yahoo.com> References: <877conk5ny.fsf@localhost> <83ttrreeu0.fsf@gnu.org> <87bkdzeas1.fsf@localhost> <83cyyfe5l8.fsf@gnu.org> <87led2o0nb.fsf@localhost> <83ttrqcpfb.fsf@gnu.org> <877comnv4a.fsf@localhost> <83fs3ackrq.fsf@gnu.org> <99e84ae7-b3aa-a009-5cb8-a75826343196@gutov.dev> <838r92cgxp.fsf@gnu.org> <837comcam8.fsf@gnu.org> <6946e6f0-c6ef-186c-35d4-c09935c05a07@gutov.dev> <83y1h1axtq.fsf@gnu.org> <87sf79rq5o.fsf@yahoo.com> <83fs38c2yv.fsf@gnu.org> <83o7hw9ee1.fsf@gnu.org> <87il84q845.fsf@yahoo.com> <83il849bx6.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="21283"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: dmitry@gutov.dev, yantar92@posteo.net, acm@muc.de, incal@dataswamp.org, 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 11:26:27 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 1qjFx5-0005H9-I4 for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Sep 2023 11:26:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qjFw9-00050z-TP; Thu, 21 Sep 2023 05:25:29 -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 1qjFw1-0004uO-8t for emacs-devel@gnu.org; Thu, 21 Sep 2023 05:25:21 -0400 Original-Received: from sonic307-56.consmr.mail.ne1.yahoo.com ([66.163.190.31]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qjFvz-0003D2-Gj for emacs-devel@gnu.org; Thu, 21 Sep 2023 05:25:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695288317; bh=FaSA6zQTRBWvibrrPs/Rup8tGQRBd7F90Qa3LdvsNeg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=qLJ7njf6yIJzFSud8H0zq0W+8g54QPho6wtiYBAZE+ONHvTCIP/nBzvcfJd6D+r0tvUTYs+7njw4ogGJT6z7zy2v3qdefTBbAviMx66evotsRQ6vz0TgaDrPh/ppsQK+U4ABDICa0lWQnvr+qXflmQYFPnZ/U66n32OK5W6J5951ekk6EGt3m4LKIAS1wDF9mgewg1x1bCQMkFZSvqOAmVn/PeNK/MWspbWYwBBjSaLXeHaLxVFZXvN6SSrqAWsmixImUwytsgqd1iO2KA1hXmwUc5zboG7dhn5k+Q89VwqojeZilohllD04PFObeTDRZg/sQUQQC/ilrr/Qd4tFcQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695288317; bh=Av5g1csdCL0DViUr3hNHqBwf9UgCUK3pQyJ83YaJuOU=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=RXscLnnvdl78UjnN3vGwd0/GHs/W5Dvr4BoV+MJIAjbkM5B7x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GL74vG5FlZbnF0ctXyF0T1DipmI2EPsNUmfWMYxS39gVCZksIWD6iqi M.hMkV74Sr5qyE0CB7yNmTHrKQJRJKqJjEMqfhirxk X-Sonic-MF: X-Sonic-ID: f4e6a212-66cc-4a85-9af8-fe11edd8debc Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.ne1.yahoo.com with HTTP; Thu, 21 Sep 2023 09:25:17 +0000 Original-Received: by hermes--production-sg3-55c667b499-f87gm (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID d0424b863d95a4d23f90dbd68a96b600; Thu, 21 Sep 2023 09:25:12 +0000 (UTC) In-Reply-To: <83il849bx6.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 21 Sep 2023 11:18:45 +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.190.31; envelope-from=luangruo@yahoo.com; helo=sonic307-56.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:310875 Archived-At: Eli Zaretskii writes: > Then try leaning on C-n or C-p _after_ everything is already > fontified. You will still see that Emacs sometimes cannot keep up, > especially if lines are not too short. Long lines are, at worst, infrequently encountered in source code, aren't they? And our troubles with long lines are an algorithmic impediment, which cannot be ameliorated merely by redisplaying each window on a different CPU. > You will never succeed in convincing me that our redisplay is as fast > as I'd like it to be. I've seen too many proofs to the contrary. >From my POV, we frequently encounter circumstances where GC, Font Lock, process filters or post-command-hooks precipitate difficulties keeping Emacs responsive to user input. Seldom are such problems unequivocally attributed to redisplay itself. I guess we can only agree to disagree.