From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Call for volunteers: add tree-sitter support to major modes Date: Tue, 18 Oct 2022 12:45:50 +0300 Message-ID: <21B0931E-728E-4F17-8BC0-D8218BE65489@gnu.org> References: <83czb1jrm3.fsf@gnu.org> <878rlo7on0.fsf@thornhill.no> <83k04y1gd2.fsf@gnu.org> <87wn8xbyr2.fsf@yahoo.com> <713135A0-FF74-43F5-969E-CECDF3C02DE6@gmail.com> <87sfjlbpw9.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10435"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: Alan Mackenzie , theo@thornhill.no To: emacs-devel@gnu.org, Po Lu , Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 18 12:02:49 2022 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 1okjQu-0002Z3-Ic for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Oct 2022 12:02:48 +0200 Original-Received: from localhost ([::1]:47920 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okjQt-0006og-FX for ged-emacs-devel@m.gmane-mx.org; Tue, 18 Oct 2022 06:02:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41624) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okjAX-0007GY-Q9 for emacs-devel@gnu.org; Tue, 18 Oct 2022 05:45:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38880) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okjAW-0006YH-IB; Tue, 18 Oct 2022 05:45:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:References:In-Reply-To:Subject:To:From: Date; bh=gxArph2B92odqs7qqV1hLooxgt3Ge7X4ZEpuyzOyLX8=; b=j7z6lSpT5HAJvS+GhNB6 xWJcWchQGdBEfWU1mN4jYJDSD7w9je9DZrSokozgnuUMFqeYlg0TmQW6HOx/ItprQ/n1pIrWJs5p2 yz9usiKET00XhozUPPM4f0OOxuGl1ESQDaaEM8dDLopGW82iChKFf+1PKZV8F1+8XnPcJZy6DZKkQ ptV69pdYvB8J8p1uR3kO21L8VtyaVm23GHjkZi8N9gJYZy6WnowMTMQQvHrbI+gceZdRXl3s9wq/e udcnNBlWq3BuSvlkZyaDeUPmgqEl7BSbnL4F1tcscGt8zPlf37dPnusMgBS2X3jVp//Ll94LL3Lqr RI68Inijul+PwQ==; Original-Received: from [2a02:14f:80:c87c::1] (port=37354 helo=[IPv6:::1]) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1okjAV-0002T8-TN; Tue, 18 Oct 2022 05:45:52 -0400 In-Reply-To: <87sfjlbpw9.fsf@yahoo.com> Autocrypt: addr=eliz@gnu.org; keydata= mQENBF+pf4UBCAC6vjkWLSAsQpe8YIGKLQzNOJx/IjGtCdFF8uzmO5jmME+SD8ROuJN+t5KXVw58 uzu75EFD0vHTY9e+udJ2gkpuy0NnzkFcbumdLLo2ERKCoSctZZRhzKXI5z5cHxCqW0B2ygHRrRLt oNlGID7bAgcgSViT1ptGqTXO7zGVu4Airok7dNzcPtHgns8GlR5YAFX0TvE6oGd0l2VPghNeVJKJ OjrbfhoDxl3ucFpqbqMH8z9HTLDOFpz8UaYYUdJMi3xX6vwTZxI2sM2RRVLUpZyllAkSMI4lln1O OgazM/62DJUs/rKIHKBnF6h3/qsJUjUYXaAHbrXY26mWllAd536lABEBAAG0I0VsaSBaYXJldHNr aWkgKGVsaXopIDxlbGl6QGdudS5vcmc+iQE4BBMBAgAiBQJfqX+FAhsDBgsJCAcDAgYVCAIJCgsE FgIDAQIeAQIXgAAKCRCRwSYvAeuNOYUQB/4/iIKKOG45ijNaRoTvmJJZMvj1S07WQxEm7c5SHEeE QbLOAxB9vESOV7sLueuN3oqEndtzyYt4x1WTSBmHFF7h5fcCMjBs41siOIp5Sj/xD0Bvaa0IKGCR SZ7PAo8Mq3wgajXpTpn9vxE2PmtzA8KdEE0K1+f9pVAfOpUIcCl44rIxLUW352XG0y7iz6c/O6LB 1deOKMiKFctKO7pBti1dJEm1ImewLH3H8uTbwspLOs3EB8xhsESxmTidnze68HX2jt+2EeMgCdki NU+LWbexQZPfIS7+ZmE06ll0v6+Jy7ZdTkCCRypKWTnW7pIFsq/p4kybV8O/kHSV6B4vvQBfuQEN BF 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" Xref: news.gmane.io gmane.emacs.devel:298026 Archived-At: On October 18, 2022 9:35:18 AM GMT+03:00, Po Lu wrot= e: > Yuan Fu writes: >=20 > > A quick side-by-side comparison of a primitive tree-sitter font-lock I > > wrote vs c-mode: >=20 > Thanks=2E Sadly, it looks like the tree-sitter fontification fares much > worse than the current CC Mode engine=2E It does? Which part(s) are "much worse" and why? The code you presented is invalid C, so I cannot see how we could pass any= objective judgment about which fontification is "correct"=2E This kind of "argument" is not useful=2E