From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter maturity Date: Wed, 25 Dec 2024 23:30:51 -0500 Message-ID: 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> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22604"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Xiyue Deng Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Dec 26 05:31:39 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 1tQfX9-0005jq-Cl for ged-emacs-devel@m.gmane-mx.org; Thu, 26 Dec 2024 05:31:39 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tQfWO-0007xP-H0; Wed, 25 Dec 2024 23:30:52 -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 1tQfWN-0007xH-OP for emacs-devel@gnu.org; Wed, 25 Dec 2024 23:30:51 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tQfWN-0002FT-GS; Wed, 25 Dec 2024 23:30:51 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=/Dcd3pvsuBRq54Xfe4cbwNtzFphUq/rFwptFjVXl+3s=; b=a7RdrDhfeTL6 azFl2efzOC3vAFDV9BwjZM6eBfN/ECae/m4t12j6b6nejNGiwZZv/gY27TG7uzZrBmhcOlKXqjVTb HMH96GW7i/4lXXZfUrNw3deWlaAU7j8GqrUXuSXOBBYvNmavbqY92RmMxqbqE865+3n2HmqIqVsRu uYDPJXdGIPn6E664hpzWZ9SJu8MSHf+qbrAsWtlbD1D2bpSFCcfKMIcpKfRUu3Gqpnk4L3gYBSH8p GeOyfbJRA/yEzZEz3YeJ+wXNcCzy4545BzojKl/Kxd8WguuyQg1jKDDWz6W/54oNJ7iESBNLucafU +vdblXpIThDj3Fen0MKnDw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1tQfWN-0000ya-7F; Wed, 25 Dec 2024 23:30:51 -0500 In-Reply-To: <87o710sr7y.fsf@debian-hx90.lan> (message from Xiyue Deng on Tue, 24 Dec 2024 13:31:29 -0800) 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:327125 Archived-At: [[[ 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. Perhaps we could check automatically that the grammar found is properly licenses, and disregard any grammars that are not free. By contrast, if grammars are going to be packaged and released for distros, and chosen for installation by users, then it is the user's responsibility, not Emacs's responsibility, to reject the nonfree ones (and the GNU/Linux distro might insist on that). -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)