From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter introduction documentation Date: Sat, 17 Dec 2022 13:00:37 +0200 Message-ID: <83359ei9be.fsf@gnu.org> References: <83edszjslp.fsf@gnu.org> <83bko3jr3o.fsf@gnu.org> <83359fjoie.fsf@gnu.org> <86cz8ivfvw.fsf@gmail.com> <83bko2ifq4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22644"; mail-complaints-to="usenet@ciao.gmane.io" Cc: theophilusx@gmail.com, emacs-devel@gnu.org To: =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Dec 17 12:01:19 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 1p6UwQ-0005iY-CF for ged-emacs-devel@m.gmane-mx.org; Sat, 17 Dec 2022 12:01:18 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p6Uvn-0002Vw-EO; Sat, 17 Dec 2022 06:00:39 -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 1p6Uvk-0002Vj-01 for emacs-devel@gnu.org; Sat, 17 Dec 2022 06:00:36 -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 1p6Uvi-0000VP-P3; Sat, 17 Dec 2022 06:00:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=s3JS6Lmviv2ofqLANRo9TWopFrRsDP/sDQc1jQYgKZU=; b=qrtBJJb5W631WE6wbZvE FQQdePM4Mk1eol6/2wfPZdpyKDRlzVoX3HE88SuUSP2E6arIHVJVXc0frlSgjx5ZKHgH3VP7dxbgO IB+2xvhEsbb81vHA41RIgKaTvhLodtZJmK1je9uOT6oHf156qzhzfEzD5pio6HHX5dfNiiSahVBd9 3JiRSaqBl6lW0OUBDbE/jMkmeUFA8Rf8INg/EI/SswlkeyaQ/NbgtA0G0Gh2HgozOJMQSkTj3vhyX peL3RFSCbnIz8Z3vI7vddq8tLXHcJZGeLndhxhovTC22T/lRuKJyfOcGtSlLhSIi9r8HKDP6um0wu BDwJMNE2wkGbUg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p6Uvf-0002EA-MB; Sat, 17 Dec 2022 06:00:34 -0500 In-Reply-To: (message from =?utf-8?B?Sm/Do28gVMOhdm9yYQ==?= on Sat, 17 Dec 2022 10:40:35 +0000) 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:301556 Archived-At: > From: João Távora > Date: Sat, 17 Dec 2022 10:40:35 +0000 > Cc: Tim Cross , emacs-devel@gnu.org > > Why can't we bundle this code with the Emacs > source distribution and build the shared objects as part of the > normal build process? For the same reason we don't do that for any other optional library that Emacs can be built with. And no other GNU project I'm aware of does something like that. So no, let's not go there. Once the distros realize Emacs uses these grammar libraries, they will get their act together and provide those libraries as packages for users to download and install. So there's no significant problem here I see that we need to solve. I'm not interested in adding this burden to what we as a project need to do. > Bundling is also one way to help us pin the grammar version, > a dependency of our major mode source code. The way it is > right now, it seems that if the upstream repository introduces > an incompatible change in the Foo grammar, our foo-ts-mode > will break. I don't think this is a real concern. People who maintain these grammar libraries are aware of the dependencies, and should not be expected to make incompatible changes.