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 integration on feature/tree-sitter Date: Fri, 17 Jun 2022 09:19:45 +0300 Message-ID: <83k09fq0am.fsf@gnu.org> 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> 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="24624"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theo@thornhill.no, monnier@iro.umontreal.ca, emacs-devel@gnu.org, dancol@dancol.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Jun 17 08:30:24 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 1o25Uu-0006Ea-Kv for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Jun 2022 08:30:24 +0200 Original-Received: from localhost ([::1]:40428 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o25Ut-0002ke-1Z for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Jun 2022 02:30:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50626) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o25Km-0006yz-3l for emacs-devel@gnu.org; Fri, 17 Jun 2022 02:19:59 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:57242) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o25Kj-0006bb-60; Fri, 17 Jun 2022 02:19:54 -0400 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=9wQKrmNbt/Y+h+2Bgh6rk4QVwdTCCoczpXFzQ3PM7oA=; b=WA+SDr5SVUGXQj1TBQF9 YK0c3O0j5VAh7F59sBUB2lk0G97hna4CLVW9HssG27sJJdomO2I0XzXDTbf07LaWuBvMAGpGtUY1P 2sCnhxSM6yMIssSz4vQr+OY7Hqsgezb1Df34TV/UUJcaA7Mi42npbm0nP8qwAqG9r42DjL3R4oXSl vt7zM+J8GBT2qAluqP4xJ/KhBVexyhRb8sHG4cPLdY8tUUnG0z0mRvEsEAQa8BtCKplqj+uAsGtuQ fCx8x4GLcKXwCftpV8bI89nhcJ/UwMrxDmkGXXTWRxQ+RZv6t+bkcOgEq2JdZNtIOKariCwPfFv01 DQZLjyxT1w1iUA==; Original-Received: from [87.69.77.57] (port=3113 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 1o25Kg-0006GT-Fd; Fri, 17 Jun 2022 02:19:51 -0400 In-Reply-To: <2E68780C-9923-411E-A5DF-B1A54E2EC38B@gmail.com> (message from Yuan Fu on Thu, 16 Jun 2022 12:09:10 -0700) 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:291272 Archived-At: > From: Yuan Fu > Date: Thu, 16 Jun 2022 12:09:10 -0700 > Cc: Eli Zaretskii , > Stefan Monnier , > Emacs Devel , > Daniel Colascione > > I also added manual entries for traverse functions, please have a look ;-) I haven’t add manual for treesit-search and treesit-defun-query, etc yet. Could you perhaps post a "cookbook" like recipe for trying the branch for some programming language? I mean, what should a user do, after building the branch, to start using the features backed by tree-sitter? I presume the list should include downloading parsers (any recommendations for the relevant sites?), compiling them (or maybe there are sites with precompiled ones?), then setting some variables or data structures in Emacs or invoking some commands/modes? I think something like that will be useful for more people to try the branch, provide feedback, and facilitate making its more stable. Thanks.