From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Re: Adding major or popular language modes to Emacs distribution Date: Sun, 29 Aug 2021 04:15:05 +0200 Message-ID: <02B299B7-E782-409C-8147-60EA2171B684@aol.com> References: <875yvqa3qv.fsf@ypei.me> <87czpy1nyu.fsf@posteo.net> <83sfyuozmh.fsf@gnu.org> <87o89hznqy.fsf@posteo.net> <831r6doepi.fsf@gnu.org> <87fsutzlon.fsf@posteo.net> <83wno5my3p.fsf@gnu.org> <877dg5zitl.fsf@posteo.net> <875yvpin00.fsf@gnus.org> <4393A749-A044-41AB-AB19-2EE2FB592F10@thornhill.no> <88da6bd1-77f9-8843-826e-77437f6142c2@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=----USUFX7TR6SLAL9R1BJQQZMFQOWCM84 Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16741"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , hi@ypei.me To: emacs-devel@gnu.org, Dmitry Gutov , Theodor Thornhill , Lars Ingebrigtsen , Philip Kaludercic Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Aug 29 04:16:11 2021 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 1mKAMk-000467-Sg for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Aug 2021 04:16:11 +0200 Original-Received: from localhost ([::1]:45088 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mKAMj-0004Rr-Et for ged-emacs-devel@m.gmane-mx.org; Sat, 28 Aug 2021 22:16:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46304) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mKALx-0003mF-F4 for emacs-devel@gnu.org; Sat, 28 Aug 2021 22:15:21 -0400 Original-Received: from sonic316-12.consmr.mail.bf2.yahoo.com ([74.6.130.122]:44461) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mKALt-0001Lp-V0 for emacs-devel@gnu.org; Sat, 28 Aug 2021 22:15:21 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1630203315; bh=uGKX6SHVEwX/Y+/akyv+nRHCyN2ad7DTpIhfxJcOnuU=; h=Date:From:To:CC:Subject:In-Reply-To:References:From:Subject:Reply-To; b=jo0LQSLs5hrwiriK81/xmWFd24zdkchXSur/T82ghc1bdy669/UoEER9LYuVkDAxGCYJarnMRNUorQRcbsacdJ2OPTnSBKgLEwRG4q0hCymhwL+S2aZz82tVsuv5sR77a7TMZj/tiUsIkVwHCs+WK2DaTcPBXRdV/jVFdBiGXEhAqe7kB+AbfjgWgeR+RRgV0IsDPiGnpzlc42sEWeRw9cnMPzdOy6TazI9MfFd8uHgEEaAYSuK2fFiX4GLCCSCYMum3QOqjtq6Pe63ZuIXNF63jzyyFNzOIJG5zadgbbNv/2WUKdTfw6MChQla5SSololYq9wd+ccMcsZR82PuDhg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1630203315; bh=An3sE3EVKcfbwxgIde42U8pVhMRPOBbaQC59zwXc5/4=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=XQaFg9IujEExbr0KYYxrNo1gvWCWkR68VX2I82hN4EEsmWPEh/xNGynpPgVOBhS/UK9vb1spqfuINlZGtZ3D137Wu/zLMTjzBK1gddMysW/ildnGztdLHwdA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JwNXP2RL4 X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic316.consmr.mail.bf2.yahoo.com with HTTP; Sun, 29 Aug 2021 02:15:15 +0000 Original-Received: by kubenode521.mail-prod1.omega.ir2.yahoo.com (VZM Hermes SMTP Server) with ESMTPA ID 5cd1b03bc35f1641584db0f04692bb66; Sun, 29 Aug 2021 02:15:11 +0000 (UTC) In-Reply-To: <88da6bd1-77f9-8843-826e-77437f6142c2@yandex.ru> X-Mailer: WebService/1.1.18924 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.130.122; envelope-from=spacibba@aol.com; helo=sonic316-12.consmr.mail.bf2.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, HTML_MESSAGE=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.23 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" Xref: news.gmane.io gmane.emacs.devel:273359 Archived-At: ------USUFX7TR6SLAL9R1BJQQZMFQOWCM84 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Actually, it is more scalable and optimal to invest time implementing lsp = and tree-sitteer building support because supporting more external package= s and modes one by one for languages that maybe won't be popular after some= years, so they will become unmaintained and unremovable from vanilla=2E Mo= st of the code in the programming modes (and performance penalty) is actua= lly dedicated to syntax highlight, indentation, and code navigation=2E Some= thing that tree-sitee will do better and faster in most cases=2E Then langu= age specific modes could add just some extra specific details=2E=2E=2E And = we can invest then our time improving, not implementing basic support=2E Some external packages are also very limited and there are other external = additions and plugins to make them functional=2E=2E=2E So adding more and m= ore modes for languages is worthless=2E Use a ring to rule them all please= =2E On August 28, 2021 10:40:07 PM GMT+02:00, Dmitry Gutov wrote: >On 28=2E08=2E2021 19:28, Theodor Thornhill wrote: >> Joking aside, I didn't mean to start a "why isn't my mode in core" thre= ad=2E The rules just seemed a little arbitrary=2E Also now with LSP a thing= this is more viable than ever=2E The only benefit would be one off edits w= ouldn't need a package download=2E > >Good point about LSP, but since it needs an installation from (M)ELPA=20 >anyway, the only benefit is for one-off edits that somehow don't use the= =20 >main user's setup=2E Which would seem to be a rare thing to do=2E > --=20 Sent from my Android device with K-9 Mail=2E Please excuse my brevity=2E ------USUFX7TR6SLAL9R1BJQQZMFQOWCM84 Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable Actually, it is more scalable and optimal to inves= t time implementing lsp and tree-sitteer building support because support= ing more external packages and modes one by one for languages that maybe wo= n't be popular after some years, so they will become unmaintained and unrem= ovable from vanilla=2E Most of the code in the programming modes (and perfo= rmance penalty) is actually dedicated to syntax highlight, indentation, an= d code navigation=2E Something that tree-sitee will do better and faster in= most cases=2E Then language specific modes could add just some extra speci= fic details=2E=2E=2E And we can invest then our time improving, not impleme= nting basic support=2E
Some external packages are also very limited and = there are other external additions and plugins to make them functional=2E= =2E=2E So adding more and more modes for languages is worthless=2E Use a ri= ng to rule them all please=2E

On August 2= 8, 2021 10:40:07 PM GMT+02:00, Dmitry Gutov <dgutov@yandex=2Eru> wrot= e:
On 28=2E08=2E2021 19:28, Theodor Thornh=
ill wrote:
Joking aside= , I didn't mean to start a "why isn't my mode in core" thread=2E The rules = just seemed a little arbitrary=2E Also now with LSP a thing this is more vi= able than ever=2E The only benefit would be one off edits wouldn't need a p= ackage download=2E

Good point about LSP, but since it n= eeds an installation from (M)ELPA
anyway, the only benefit is for one-o= ff edits that somehow don't use the
main user's setup=2E Which would se= em to be a rare thing to do=2E

--
Sent from= my Android device with K-9 Mail=2E Please excuse my brevity=2E
= ------USUFX7TR6SLAL9R1BJQQZMFQOWCM84--