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: Thu, 20 Oct 2022 09:16:56 +0300 Message-ID: <83zgdrxbmv.fsf@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> <21B0931E-728E-4F17-8BC0-D8218BE65489@gnu.org> <87h701beqv.fsf@yahoo.com> <835ygh18w5.fsf@gnu.org> <87czan8hyn.fsf@yahoo.com> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4647"; mail-complaints-to="usenet@ciao.gmane.io" Cc: luangruo@yahoo.com, emacs-devel@gnu.org, casouri@gmail.com, acm@muc.de, theo@thornhill.no To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Oct 20 08:23:36 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 1olOxs-000102-Ot for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Oct 2022 08:23:36 +0200 Original-Received: from localhost ([::1]:53460 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olOxr-00068h-3J for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Oct 2022 02:23:35 -0400 Original-Received: from [::1] (port=50954 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1olOxi-0005pT-Ss for ged-emacs-devel@m.gmane-mx.org; Thu, 20 Oct 2022 02:23:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44462) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olOrW-0003ab-VD for emacs-devel@gnu.org; Thu, 20 Oct 2022 02:17:03 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:38386) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olOrV-0001RF-TB; Thu, 20 Oct 2022 02:17:01 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=ejExKDAQZ29mg7rsFFGvI5XkSPYoaoS8UQLzy85kkSY=; b=mjUWoylqI7Eb TFxjaXaEXWCFgPqY2c3KoIU8IMVI+TiWRKJc2RjLLx1UrnuswpE1pnMt+xe+tcLHd3aBeBeobwM1r YhTHgGzWziaUbsmsB8I6UsZMEnW6Wn63Af1VsOXNZISJDN9/XcAuQ5M5qiE49pz9hfuhitVcXcaam TqpBVSr7Mi8fNlIYlwvCGNYQiuH0BBzVp+yPyFv4+MNys0Iinp4WIY07TLpcLPtDzEmjZ1JrDkMUR u+8zTHy1FRd508t1+9vDTgRQuksMcF0xH8sbaGyI6eHNlSOLFibks+W1CLGW5d+Ace1ks7wxM7TGz Qgn+QYCHxe12UMMzEtHN0A==; Original-Received: from [87.69.77.57] (port=4811 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1olOrU-0008G8-R7; Thu, 20 Oct 2022 02:17:01 -0400 In-Reply-To: (message from Stefan Monnier on Wed, 19 Oct 2022 21:15:00 -0400) 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:298138 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , emacs-devel@gnu.org, casouri@gmail.com, > acm@muc.de, theo@thornhill.no > Date: Wed, 19 Oct 2022 21:15:00 -0400 > > > Trust me, I have my own bad experiences with CC Mode fontification. See > > the slew of bugs I found and reported with Emacs 29's CC Mode just this > > week: bug#58537, bug#58534, bug#58539. My problem is the blanket > > dismissal of what CC Mode actually gets right that seems to be > > alarmingly prevalent around here ("... in Emacs 30, let's get rid of CC > > Mode!") > > Some people seem very optimistic about what tree-sitter will bring, yes. > I think our track record should be enough to reassure users that we > won't just throw away CC-mode if tree-sitter doesn't prove to be > a worthy replacement *and* that it won't be thrown away any time soon > even if tree-sitter is much better. No one seriously proposed getting rid of what CC Mode does now in the areas of fontification and indentation. What's currently on the table is to provide optional behavior based on tree-sitter, and let users try that and us collect feedback and decide how to develop Emacs in these areas in the future. I hope we will be able to start that in Emacs 29. > So, let's all take a deep breath and just wait to see how things play > out before we make any assumption or decision. No such assumptions or decisions are expected any time soon, so everyone can stop holding their breath and start breathing again.