From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ergus Newsgroups: gmane.emacs.devel Subject: Tree-sitter doc question Date: Thu, 8 Dec 2022 15:12:47 +0100 Message-ID: <20221208141247.36l2j3bxggslsykl@Ergus> References: <20221208141247.36l2j3bxggslsykl.ref@Ergus> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18580"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 08 15:14:54 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 1p3Hfp-0004d6-8Y for ged-emacs-devel@m.gmane-mx.org; Thu, 08 Dec 2022 15:14:53 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p3HeM-0008KV-2Z; Thu, 08 Dec 2022 09:13:22 -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 1p3HeD-0008JR-WD for emacs-devel@gnu.org; Thu, 08 Dec 2022 09:13:16 -0500 Original-Received: from sonic306-2.consmr.mail.bf2.yahoo.com ([74.6.132.41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p3He7-0006qL-IV for emacs-devel@gnu.org; Thu, 08 Dec 2022 09:13:11 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1670508773; bh=jXr1wPTgGo1NgbsdKB7dfQc158I9KqrfLjGrNGeMZdo=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=pORaxKKn9Byy+lfT/E9Aegl/dSyrUmwW0lxJhhOR3ivvEIRAE4kpG/Cs2RFCbKUxGwHNGw/nDncmOsg8DpuT4/3IURac+x6vaU51uLi/CYMbM3Tx+5PnK7ZVDagU7BbePm0LGi7iyox7xRANKmYOHlUeXebAvd2BQMnfn08iB8q/h18OhewfnZlFx61h+6uKQSFDLg+xVj7+L7Y+kkoexKcYv8GDwxBlRAPcf2nb0L3o/qCNdQiZp9CP8fMdeUefOZu2UCrBAr0W0/aKV2x+IrrXL3ZbIXR0HmCuoLHWstj2LBAK0q1N3Mfcoh2sZ33MdoIjdCpCUyqBOyShnzNQzg== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1670508773; bh=tgD0oVuXHRG7ihPz59jTiuJsc1ZA7ucPdRU6Zj1GNmz=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=ZFGy9WWgwJp0hYUGOWhQVt4tkyDdSmjsTrCByxezNlH62icTNQyWoOpOmqph+RlECnjj73hQMT31CulJyM4ogh+TDY4/iCv/gmy4wGCIQ5QCha1hwlM6WROTU/U82g+tWGqvAimfaZSjRBfwRcJCI9aQ03WL7Y4stPDk4pumsTiLKU91YJ1QOC7TKwPzqOUMiRDCbERWFP7TMXzW6wx8jwRr0mU+vQwsL704NqouFyoO7yqRxNSNd30Enrjw41BN5XV2qwRQUhf1ojp1qe9tvHX/RQFBnyqWCHEJyMDIrWwUWl3O0D2x9gGe6+ffzYFcm0Do1Ilmxx4ignV98nCynw== X-YMail-OSG: x_oglZ4VM1m6vn2tSi_LKou31qUtEL8XFjnxXmkdasxcGMcQc9RDfSrKG6PVYnc 98Y1nktyOPEht9nIKLyIBesOPu66IFFA8JtfaP.pBzlBdtPO_0kvuWYn7IoOkQbXWgWrBMlzipCQ DVXF9PA_NU7_k708_v1eC5Rpa32lYQDLJdEezU7C5GE0x4rk47sHJsBiy6AwzvokrU_OFi19gsZc FFzMmrLgDcamyDVOdSPSRy2QJUEyN2_L3BjY2si1JZrq9C0nYwLCnulBCrzaBV6Q.xyrJbsk494C cceUDrAXWYGOJ1_rzYDD1OX0pzecXJcZtnEfpKzn0ZNIU4ETMcOkDzIhmeDKBrMwqlY7Novrq_2k PkfQtLYGVlLQ1vjQHJ2.Me0d16Yk39UfKX1n0v_PmTavD3wg2EPmARP4CmAnpitK2PPTlAbhIV2V IIjWILiD9ETaYrS9NAvN.RNkbwQ8ca4kfEIlm.OZ_CVgWg.5WHyxnn62we80qimUTw1KpH4FQ1NS 275Wu3sLhEZdasrt9OZQvBiM80yWmpIXa7svVGIlYCcxJ4lfiEvcpzM0vvU5UkCT_NXPqPVwfcGc p2bRdM5ErB8s21x6V3zGg1rSPhk9kCDEsmMHGRi6D5RM7h0xpu9quNi9JKkhUVrQTJzGpJSKA.lR Wj6rhs1QM.TY8ewt5VYyMeM1apIoaUC59mMjaMj_YTOBR_8bOvHI0xuv7jtxWO3FgTWpMB4hJn66 mG0c8x4Qas4deXTKNyau5lxkm_jMEOTo2mx_Xnsgy3hrRS55lDCPTziWhsFsUUNnxIuCEJQKiqlu ENLU3_JjApjEeliMtXOj0IBL7laj7.28AGxH.9FZlq X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic306.consmr.mail.bf2.yahoo.com with HTTP; Thu, 8 Dec 2022 14:12:53 +0000 Original-Received: by hermes--production-ir2-5795fc58c8-rsq99 (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 7dd7d9be88940498ec915986d57aabb0; Thu, 08 Dec 2022 14:12:49 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.20926 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.132.41; envelope-from=spacibba@aol.com; helo=sonic306-2.consmr.mail.bf2.yahoo.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 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:301036 Archived-At: Hi list: Just a quick question. I see that the tree-sitter changes are already on master, but I don't find any documentation. Please could you point me where is it or how to use it? I don't know how to do very basic things like: 1) How to check if it is enabled. 2) One enabled (which I think I managed) are the colors in the text from cc-mode or tree-sitter? 3) What are the features available? May I disable cc-mode and rely on a pure tree-sitter experience only? +) Any other recommendation/comment??? Best and thanks in advance, Ergus