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: Sun, 09 Oct 2022 17:04:12 +0300 Message-ID: <8335bxjdpf.fsf@gnu.org> References: <83czb1jrm3.fsf@gnu.org> <84436B1D-3359-487F-B997-A7F56FDEA636@thornhill.no> <83bkqljih5.fsf@gnu.org> <87fsfx6ufb.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20298"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Theodor Thornhill , Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 09 16:05:12 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 1ohWvX-00052v-DL for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Oct 2022 16:05:11 +0200 Original-Received: from localhost ([::1]:53156 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohWvV-0006wy-MY for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Oct 2022 10:05:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36112) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohWuZ-0006Gn-OU for emacs-devel@gnu.org; Sun, 09 Oct 2022 10:04:11 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34410) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohWuZ-0001Ey-66; Sun, 09 Oct 2022 10:04:11 -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=ubSIBckHFZNclyky3jSHTL0VJUrc9F22QB4sDmKTcaY=; b=NHPPouWVtKI6 m4Zuofsy4GKO3QQtyYIucmZFwxdA2wmGSzN76nXIjLKgqGKiOpLbKBWjtNLBl8a5JChW+Tu33GgoT MAYuwHiIFC3pOIKzppl0wU8YIoQMCjTP55UYNT5xvAoX1rpysiOBNGGbdR+1bCZITm6ROEFQhWmAT VtoEO3+UODpgqt6X2DLIVWNxR2FmBNAlu4ZD8UxxiBLiT0xvXlmUG3CKzDUy6zA+WyS/OYb2yhbBr 7VVXKw8T74CeZp00GAwnL0Xylm/GKT9wGi2MorQiLO6ZLuCKf1ncR3/Jx0R67nf8SpqKeRejHClgT 2vh45tQl2ljbj8fwfu5yGA==; Original-Received: from [87.69.77.57] (port=2346 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 1ohWuW-0001ZZ-0M; Sun, 09 Oct 2022 10:04:10 -0400 In-Reply-To: <87fsfx6ufb.fsf@thornhill.no> (message from Theodor Thornhill on Sun, 09 Oct 2022 14:41:28 +0200) 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:297265 Archived-At: > From: Theodor Thornhill > Cc: emacs-devel@gnu.org > Date: Sun, 09 Oct 2022 14:41:28 +0200 > > Eli Zaretskii writes: > >> > shell-script-mode > >> > > >> > >> I can do js-mode. I already have made a patch before the api > >> stabilised, and am pretty familiar with the whole thing. I'll look at > >> python and go from that. > > > > Thank you very much, we'll appreciate it. > > Here you go - how does this look? There's support for font-locking, > navigation to class, methods and other stuff. It also indents just > fine, and has an implementation for which-function. Thanks. Yuan, any comments? Feel free to install when you are happy with this. > I don't think there's a need for imenu here, though that could be > implemented as well. Eglot handles imenu just fine, and my guess is > that most people will move over to that when available. Fair enough.