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 integration on feature/tree-sitter Date: Mon, 20 Jun 2022 13:03:53 -0700 Message-ID: References: <5bada349-2f43-4325-b696-70918584cd3d@email.android.com> <83mtfsuluo.fsf@gnu.org> <87sfpjhm33.fsf@thornhill.no> <83a6brufe5.fsf@gnu.org> <87pmkmhp8i.fsf@thornhill.no> <83v8ueuc7i.fsf@gnu.org> <73DE25BA-5EEF-4497-8F98-8C5F20853A61@gmail.com> <87v8uewfuq.fsf@thornhill.no> <87mtfkbt9n.fsf@thornhill.no> <1179E1EC-90EF-4989-BE1D-115498F77F60@gmail.com> <87k0ajygry.fsf@thornhill.no> <6EF70929-5759-4F1A-B878-0C1660FB6831@gmail.com> <87leuy5z46.fsf@thornhill.no> <2E68780C-9923-411E-A5DF-B1A54E2EC38B@gmail.com> <83k09fq0am.fsf@gnu.org> <38C272F6-828C-4478-9D90-326AF14D0C94@gmail.com> <83bkurpo4t.fsf@gnu.org> <2EF70C1D-CC15-4117-86F9-4A8945886D31@gmail.com> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) 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="23086"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , Theodor Thornhill , Stefan Monnier , Emacs Devel , dancol@dancol.org To: =?utf-8?Q?Daniel_Mart=C3=ADn?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 20 22:07:35 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 1o3NgK-0005lI-R3 for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jun 2022 22:07:32 +0200 Original-Received: from localhost ([::1]:46216 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o3NgJ-00020Q-CN for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jun 2022 16:07:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40724) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o3Ncs-0008TT-GX for emacs-devel@gnu.org; Mon, 20 Jun 2022 16:03:58 -0400 Original-Received: from mail-pj1-x1032.google.com ([2607:f8b0:4864:20::1032]:41030) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o3Ncq-00057f-PT; Mon, 20 Jun 2022 16:03:58 -0400 Original-Received: by mail-pj1-x1032.google.com with SMTP id g10-20020a17090a708a00b001ea8aadd42bso11296177pjk.0; Mon, 20 Jun 2022 13:03:55 -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=qj7OyywrU8Yw7MaMUOZntnP01f0Px3hpWgEl50YMzhU=; b=bhBovgsYyKFNr2CyRQQ2M183UjF2FAHibhf7fWei8aKCiGGX2aY63yIKCA3HJnsHL/ n1WUtQDq0Yrdb6HoDdQSzaBUvBYscRuOR54/0g8PL7klrfFOvKEkdZbdhBgVmGcuP35G aem6IyJ97IUcjvrAEHVlEnzQb9SC3CxVDYB05ahmSVF/mTskYpsdY8NOYWiQ9XqSO/Oi /V0IMsuaJaEaf6/T+QSufIct6SgFCk5YHKu0RU05n7pMoJaudrJlBfQQ4V6KcPQY+Fkh 2kPFlTKilsVRInZrXO0Aj2E86qwjBYMgt5veLOPpteuc2qsgJkUs8oRDdLpdmhQnhG8N dFWw== 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=qj7OyywrU8Yw7MaMUOZntnP01f0Px3hpWgEl50YMzhU=; b=wOi8tqPluGh08xG1q+Lz/6KluLJl3zbX8MkbGvE0VndLLIPk9G76qO/fze/BfIVBJe FvZHSKl7p12zYEZGrQhadBIwbNGnpApme1kvfSuhk0wPoDouwWgBr9F3kd8YSZHxFUxs iE4eshx54M783tL+sSfxk0GZ8FyMwFXXi+Eg5g/VHJPLXge15NH8V0YO3nssHxZO0RGn IvEiGGQhq69wj+ZnLlaJZ7M4UcoQu/bIm+aikeIoqMUzb5Epoevl2MfPK/EijBxX4BjS vFsev6TGYrk5muVzYFAMoN9iHJi6yU8dFpxN2pXkjWcQprsCFewwGXDSKtxCUj2jX6mX wwXw== X-Gm-Message-State: AJIora8mmRpBKeTyvOiIGV2CgE6xS6HRmwHlimiEbSousmdkyLaVB1gl 6xAmljyH5eVSmzjIjeZKuaawBn0mXq0= X-Google-Smtp-Source: AGRyM1vCF1n28sp40PMf+q8lvQTpbfaBQzTb9Q6cnZxd6fGPUlyjRqiGtOM/yH4/eGeerTq3UcZKOg== X-Received: by 2002:a17:90a:dc82:b0:1ea:c77d:c9a4 with SMTP id j2-20020a17090adc8200b001eac77dc9a4mr38311111pjv.197.1655755434998; Mon, 20 Jun 2022 13:03:54 -0700 (PDT) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:148c:4bd5:3b97:915d]) by smtp.gmail.com with ESMTPSA id j3-20020a170903024300b0016378bfeb90sm9102466plh.227.2022.06.20.13.03.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 20 Jun 2022 13:03:54 -0700 (PDT) In-Reply-To: X-Mailer: Apple Mail (2.3696.100.31) Received-SPF: pass client-ip=2607:f8b0:4864:20::1032; envelope-from=casouri@gmail.com; helo=mail-pj1-x1032.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:291473 Archived-At: > On Jun 20, 2022, at 7:20 AM, Daniel Mart=C3=ADn = wrote: >=20 > Yuan Fu writes: >=20 >>>=20 >>>> [1]: = https://archive.casouri.cat/note/2021/emacs-tree-sitter/index.html >>>=20 >>> This seems to indicate we should provide more higher-level features = to >>> make use of tree-sitter related features easier. The instruction >>> there sound like a typical user will need to do a lot before he/she >>> can see any practical benefit from this build. >>>=20 >>> Maybe updating it will solve some of that. >>=20 >> I think tree-sitter needs other people to use it to write interesting >> things to be useful for end users. Before someone adapt some major >> modes with tree-sitter and push to feature/tree-sitter, this build >> would probably remain uninteresting to end users. >>=20 >=20 > I suggest "advertising" the branch in other Emacs communities like > Reddit, etc. I know there's people that have already created major > modes that use the currently available Tree-Sitter integration as an > Emacs module. They can provide good feedback about what's expected = from > the API, or people might "port" the modes to use the Core Tree-Sitter > API. Good idea! I had done it last September where I advertised that article = I linked on reddit. I=E2=80=99m planning to update that article and = advertise again soon. Yuan