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: cc-mode fontification feels random Date: Sat, 12 Jun 2021 09:46:02 +0300 Message-ID: <83v96j8tsl.fsf@gnu.org> References: <83o8cge4lg.fsf@gnu.org> <62e438b5-d27f-1d3c-69c6-11fe29a76d74@dancol.org> <83fsxsdxhu.fsf@gnu.org> <83pmwudgw3.fsf@gnu.org> <20210610151647.qtt7pqbjhdtp6coe@Ergus> <20210611202130.j35q6k4utjivzuen@Ergus> <9e76076e-636d-9271-03e2-98c7614e3cf1@dancol.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40601"; mail-complaints-to="usenet@ciao.gmane.io" Cc: spacibba@aol.com, rms@gnu.org, emacs-devel@gnu.org, rudalics@gmx.at, acm@muc.de, dancol@dancol.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jun 12 08:47:16 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 1lrxQJ-000AIn-3M for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Jun 2021 08:47:15 +0200 Original-Received: from localhost ([::1]:46738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrxQH-0007ph-IR for ged-emacs-devel@m.gmane-mx.org; Sat, 12 Jun 2021 02:47:13 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:44040) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lrxPN-0006pd-Vz for emacs-devel@gnu.org; Sat, 12 Jun 2021 02:46:17 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34192) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lrxPM-0001K1-MK; Sat, 12 Jun 2021 02:46:16 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:2838 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 1lrxPF-0008SC-JK; Sat, 12 Jun 2021 02:46:09 -0400 In-Reply-To: (message from Stefan Monnier on Fri, 11 Jun 2021 16:52:37 -0400) 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:270741 Archived-At: > From: Stefan Monnier > Cc: Ergus , Alan Mackenzie , Eli Zaretskii > , rudalics@gmx.at, rms@gnu.org, emacs-devel@gnu.org > Date: Fri, 11 Jun 2021 16:52:37 -0400 > > > Another problem with stock tree-sitter is that it makes Emacs less > > self-hosting. Tree-sitter grammars are written in JavaScript. > > Yes, there are some technical disadvantages to tree-sitter, indeed. > None of them make it unusable, but they do make it less convenient for > ELisp hackers and Emacs users. So it's not a perfect solution, but > I don't think that should mean we don't want it in our toolbox. I agree that these issues shouldn't prevent us from trying to use TS, at least as an option.