From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Perry Smith Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter introduction documentation Date: Fri, 16 Dec 2022 13:08:45 -0600 Message-ID: <93595C69-560B-45BA-915C-BA74A9BBA712@easesoftware.com> References: <83edszjslp.fsf@gnu.org> <83v8mbi7b9.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.200.110.1.12\)) Content-Type: multipart/signed; boundary="Apple-Mail=_74074FB3-2737-48A4-8798-43580163AD95"; protocol="application/pgp-signature"; micalg=pgp-sha256 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5300"; 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 Fri Dec 16 20:18:06 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 1p6GDd-000176-3U for ged-emacs-devel@m.gmane-mx.org; Fri, 16 Dec 2022 20:18:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6G57-0006Bn-BO; Fri, 16 Dec 2022 14:09:18 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6G4x-0006BZ-H2 for emacs-devel@gnu.org; Fri, 16 Dec 2022 14:09:07 -0500 Original-Received: from dog.elm.relay.mailchannels.net ([23.83.212.48]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6G4u-0006ce-0Y; Fri, 16 Dec 2022 14:09:06 -0500 X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com Original-Received: from relay.mailchannels.net (localhost [127.0.0.1]) by relay.mailchannels.net (Postfix) with ESMTP id 2995B2021FA; Fri, 16 Dec 2022 19:08:59 +0000 (UTC) Original-Received: from mi3-ss4.a2hosting.com (unknown [127.0.0.6]) (Authenticated sender: a2hosting) by relay.mailchannels.net (Postfix) with ESMTPA id 42CEF201FF2; Fri, 16 Dec 2022 19:08:58 +0000 (UTC) ARC-Seal: i=1; s=arc-2022; d=mailchannels.net; t=1671217738; a=rsa-sha256; cv=none; b=7Q32od3uKBjxFCR99lGSoGleEBCj3V+BW1DpKCXe9XX9knAKNgBcQ6E6LRNUDnlaPPMQOS ThwDjjomBU5X/hjAoeTTYegKLXrUBHM0E0rZNE8hMO3ycaA82v9I36ReUSnO/XMkWzNVgv EXseVaV6YUOz3eT2VIEeCwAjM8RxCsbaB4f4XoK+WNcKRW+tjKz8+pb7u3uB7mNwbHyNVA UgfLOXr+KqQ2hYlXxacHUDv5Top5ICvXSJ7abkKzRb5tsPB/dyraDkqKr1CFmSw49X4cDE v8XQPfx/iyIDXFU6ceKchWlQ+sbYfvOhvWtpHRklRSn7kNpmTYCLSUi7RTFOHg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=mailchannels.net; s=arc-2022; t=1671217738; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references:dkim-signature; bh=4b/dclgPiHHvtmnZueNxEvTyBlkp0pJ7E0Lpn6MPFOA=; b=bu2YgViOiI6db9OKYQGN7uSWksuQVTYzcQdKLrRedV/cPZ/5MtVchV5n6/pZMGvUXW7mYV 8ggTYGX5+OXdByp4NqXEdkxeWYILimyhe6VkqPUIGnCp95CddYLK89atooCbw3vsZ3a8LM h01yj6ja1mzjG06DG+mVowCTj6xmqYh3aYQXr2AuNF91Y19PTTkI7xsieDbIJUIkk6cdog AV6L/Dage9gBjpdv90ECIDaMIzFc7ZB+q1Z0QvrhGwWAb8nKb5VW+eJIBZiuhkx/niMHwK m2pyPxq08lcZJETKDVyE4VCHDOHGI8RVkE9NPgTG0E2+bKJAT/TFdCuUq2laTw== ARC-Authentication-Results: i=1; rspamd-6f8d97c84c-tm5bf; auth=pass smtp.auth=a2hosting smtp.mailfrom=pedz@easesoftware.com X-Sender-Id: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MC-Relay: Neutral X-MailChannels-SenderId: a2hosting|x-authuser|pedz+easesoftware.com@mi3-ss4.a2hosting.com X-MailChannels-Auth-Id: a2hosting X-Snatch-Unite: 16115f202f4fc6cf_1671217738692_3904890798 X-MC-Loop-Signature: 1671217738692:3583960653 X-MC-Ingress-Time: 1671217738692 Original-Received: from mi3-ss4.a2hosting.com (mi3-ss4.a2hosting.com [68.66.200.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384) by 100.97.48.82 (trex/6.7.1); Fri, 16 Dec 2022 19:08:58 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=easesoftware.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To :From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=4b/dclgPiHHvtmnZueNxEvTyBlkp0pJ7E0Lpn6MPFOA=; b=XXqSjXwkAJDJPLbrxR6dOtMu/o BvRmQ95sad8ai/mMFS/sGQMrX/kTrUpZGqQv1Usd30hZznW3Jw6Et/vhm5gUig8Ep9ybVFRNWR3WW lw+G7Op6iEC9zdWNTp09mCLgoMoCxxrmaBgAbIObEEZgcgJeldas805O4vMCBoeFtrTUs8GW+nyGE zJTvly17KHLvfennvuTDjpq6fwn67F5yM4/bpuZMUihdQqVzNvitrvw2gfNu0JM67jYTWNqKTG7n/ p+ut2aF4kJh/MZadTCD8yDmsmg3+VYsNCGK1WMXAheBZxPt1AxwHU5bEGgvwjkRdgWwEcZKpuywc/ ym6Hn0Sw==; Original-Received: from cpe-70-94-128-193.satx.res.rr.com ([70.94.128.193]:59686 helo=smtpclient.apple) by mi3-ss4.a2hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.95) (envelope-from ) id 1p6G4n-0071l5-6r; Fri, 16 Dec 2022 14:08:57 -0500 In-Reply-To: <83v8mbi7b9.fsf@gnu.org> X-Mailer: Apple Mail (2.3731.200.110.1.12) X-AuthUser: pedz+easesoftware.com@mi3-ss4.a2hosting.com Received-SPF: pass client-ip=23.83.212.48; envelope-from=pedz@easesoftware.com; helo=dog.elm.relay.mailchannels.net 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:301517 Archived-At: --Apple-Mail=_74074FB3-2737-48A4-8798-43580163AD95 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 On Dec 16, 2022, at 11:31, Eli Zaretskii wrote: >=20 >> From: Perry Smith >> Date: Fri, 16 Dec 2022 11:23:05 -0600 >> Cc: emacs-devel@gnu.org >>=20 >>> My main problem is where to put this stuff. >>=20 >> There are tree sitter Info pages in the ELisp topic but I would add = some to Emacs topic as well. Perhaps under >> Advanced Features >> Tree Sitter >> Setup and Getting Started >> Font lock =E2=80=94 describe the =E2=80=9Cfeatures=E2=80=9D = concept, treesit-font-lock-level and = treesit-font-lock-recompute-features >>=20 >> The other topics seem more appropriate in ELisp which already exist. >=20 > This is not relevant to ELisp, so the ELisp Reference manual is not an > appropriate place for this stuff. We might be talking about two different things. In admin/notes/tree-sitter/html-manual are 10 html documents. For example one is titled "Accessing Node Information". All of those come from nodes within the ELisp Info doc. e.g. = https://git.savannah.gnu.org/cgit/emacs.git/tree/doc/lispref/parsing.texi#= n875 That seems like the right place for those nodes since they are rather low level. The higher level user interface concepts I would think would need to be in the Emacs Info tree as I suggested. Perry --Apple-Mail=_74074FB3-2737-48A4-8798-43580163AD95 Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE5yOa/gCtQpb3oCpljxzk9yzE+MAFAmOcwj0ACgkQjxzk9yzE +MATkxAAzcbk3DGR2obh4duJljzKfpx/c6z3Ee8O0PdEgDAtFt+6CgqzQkgvpwaX OFmykV+rlrhOMS2BDt4m3Fl9OmDo/GgO21ILXykLLIzoQxr8bvWR/Ogzxctag2Qa HlaDW1QFbeKqbeFC5MCCWuyPGu5oDIVRcAfSc/Vx7ZXlot1Pu4hQleWJQ+ZANvur tG/O4QF0gtDRpue6xaoUarHHQCHp7uNsjAQlJCeClVEueQljkZLZ7RbHLycxa0X6 bLTI85ZJT3UOFjHI82e7Np/hehbBE5goI/L8sEYW5o8nL5g2YueK5SkmCT/2Uw3w LrQULyokqAVhUoY/Br099oDZp6MQznCj9rHdRHknR4hBRf1A382xEC3tiFlVRB9n 9IEM3bo2bmHm/6K93ZsuZ2ZEhax/YSqApJCtcuw4+J2Iwxp3D1edjglGfTIYA7Kn C7hfYfbNG3uHt24TURgQMT2IKjotAsduaSw7Cqvav4GJA/aenYkghi+e8ZgA2LEs vKub35atqTrR5Fe7pNN8dGqeQVIcMW7Ewrod4UXC6uhqKncSXhiiA3L4NC0OeeT/ 86RLSahmVzvvD8a6iiS1USfsW21GiX97oMEE25iKrIAccwnlqkP6iRs9lLocuWMV 09AlOO7zcH/JXi5XQgE9wShZPShdfh6tWrOE2jCL37eCjrIXeeM= =TW1a -----END PGP SIGNATURE----- --Apple-Mail=_74074FB3-2737-48A4-8798-43580163AD95--