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 08:11:41 +0800 Message-ID: References: <83h6nwlmt4.fsf@gnu.org> <456d12ac-ecf4-3de4-56bb-a2440580777f@gutov.dev> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17400"; 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 02:12:59 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 1qi1so-0004Hc-NS for ged-emacs-devel@m.gmane-mx.org; Mon, 18 Sep 2023 02:12:58 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qi1s2-0004VR-4X; Sun, 17 Sep 2023 20:12:10 -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 1qi1s0-0004V9-0A for emacs-devel@gnu.org; Sun, 17 Sep 2023 20:12:08 -0400 Original-Received: from sonic316-21.consmr.mail.ne1.yahoo.com ([66.163.187.147]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qi1rx-0004hs-PP for emacs-devel@gnu.org; Sun, 17 Sep 2023 20:12:07 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694995923; bh=4Iah/duc7SSY595lilNwnOblATqY1b+fMjs1t44Tcoo=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From:Subject:Reply-To; b=Abng0hY27GyX5uyLetaoSwh1yPn73oJeRsogXrPti6Mg2QGfRUn1BvSNC1YS4CdZHBIsOhIf3kM7ACm7nBNtgdAC9gfZswUgWDCEcz4ykaws6EIPI9fs00AnXLEfuU4MgGU+BMWVHTmO9fN/cE9mLBsc7CswnZF18ulNnoE7xVA4c53BUQZqGy89m6cfDQyziQX+NkaipmJygzul2tts82bhF74OpSchGlfu2DHGWV0Aso1+MfMM5loekjQGczsq7WnrsXSzXotgYtRj3izn69b9QQizRplF6q/Fay8u82/fU9/ODG3ofclCoC21GVqBAl9O1Oc1WIq60GI1w/eWuQ== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1694995923; bh=KJ9z2XmIpkfynSl8QYcOoH5OtkRs8/1tSdxniuHQ1jG=; h=X-Sonic-MF:From:To:Subject:Date:From:Subject; b=Ul29lOt5kmemw2nqfgXazCsVECXVNluZblnRD95H+XRs3tqDXo/lzTAFGWlk64yVMS10wVcUTNgCbo20j2hFI8vafiHmd5o/ddhkJSRFeNlipHaJC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QLXCQZIgjjMV0PTeXTOHFPOFX X-Sonic-MF: X-Sonic-ID: 5e4f077c-a7df-4a9c-b5bd-1585de68dd14 Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.ne1.yahoo.com with HTTP; Mon, 18 Sep 2023 00:12:03 +0000 Original-Received: by hermes--production-sg3-55c667b499-xh9wt (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 6bad562c7e4545d392112bd9c7c0ff42; Mon, 18 Sep 2023 00:11:57 +0000 (UTC) In-Reply-To: (Dmitry Gutov's message of "Sun, 17 Sep 2023 21:51:48 +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.187.147; envelope-from=luangruo@yahoo.com; helo=sonic316-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:310683 Archived-At: Dmitry Gutov writes: > On 17/09/2023 09:43, Po Lu wrote: >> Immanuel Litzroth writes: >> >>> I don't understand this remark. When you talk about "the language >>> used >>> to implement emacs" are you talking about C or elisp? >> C, of course. >> >>> What is the LibreOffice extension language that is "almost the >>> same"? >>> Can you provide a link? >> LibreOffice is written in C++. And it is programmable, by virtue of >> its >> nature as a computer program. > > Scriptable programs have their specific challenges, so it's helpful to > look at architectures suited to that. Given that we don't "script" the Emacs display process itself, there is truly no distinction between a "scriptable" display engine and others. The MO of Emacs extension code is to modify the contents of a buffer, and let redisplay do the heavy lifting. Such an approach will fare equally irrespective of the representation used for buffer contents.