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: Mon, 17 Oct 2022 20:59:05 +0300 Message-ID: <83k04y1gd2.fsf@gnu.org> References: <83czb1jrm3.fsf@gnu.org> <878rlo7on0.fsf@thornhill.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18563"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, theo@thornhill.no, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 17 20:03:14 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 1okUSH-0004eC-Fl for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Oct 2022 20:03:13 +0200 Original-Received: from localhost ([::1]:50994 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1okUSF-0004h8-Tk for ged-emacs-devel@m.gmane-mx.org; Mon, 17 Oct 2022 14:03:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38976) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okUOU-00027j-LB for emacs-devel@gnu.org; Mon, 17 Oct 2022 13:59:23 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49750) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1okUOT-00073h-NN; Mon, 17 Oct 2022 13:59:17 -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:Subject:In-Reply-To:To:From: Date; bh=CSjIsrXrVQ3/vq8iVrik3adgEEzUhvwgVCQVwe4jkNc=; b=sSPcFC2mAgoOZIB8hgSX /BeuuSYp1t10oX0HDHzZfKaR9Lr5856dPJwQI8mV5pRS+fEo5B0qyspI9o1ge6SSs/0AsyVSvmfr3 tNce/A9QpcLfLGN8SCFpOQifii9+3IEsZtDbBrSDtTx7lyUATfGYbuesBKypr0LcxMxIY0ftBV/Ur eAz1BouAn4YJG/5I24CFDnbPkdEhQoGl0zHECOrJmSj3aM5YuISpj+yVuFXUKh+4w+ewWoJ5DbP1g wFCAy4f3gl025Sx4bvUpJDkb1TNgdb90ADc7nh8REtIUAQjhDzv3wNbSvB9nnDEjwet/LVBqBhCC8 v97vu28if1bTlw==; Original-Received: from [87.69.77.57] (port=1767 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 1okUOS-00037L-S5; Mon, 17 Oct 2022 13:59:17 -0400 In-Reply-To: (message from Alan Mackenzie on Mon, 10 Oct 2022 19:44:40 +0000) 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:297977 Archived-At: > Date: Mon, 10 Oct 2022 19:44:40 +0000 > Cc: Theodor Thornhill , Eli Zaretskii , > emacs-devel > From: Alan Mackenzie > > > I think we can use the same major mode, just skip the cc-mode > > initialization and only enable tree-sitter stuff if > > java-use-tree-sitter is true. But I want to know Alan’s thought on > > this. I included him in CC. > > Thanks! At the moment, I'm still trying to get a handle on what > tree-sitter is and can do. The idea of including lots of tree-sitter > modes in Emacs 29 came up very suddenly over the weekend. Alan, any progress in that direction? Do you have any thoughts to share? TIA