From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter api Date: Wed, 20 Apr 2022 18:36:09 -0700 Message-ID: References: <9C5A86D6-0E7D-4DDF-B211-278EF9AC7E01@gmail.com> <87a6gq5mxl.fsf@gmail.com> <877dbu5mgj.fsf@gmail.com> <0BB906F7-BD3A-41CC-9783-19AA16934497@gmail.com> <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> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28596"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Lars Ingebrigtsen , Emacs developers To: Theodor Thornhill Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 21 03:37:37 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 1nhLlI-0007EQ-Ts for ged-emacs-devel@m.gmane-mx.org; Thu, 21 Apr 2022 03:37:36 +0200 Original-Received: from localhost ([::1]:40910 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nhLlH-0006pF-C1 for ged-emacs-devel@m.gmane-mx.org; Wed, 20 Apr 2022 21:37:35 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43448) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nhLjz-00061X-Ib for emacs-devel@gnu.org; Wed, 20 Apr 2022 21:36:15 -0400 Original-Received: from mail-pg1-x532.google.com ([2607:f8b0:4864:20::532]:46631) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nhLjx-0008Ba-Rk; Wed, 20 Apr 2022 21:36:15 -0400 Original-Received: by mail-pg1-x532.google.com with SMTP id q12so3323420pgj.13; Wed, 20 Apr 2022 18:36:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=TUL7KEjHibN0+VqqEI7UFdMXbqSpyGL6V1XTwZ350lU=; b=YU62mWTKf0LIcPuWqlGSWaFV76M8e+xtbr1Xje1ve8HH62tmpd/pBtpM8QUGBclqJX XzHunro/F35n/9eCc2iBPBuTR1EbdWlEj45Agjm+TDmMmuTFF10pKSf2Iev8o8FvSfkz 8njbgCa9kB6BZZZU/xWtag1m2bea11BGXjw0HhI551ZaLkWV+D/bJxVDeMlNnmmzoFbQ JuQh/E1TH4RO+51AEuXIkM8O+aXm0mkatu93/oZNK9inettuSQpVY3d0KHFhLIi2j+7O a16p8iE1IqsGh0z3rPuXsjoYAf7ch9X73alh8vO6RyJcAK+GxlUW1EJhR+cvWAwtMWZn s5gg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=TUL7KEjHibN0+VqqEI7UFdMXbqSpyGL6V1XTwZ350lU=; b=Vvkn2YcIhHt8CnVWdUmWpFTdXRFWmSn+6hZz9O555HuulI0SSaHcZSUuFTlW1xEl5H ocZoqtY0Uz2CUFFp7qiWht33RYHdEuoa/040GdUEabj5uxkUpmcbNpSmOyXxrYCr9I3v 87FRAkPVHHKMERpXYR86N9jowrqqpTQrlQhXXi3WCUsMyv253BTqD0w0WbMNWY7sQErJ 7AkM5gPPIFucDSQvp99lgv0P2GyLClpZJgbC36XtwN3WyiB8hIyrLDmoD99mgD0gdUG+ S+Wn2ZSrfQnZPUXJI2doQ1QHGEHnark4ZuDxyiD6sl2m2RpKUOj7lJO9jFDg+iX+MdcB 5vqw== X-Gm-Message-State: AOAM532afW+Ljx+6nW6/mLI4bFrgM793qVE+/uYRSYm96P+hcqOj6/OY HmamLrx4OkDa2wMKBophBD8= X-Google-Smtp-Source: ABdhPJyxiPiamSoHXqD/wE7O9yDKVwA8snofVaX/0y9XVZh85SHhTLt6pt9VN3/9rFIFoUMSF3JJ0Q== X-Received: by 2002:a63:28f:0:b0:3aa:8453:c362 with SMTP id 137-20020a63028f000000b003aa8453c362mr2106037pgc.506.1650504971132; Wed, 20 Apr 2022 18:36:11 -0700 (PDT) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:ddff:ddc1:761e:8238]) by smtp.gmail.com with ESMTPSA id em22-20020a17090b015600b001cd4989fed6sm463719pjb.34.2022.04.20.18.36.10 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 20 Apr 2022 18:36:10 -0700 (PDT) In-Reply-To: <87y1zzseaa.fsf@thornhill.no> X-Mailer: Apple Mail (2.3696.80.82.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::532; envelope-from=casouri@gmail.com; helo=mail-pg1-x532.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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:288734 Archived-At: >=20 > Sorry for losing track of the rather long email correspondence about > this package and possibly missing out on some details. >=20 > Is there anything I can do to help furthering this feature? I'm > starting work on tree sitter integration for typescript these days, = but > I'd rather like to support the emacs proper version. Let me know if > there is something I can do to help! >=20 > All the best, > Theodor Hey Theodor, I would follow this article to start playing with tree-sitter in Emacs: = https://archive.casouri.cat/note/2021/emacs-tree-sitter/index.html You can help by using it and let me know where the integration can do = better, eg, the font-lock and indentation engine might be hard to use, = etc. Yuan=