From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill Newsgroups: gmane.emacs.devel Subject: Re: Call for volunteers: add tree-sitter support to major modes Date: Mon, 10 Oct 2022 20:04:00 +0200 Message-ID: <874jwb8sj3.fsf@thornhill.no> References: <83czb1jrm3.fsf@gnu.org> <84436B1D-3359-487F-B997-A7F56FDEA636@thornhill.no> <83bkqljih5.fsf@gnu.org> <87fsfx6ufb.fsf@thornhill.no> <8335bxjdpf.fsf@gnu.org> <1D07A0F1-A269-410A-9D3C-8A53113FFE2F@thornhill.no> <83sfjxhuvc.fsf@gnu.org> <87bkqk7qb0.fsf@thornhill.no> <8735bw7kwm.fsf@thornhill.no> <158F25C9-A539-4515-8D49-50A7E6252960@gmail.com> <87o7uk5f5i.fsf@thornhill.no> <87edvf8wwl.fsf@thornhill.no> <27687E8C-9E99-48BE-A4A8-A22E28C47266@gmail.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="9035"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 10 21:18:11 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 1ohyHz-00029h-CB for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Oct 2022 21:18:11 +0200 Original-Received: from localhost ([::1]:41872 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohyHy-00032a-6Q for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Oct 2022 15:18:10 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36454) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohx8I-000220-Nj for emacs-devel@gnu.org; Mon, 10 Oct 2022 14:04:12 -0400 Original-Received: from out0.migadu.com ([94.23.1.103]:41873) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohx8G-0005ck-Tp; Mon, 10 Oct 2022 14:04:06 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1665425041; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=8sGSQfXHpJzYnaItKaZ5a7XGqOyiWaEgZVzPayL2s/s=; b=mJrNvqYqD/h0t4huQOSPxZZhwzRFlcDcXEZG2vLU61+UrQPWkue+J9W5pD4pHBTc/B6z8w /3/zzVgQlPeRWzzql9WqUgnrMca7drvFDfKtlSrR0jNLyCrBAfPPZtOPRpfwYmV2B85okv uoFYhP/CfhibmDPAg/+d4ph0Nkj7/c9IdGcf1IKQguZSHTGrp5BLYNmaNBZ8hSjtpyViVK Ru3Y/ZDH/OVtX0fLixvK0xps3GreRJYBE4nBzo587TAvII1LVwHMrUJZ0GBLN8pDPPJbNG QZfHJyIoffk7tIzvvvoIOo0M/Lw0kMX2rOSsH7QW4IkCOucMjDYxBn65h0gUVg== In-Reply-To: <27687E8C-9E99-48BE-A4A8-A22E28C47266@gmail.com> X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=94.23.1.103; envelope-from=theo@thornhill.no; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:297397 Archived-At: > > Pushed. Please also see the change I made after your patch, for > beginning/end-of-defun functions I added a new function > treesit-search-forward-goto which is very handy, it should be faster, > simpler to use, and wouldn=E2=80=99t get stuck like the old approach. And= I > changed =E2=80=9Cvariable_declarator=E2=80=9D to =E2=80=9Clexical_declara= tion=E2=80=9D. > Thank you! I've been looking for that, hehe. Well, I stole that in the upcoming patch to typescript-mode.el. Thanks, Theodor