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: Tree-sitter api Date: Thu, 21 Apr 2022 14:10:13 +0200 Message-ID: <87wnfi1vtm.fsf@thornhill.no> References: <83pmplq9f3.fsf@gnu.org> <5B304D80-2969-4F59-9A90-412D0A284912@gmail.com> <83ilvbpsvl.fsf@gnu.org> <4A6F417A-EF74-40B6-9517-6C0947AB87A6@gmail.com> <83wnjmiork.fsf@gnu.org> <6D1CD758-2C6F-4843-9739-F2A5D5591648@gmail.com> <67183EAB-5D98-4211-B71B-4618D6266A15@gmail.com> <83lews90ft.fsf@gnu.org> <8D3019A6-83EE-42AB-ADFA-7DA6EBB179B3@gmail.com> <83r16h5npi.fsf@gnu.org> <83v8vs4rd9.fsf@gnu.org> <983C9314-B31C-4785-B075-892CDD883DA2@gmail.com> <877d858fj5.fsf@gmail.com> <5D490FCF-7727-44EE-A153-A95C5F572FC4@gmail.com> <87y1zzseaa.fsf@thornhill.no> <838rrzrnp2.fsf@gnu.org> <871qxq8y5y.fsf@gnus.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34959"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Yuan Fu , emacs-devel@gnu.org To: Lars Ingebrigtsen , Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 21 14:32:54 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 1nhVzR-0008rL-GW for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 14:32:53 +0200 Original-Received: from localhost ([::1]:58082 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhVzQ-00080k-83 for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 08:32:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41666) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhVde-0006IS-M6 for emacs-devel@gnu.org; Thu, 21 Apr 2022 08:10:26 -0400 Original-Received: from out1.migadu.com ([91.121.223.63]:56402) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhVdc-0003sa-F8; Thu, 21 Apr 2022 08:10:22 -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=1650543017; 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: in-reply-to:in-reply-to:references:references; bh=FnNLmfNDCwkCKp6ZIHNp92Mv0E/l/K7l0jdQlqW6tPg=; b=ic9/EzHjcUQ8kuqvEUTxDLp+Sm6vH5Dn5Uq5EryjKjFznEYQ7BL76SUyqaVQzRxsLwNVJW FSI6Gfo/qOJXZgJ2zFxgF3lT4E7QQNc1scnGa6g8a05azuTBfBUZHW8RReWfHYoY0u3tpl BMs9Tcwo8p3Dg+bAnejtfwurAxsQT6em3LggWHW9QzTssXJHnTlR91Rn5jAddi3aQAe5OA OtBYYqtYM4IkshLWg8tjxXjwV/mKwJ7egokiqzu6mB8PiuCrJ8NzPCUwgy+JIoctC2QfGA uwhMCZ2J4955L29+aVwz5ykXUuqvSK3Se1qUwKvDMhBDeqswvDgdKEDIJoFwag== In-Reply-To: <871qxq8y5y.fsf@gnus.org> X-Migadu-Flow: FLOW_OUT X-Migadu-Auth-User: thornhill.no Received-SPF: pass client-ip=91.121.223.63; envelope-from=theo@thornhill.no; helo=out1.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_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 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:288751 Archived-At: Lars Ingebrigtsen writes: > Eli Zaretskii writes: > >> I hope we will soon see a feature branch in the Emacs Git repository >> that people could try and provide feedback. That will move us closer >> to merging this important feature, hopefully before Emacs 29 is >> released. > > Yes, indeed. Having tree-sitter in Emacs 29 should be a priority. > Great! I've started work on using tree-sitter provided by Yuan Fu in typescript-mode, and it is working rather well. I'm struggling a little with indentation, but I'm sure it's user error. Making a feature branch for this would indeed help a _lot_ as setup right now is very finicky. I'll report back any bugs I can find while digging. All the best, Theodor