From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: =?utf-8?Q?Bj=C3=B6rn?= Bidar Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter maturity Date: Sun, 29 Dec 2024 17:09:32 +0200 Message-ID: <1836.0157426045$1735485007@news.gmane.org> References: <1ed88fca-788a-fe9f-b6c8-edb2f49751c9@mavit.org.uk> <67428b3d.c80a0220.2f3036.adbdSMTPIN_ADDED_BROKEN@mx.google.com> <86ldwdm7xg.fsf@gnu.org> <6765355b.c80a0220.1a6b24.3117SMTPIN_ADDED_BROKEN@mx.google.com> <00554790-CACA-4233-8846-9E091CF1F7AA@gmail.com> <86msgl2red.fsf@gnu.org> <87o710sr7y.fsf@debian-hx90.lan> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31563"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: Xiyue Deng , emacs-devel@gnu.org To: Richard Stallman Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Dec 29 16:09:59 2024 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 1tRuvW-00082T-T2 for ged-emacs-devel@m.gmane-mx.org; Sun, 29 Dec 2024 16:09:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRuvE-0007RN-9E; Sun, 29 Dec 2024 10:09:40 -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 1tRuvC-0007R1-GF for emacs-devel@gnu.org; Sun, 29 Dec 2024 10:09:38 -0500 Original-Received: from thaodan.de ([2a03:4000:4f:f15::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRuvB-0006ub-2R; Sun, 29 Dec 2024 10:09:38 -0500 Original-Received: from odin (dsl-trebng12-50dc7b-49.dhcp.inet.fi [80.220.123.49]) by thaodan.de (Postfix) with ESMTPSA id 20697D00081; Sun, 29 Dec 2024 17:09:33 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=thaodan.de; s=mail; t=1735484973; bh=40uIvftFO+jj4Wk5jLvJY5msMex4zo2NK7swJfmJZ8E=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=YgF0E3+SdbTwmtzP6uBQaX6j12R+xY2+f8MXbJrkRnQ7/VAFG6m83sZx2DSDLeq2A Ob6HH0t++c3MY2a2VipL18OvojAd6WShBFzSuq94iex4ZwZCvHkdfbYdQJ/30TUzL1 KjI+3aGy2PhTvIWVZB8YRvfDBnHzrVhGUv+bG2KfwlHbKOjEssY4GUB+mota+ZWPE+ 8loOG04oNm0ByVjF3qGuTLRWLDQbmDj9i5ZX76c1D9S4aThJy5JttheIMAWgkHNcJV dNuVIGB6ZkTwiqR2fWWR9Um6xIDrJJbAqRiBSF59h4drobhHf/H6qTXWXUOH2j/7b5 njqNKtfqO9Aq+en7lVITjtJVbJvHa/rYdQSZrCZ0hALeAiZDLOF4MT2cVoh+7YBja4 5hM/fvWjl5bDMcNhs4kPV+4Gh/ciP9w5+BXhmIByUgeQG+O5g89DiOW8oI4Q6on89Q NFklHtT4D1QGoi9pSLGSVasnW5fjSuaK53yikVjb6CTJ1XqygfvMFNWGlncPqPl3D2 XIK/epvWMkTIFnUnpDTobumauEB6toMFOhMgi05sNSPLHuFostxB5UXyIe9g7rovE5 EPwczroO5bzK4L9UK+T8Kkhh1DBZjVUrmlzCFYjgzLxuPyeJFVtRs/jW4jCMPrxEgG S7zR0mLdEOy79zM0k1zYb5RE= In-Reply-To: (Richard Stallman's message of "Wed, 25 Dec 2024 23:30:51 -0500") Autocrypt: addr=bjorn.bidar@thaodan.de; prefer-encrypt=nopreference; keydata= mDMEZNfpPhYJKwYBBAHaRw8BAQdACBEmr+0xwIIHZfIDlZmm7sa+lHHSb0g9FZrN6qE6ru60JUJq w7ZybiBCaWRhciA8Ympvcm4uYmlkYXJAdGhhb2Rhbi5kZT6IlgQTFgoAPgIbAwULCQgHAgIiAgYV CgkICwIEFgIDAQIeBwIXgBYhBFHxdut1RzAepymoq1wbdKFlHF9oBQJk1/YmAhkBAAoJEFwbdKFl HF9oB9cBAJoIIGQKXm4cpap+Flxc/EGnYl0123lcEyzuduqvlDT0AQC3OlFKm/OiqJ8IMTrzJRZ8 phFssTkSrrFXnM2jm5PYDoiTBBMWCgA7FiEEUfF263VHMB6nKairXBt0oWUcX2gFAmTX6T4CGwMF CwkIBwICIgIGFQoJCAsCBBYCAwECHgcCF4AACgkQXBt0oWUcX2hbCQEAtru7kvM8hi8zo6z9ux2h K+B5xViKuo7Z8K3IXuK5ugwA+wUfKzomzdBPhfxDsqLcEziGRxoyx0Q3ld9aermBUccHtBxCasO2 cm4gQmlkYXIgPG1lQHRoYW9kYW4uZGU+iJMEExYKADsCGwMFCwkIBwICIgIGFQoJCAsCBBYCAwEC HgcCF4AWIQRR8XbrdUcwHqcpqKtcG3ShZRxfaAUCZNf2FQAKCRBcG3ShZRxfaCzSAP4hZ7cSp0YN XYpcjHdsySh2MuBhhoPeLGXs+2kSiqBiOwD/TP8AgPEg/R+SI9GI9on7fBJJ0mp2IT8kZ2rhDOjg gA6IkwQTFgoAOxYhBFHxdut1RzAepymoq1wbdKFlH Received-SPF: pass client-ip=2a03:4000:4f:f15::1; envelope-from=bjorn.bidar@thaodan.de; helo=thaodan.de X-Spam_score_int: -14 X-Spam_score: -1.5 X-Spam_bar: - X-Spam_report: (-1.5 / 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, INVALID_MSGID=0.568, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=no 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:327345 Archived-At: Richard Stallman writes: > [[[ To any NSA and FBI agents reading my email: please consider ]]] > [[[ whether defending the US Constitution against all enemies, ]]] > [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > > Not sure whether this has been mentioned: there is a "treesit-auto"[1] > > addon on melpa that can detect missing treesitter grammars and handle > > their installation automatically. It would be great if something > > similar can be integrated into core, and if possible, grammar version > > handling and compatibility with distribution supplied grammar would be > > good to have. > > If we add something like this to Emacs, there is an issue we need to > take care about: to make carefully sure that it does not install > any nonfree grammars. I don't know how those grammars are released, > ir by whom, or how much they care about free software. We can't > take for granted that they do. Grammars are built from source (exluding the parser.c blob which I mentioned a few messages early maybe). No blob which has not been built from source is loaded into Emacs. > Perhaps we could check automatically that the grammar found is properly > licenses, and disregard any grammars that are not free. Who decides what grammar is free or not? It is not Emacs to judge to restrict user freedom. What you described is akin to Free-Software DRM.