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: Tree-sitter api Date: Mon, 13 Dec 2021 14:56:39 +0200 Message-ID: <83k0g8mznc.fsf@gnu.org> References: <83r1f7hydn.fsf@gnu.org> <83lf3zdh4z.fsf@gnu.org> <8965C4A0-79D3-4D77-A6BA-D07A6C93F7FE@gmail.com> <83ilz3cs4k.fsf@gnu.org> <04D19C1A-CD64-4156-B932-1C9FEEE4EC7B@gmail.com> <83zgsebc0r.fsf@gnu.org> <1F752923-F357-4A18-B6E2-0120F1B9BD37@gmail.com> <83fsu5bzem.fsf@gnu.org> <83zgsdad5j.fsf@gnu.org> <83sfy391ni.fsf@gnu.org> <03386E3C-A975-4ECD-BF89-6AC62F751725@gmail.com> <83ilyz8xdl.fsf@gnu.org> <86czp6ukpj.fsf@stephe-leake.org> <1AEED8A5-BF5E-45E5-AE22-9B405A710F9B@gmail.com> <83czp313tf.fsf@gnu.org> <7447C582-70CB-4599-BC76-AD5687D64250@gmail.com> <784947A6-6164-4158-993B-01E881690ADF@gmail.com> <83zgrxji7q.fsf@gnu.org> <8E8D28F9-258E-490B-BF48-7EF8D6CA0817@gmail.com> <838rzgk6ll.fsf@gnu.org> 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="16289"; mail-complaints-to="usenet@ciao.gmane.io" Cc: ubolonton@gmail.com, theo@thornhill.no, cpitclaudel@gmail.com, emacs-devel@gnu.org, monnier@iro.umontreal.ca, stephen_leake@stephe-leake.org, john@yates-sheets.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 13 13:57:44 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 1mwkti-0003wm-NW for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Dec 2021 13:57:42 +0100 Original-Received: from localhost ([::1]:58340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mwktg-0003kj-FH for ged-emacs-devel@m.gmane-mx.org; Mon, 13 Dec 2021 07:57:40 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42740) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwkso-00032S-9z for emacs-devel@gnu.org; Mon, 13 Dec 2021 07:56:46 -0500 Original-Received: from [2001:470:142:3::e] (port=57772 helo=fencepost.gnu.org) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mwksn-0001hO-HG; Mon, 13 Dec 2021 07:56:45 -0500 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=AryUp3xKmviAIuo3bpuR9FICkjEHJ+6j+6E983IOolQ=; b=pUb3a/LMuNpOrwzRMfpB 6zMklPcRA8Ms0VRgSxkmV4qLwYq0WEkeevtP8KBgQlO7YZ+ZLWZistyVnXi7gxmHjFX3GA4dcxwSQ 8jWOa1latQdy1/Ro/CETT+733T49YyFQXY4gyJyZVfQznp6gcM8a1yD0lAnzd5r5FzmVt8karbMSn 8G/6Yi85KvljzyZUP+TMPTUSApBoDlesDqbJHqquZweX0coD8in7cb7fi1faAPlmatEqUY+eO1ODn jsgow4Ij1KrSMpiO0hqe66vpv0amUFLvRSNYCbm+g4yhWc9zBlZQ1/qolNtRjcEvxBK+R8KD3cRLI Qw13J+B8GEcpdA==; Original-Received: from [87.69.77.57] (port=2528 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 1mwksn-0001oT-9O; Mon, 13 Dec 2021 07:56:45 -0500 In-Reply-To: (message from Yuan Fu on Sun, 12 Dec 2021 22:54:59 -0800) 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:281842 Archived-At: > From: Yuan Fu > Date: Sun, 12 Dec 2021 22:54:59 -0800 > Cc: Stefan Monnier , > ubolonton@gmail.com, > theo@thornhill.no, > cpitclaudel@gmail.com, > emacs-devel@gnu.org, > stephen_leake@stephe-leake.org, > john@yates-sheets.org > > It’s been a while and no one provided further comments on the indent and font-lock integration of tree-sitter, so I finished the manuals for indent and font-lock integration. They are under 24.6 Font Lock Mode and 24.7 Automatic Indentation of code. Once the author of tree-sitter allow tree-sitter to change malloc implementation at runtime, tree-sitter integration will be ready. (Though I suspect that won’t come soon. The author is still actively developing tree-sitter but he didn’t reply to my request.) Would you please ping the authors and tell them that this single issue prevents us from integrating TS into Emacs? Maybe that would change their priorities. I cannot imagine that the feature we are asking is hard to implement. > As before, the code is at https://github.com/casouri/emacs on ts branch. Thanks. Perhaps people could try testing the branch and providing feedback?