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 Date: Mon, 18 Sep 2023 19:12:00 +0800 Message-ID: <87v8c7wxa7.fsf@yahoo.com> References: <83a5tokmsv.fsf@gnu.org> <83sf7fki5g.fsf@gnu.org> <43d642a8-d1b4-05ed-41e0-6e52d22df2d4@gutov.dev> <83edizjn0v.fsf@gnu.org> <0518f65b-1dd1-6923-8497-da4d3aeac631@gutov.dev> <1cff05f8-df80-b776-5175-dd27a6e59799@gutov.dev> <87wmwqiax9.fsf@whxvd.name> <87a5tmz319.fsf@yahoo.com> <699f1578-6174-fd89-de67-c226d7412235@gutov.dev> <87wmwpxpto.fsf@yahoo.com> <7bc7579d-748a-8676-66b7-cf657015260d@gutov.dev> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2310"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Immanuel Litzroth , Sebastian Miele , Gerd =?utf-8?Q?M=C3=B6llmann?= , Eli Zaretskii , yuri.v.khan@gmail.com, owinebar@gmail.com, rms@gnu.org, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Sep 18 13:13:04 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 1qiCBc-0000Pl-EF for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Sep 2023 13:13:04 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qiCAs-0000t7-Qf; Mon, 18 Sep 2023 07:12:18 -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 1qiCAq-0000sg-Go for emacs-devel@gnu.org; Mon, 18 Sep 2023 07:12:16 -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 1qiCAn-00054V-Jf for emacs-devel@gnu.org; Mon, 18 Sep 2023 07:12:16 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695035531; bh=d7l8vId+5ESozEETCpFfJEJJiHj29O6QOBKN0Y9cC+s=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=OZBoDpM4rpf5ZFRNMB+h4Ql19R9GYKf4ApN7rC/mZUEL+ZwddbaqLKqhRK4Il7WxO8eg4jMw4LuY1VwV/cRRoBgDKn4IdQ6gakH4muI9ZhM1p2JLyRIGRbB0iPGpDgo41xCqlS4TBZe/bXc/RDdrXulJ9Kr15XuPrdUHFEnzGNHtgy68yuR9zRjD5uZOy/NfZKERx6LVXIVyAdu7moMjiNmizbjfHJZX47t2gxrE+aSXADv33pMeP5y7fDrOR7nrldjWJ+tbW1vz1mwfvwMl7RwrPLjaQQ+Fda1+H/VADcZMsktGH3V7OFn4/ttHT1gnvPXPG1FivnYIymRlpWBO/g== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1695035531; bh=hc7CBGeQ18+3wlZFPeYFnVQHFhns6baBeVMSv1LqNbh=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=h3/e5eMMepeM7pfDNq/p1kT0Uqi0YjC9Ba2oBerWNLqokbUlkNSLuCXCW0VE7hbmldNqpI6qxlCkI6h43joR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9R8BVKQgS5K0fDagaUeWF.N1NG5c uGAUD5qyme6aVLyQq..sE4DpfeHd5DmBOVXYt3.mSJ X-Sonic-MF: X-Sonic-ID: b5a8c3f4-fcff-4dc1-8cf7-7f9c836d4a88 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic304.consmr.mail.ne1.yahoo.com with HTTP; Mon, 18 Sep 2023 11:12:11 +0000 Original-Received: by hermes--production-sg3-55c667b499-xh9wt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID c6c5929f508de38ce748a1b3a73ed3b0; Mon, 18 Sep 2023 11:12:08 +0000 (UTC) In-Reply-To: <7bc7579d-748a-8676-66b7-cf657015260d@gutov.dev> (Dmitry Gutov's message of "Mon, 18 Sep 2023 13:46:58 +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=unavailable 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:310693 Archived-At: Dmitry Gutov writes: > We do: just as others have noted, redisplay calls back into > Lisp. Which allows us to implement jit-lock with language-specific > logic written in Lisp. > > It has for a long time been the method by which we manage to do syntax > highlighting with adequate performance even in large files. Jit-Lock doesn't control the display process itself. It's only a facility which enables buffer text to be selectively modified _before_ it is actually displayed.