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: Just a comment about tree-sitter Date: Fri, 27 Jan 2023 17:54:06 +0100 Message-ID: <20230127165406.66d47bwk7coghngl@Ergus> References: <20230127165406.66d47bwk7coghngl.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="20048"; 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 Fri Jan 27 17:55:10 2023 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 1pLS0K-00052I-JX for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Jan 2023 17:55:08 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLRzc-0000Ru-37; Fri, 27 Jan 2023 11:54:24 -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 1pLRzZ-0000RX-NL for emacs-devel@gnu.org; Fri, 27 Jan 2023 11:54:21 -0500 Original-Received: from sonic307-2.consmr.mail.bf2.yahoo.com ([74.6.134.41]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pLRzW-000702-2L for emacs-devel@gnu.org; Fri, 27 Jan 2023 11:54:21 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=aol.com; s=a2048; t=1674838451; bh=jP/S5cmK2VV7f6KcQVISQyjFjrD31+f5SV6enHH+tU0=; h=Date:From:To:Subject:References:From:Subject:Reply-To; b=hzzyBwrppGpSXr7Xqvl2kMZN0SelrwfqRDNQYNFYF1DE2P7WDGd7jRdPWpqTpuk3Xy9mVAH0gfGnRp2IXIHzaqe3XnqO4WIBTTpcnByN1V61io7Uf3Zhs9+kbjOzpsbXV0R9+tpIvGy5Kb0ixacrkILHrkFmiDXqNnvtvdO7s/a7rPZYv0Z61hxyEB8hEjvzWvrKt32EgMXLJzJqf8IoEOkeump3Zmn1XoTAS9A3Sl4qJuk0wKMteIgWsCmLlHDw8+y0+Q1n/hUzpDDrpzou7NnzNMLWK6p8x+N3SJNOwnVHvcIMBo9QTLoTcRWY11Le9+4JqXgfLjYSM9UvLlfTJA== X-SONIC-DKIM-SIGN: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s2048; t=1674838451; bh=g+LATKe1ZzAat67us37DJEocMZNqiISoDWZ8s16vDlT=; h=X-Sonic-MF:Date:From:To:Subject:From:Subject; b=enTq9YzPCrB3PGNkGlw/JsmHF8z93GKSkpx7Jc17G5h+St4S6rili70fPRPwy61gCiXZWRBpVUpAn0HN9jRaTTjm5KPuMerY2XQpDIOqWU9ksvnL3TUtdMNtPNj9mG6WujH0WYsp7DE+ysXES+bzpjAyIQrgQzHSylZrzgOzBpAIjOcSweXHP6xPdFXe+sL/jOo++u32WaNTd2fsKP0GqR4C8ESjXshuhVUtkQNw3B0ELg2Y8rbjJfq39qIJpsf4b3sEZLXxPtMS9+KMeq2QCi4IswgEhW0V5nkUV9gSF64lcsejvBxCeJhknHqkwQ0SnvZHN18BRGQH0zYZtN36Zw== X-YMail-OSG: QTJVfEIVM1kVVfiK8i8pXtiqJbzPVH0MEu4JroK4W3cUfPQSij7_XGRw56LsL5Y gaGrit7_mSjSAhobqJJp0qihfIlNBtsfkX4Q4RuZyOBfe7w4bMIo1UvnPjsKrYnWIgf3XmQoFID1 43gdhSQ6rEgwWe2P9dSz1GSC6WZZm8uM4A8QORg7kKRFzR2ce4AfLzV236BHtzOuKL3M81cdwodm 75vQjbXODjAyS7DW1RfYJctrZIwA1AlRDGAgQ2fIepXQRxJ7ObNHPSK1pMRT8xQvEXxHeopluxdS R1IYCj_0qT30z9vzeqn6LZE923McAD4q33jM0ZN6yKHwGI1C8LogDdCZnkwelMa6K58RchkpR6fD 1Lux_SouFH6ne6fANsU1_67P6q9cQQOfS6shua4rgMsIvJApj2GtkwF.fkuSB5.cDr_gSHp.j4Sd FEFcBYWCLb1qFCEEXU4kuh0EzrLDEj0hvK1zOSTDl71GNM7PGImKqN1l_ph4B6lYJErQavFzchnA O6OVG8iyZ7ICifl6pb95wghunXww7tTBvGqHGBJNdFNRqXT57hbt0J2aaCPYdU1Cjf2xEtA.W7AU U_GHZ.P0zV1ft14RASHiU9Dxh78qScOSOauhDSzUAKq7nhn68ioV.RR9XIrPvoxB.qg4aeqI8fgc mu7yTELICc4up8sRDqwH.su1Ft8TFI4LC3qGuffYZkP9vPPeSVfkw.5qJ34q14dHbw7RuzOVlUQ7 6GS39Lp3Z7a06Z9y5IwArB.ZlSj1jhYcUxOWqz3JP6kEKf1COtj.VmImaqhqsBzRZ4JNWDptFte5 0l6C02q1a.pRVC9li9.LEF11akZB9ksrrQ_B55lAFd X-Sonic-MF: Original-Received: from sonic.gate.mail.ne1.yahoo.com by sonic307.consmr.mail.bf2.yahoo.com with HTTP; Fri, 27 Jan 2023 16:54:11 +0000 Original-Received: by hermes--production-ir2-65c64dfd66-qc44z (Yahoo Inc. Hermes SMTP Server) with ESMTPA ID 78f362ced222fed5733922b61be1fcc6; Fri, 27 Jan 2023 16:54:08 +0000 (UTC) Content-Disposition: inline X-Mailer: WebService/1.1.21123 mail.backend.jedi.jws.acl:role.jedi.acl.token.atz.jws.hermes.aol Received-SPF: pass client-ip=74.6.134.41; envelope-from=spacibba@aol.com; helo=sonic307-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:302687 Archived-At: Hi: This is just a comment. I just found that my emacs master branch was not compiling with tree-sitter either in ubuntu or msys. There was a problem because emacs requires version >= 0.20 in the config. But the current tree-sitter release has an issue and it is not updating the version in the tree-sitter.pc file for pkg-config properly. So pkg-config knows there is a tree-sitter, but it thinks it is version 0.6.1, too old for what emacs asks. This issue is fixed in the current tree-sitter master branch, but not in the release 0.20.7 (current). It may take some months to be out. If this has been already discussed by someone here my apologizes, but I didn't find any reference, so I decided to mention just in case anyone has the same issue. Best regards, Ergus