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: Sun, 19 Jun 2022 20:00:49 -0700 Message-ID: <70DEA4FC-2F93-4890-9F13-6C00D7278065@gmail.com> References: <2c2746e5f2558a87e8eab6f0914264a020173a9d.camel@pm.me> <27630AA3-8026-4E24-8852-ACCD9325B99D@gmail.com> <0E9E702B-B07C-4794-8498-29B9320E14CC@gmail.com> <83letvq0ii.fsf@gnu.org> <6EA831D3-A9C9-4346-B1E8-7748BAB285E2@gmail.com> <83czf7pocp.fsf@gnu.org> <83tu8io5i5.fsf@gnu.org> <83edzmnymo.fsf@gnu.org> <211D7584-1B0C-4A37-8ADF-08E1942BA719@gmail.com> <83zgi9mcu4.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.100.31\)) 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="12681"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Jun 20 05:02:13 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 1o37g4-00037c-Md for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Jun 2022 05:02:12 +0200 Original-Received: from localhost ([::1]:56178 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o37g3-0005Ho-9Y for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Jun 2022 23:02:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39330) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o37eo-0004Yx-Q2 for emacs-devel@gnu.org; Sun, 19 Jun 2022 23:00:56 -0400 Original-Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:33359) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o37em-0004f5-Pg; Sun, 19 Jun 2022 23:00:54 -0400 Original-Received: by mail-pg1-x52e.google.com with SMTP id z14so9119987pgh.0; Sun, 19 Jun 2022 20:00:51 -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=mM2zDYPwVJ/6t3C32YbjClGBTmoObcn8iFpl1BlWMQs=; b=YS4BOlHVVXVRcFqCLaSalHv2EGQeIHs8B6R2kxnqZh+EUHVjoKDixckS5ryJwVvq3b px2pTQdbdJvvI2YSsgUN4P41ndKPFbPenQJwYV8rVDfnOZ4PQORfntUu2HylEfw/+PVw BlpW5CdAwOL4dDnr6kG5+vw9E3eP32tG9ISKZQXmOwV++Di3GkxTJpvkrOkHaSHJti+z Xj84AJeKTJa2Y/YX++DJNgmAoKH11Cudb//RcV335OwQQRZjGJrjFwRFAZUIN16j3ler l5J1zODXzdR8EovCNmM9t1hBo91HVS/SR4DQuRyPMN2lWSIKMSXxmSB/k0oBEcZqdUu6 9E7A== 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=mM2zDYPwVJ/6t3C32YbjClGBTmoObcn8iFpl1BlWMQs=; b=qFmb2IfYTqoPKCK/27RXLHhtR9ZLhFH//RPyWL+fD6qEw7kqmkDR2lpTzdfoTx60FY TMrJPZgWjKpPMR2hXwfB5inP1hMTWQhrM1v54soq2L6srMs1n/PFKCWYhAatl/OP4xEe dgrO0zoIny7CzaEwT3uzCzgtFD4Q0l4pQMpcoAShOHyHdDzrGgEOQIWqWpoKa0yENVnV RsCOjfdftASrAgnU0+ZNZ68jIysT4rPuI27Nf0Kqk2PHrWWL/2gThONki1FI69Vqs9el lVYZzaXpCRmHXxwQyHMeX4xB11js6GJYWm+8qml3IUaG+l4rg4r9WCuoTZ/PFPR8LOeZ P48w== X-Gm-Message-State: AJIora8js3LcElyH00PLm0R/MqjFfHQa8eNRLFiWW0ktWRchdYM1MVGe 480lJg0XLYncs/7xIORcBRcIXjQ6Z5U= X-Google-Smtp-Source: AGRyM1viRcse+/R2oinPhU7gbNrS/GrbD6NGpl78vkl87imIeBOCU988fKu3dr54gCJuN6w3s3BC2A== X-Received: by 2002:a63:1408:0:b0:408:ab3d:9310 with SMTP id u8-20020a631408000000b00408ab3d9310mr20051000pgl.253.1655694050443; Sun, 19 Jun 2022 20:00:50 -0700 (PDT) Original-Received: from smtpclient.apple ([2600:1700:2ec7:8c90:99d9:ea9d:a995:fcb4]) by smtp.gmail.com with ESMTPSA id q23-20020a17090a065700b001ec9ae91e30sm1662110pje.12.2022.06.19.20.00.49 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 19 Jun 2022 20:00:50 -0700 (PDT) In-Reply-To: <83zgi9mcu4.fsf@gnu.org> X-Mailer: Apple Mail (2.3696.100.31) Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=casouri@gmail.com; helo=mail-pg1-x52e.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:291452 Archived-At: I added navigation functions like treesit-beginning/end-of-defun, and = added search functions like treesit-search-beginning/end. Now I wonder = where should I put them in the manual, do I put them under the treesit = section (Parsing Program Source), or under the relevant existing = sections in the manual? By revenant sections I mean put = treesit-beginning/end-of-defun in the same section as = beginning/end-of-defun, etc. Treesit-beginning/end-of-defun jumps to the beginning/end of the current = defun form, treesit-search-beginning searches for a query and stops at = the beginning/end of the node that matched the query. Yuan=