From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.devel Subject: Re: Tree-sitter maturity Date: Fri, 27 Dec 2024 10:37:31 -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> <8734i9tmze.fsf@posteo.net> <86plldwb7w.fsf@gnu.org> <86h66pw4sd.fsf@gnu.org> <86bjwxw39z.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38448"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: K-9 Mail for Android Cc: emacs-devel@gnu.org, philipk@posteo.net, rms@gnu.org, manphiz@gmail.com To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Dec 27 16:38:20 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 1tRCPr-0009qY-La for ged-emacs-devel@m.gmane-mx.org; Fri, 27 Dec 2024 16:38:20 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tRCPH-0007HZ-AN; Fri, 27 Dec 2024 10:37:43 -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 1tRCPF-0007HP-Ap for emacs-devel@gnu.org; Fri, 27 Dec 2024 10:37:41 -0500 Original-Received: from dancol.org ([2600:3c01:e000:3d8::1]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tRCPC-0003Rv-Jz; Fri, 27 Dec 2024 10:37:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:MIME-Version:Message-ID: References:In-Reply-To:Subject:CC:To:From:Date:Sender:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=b0Yg7CH+eyu6GyNz08uUaV2qp5wT2DlPPRTBBQ8JQ5c=; b=jMCfvzCcAFxcNVLid0MwZRNnUL O1fGtPlZgAwUA2VmHjExGQ1UAG0OUJDHzefZhJwpW/qlqDAY7JvcnDc8eU6iLC0+9seNGozS6nEQL Ha1fxIAa5lAviuW2eLn1G6DNfAUSqjrQ7Fr5au2u7CqYVZmrAUqVUJOZMBL3i+NltQgFfUNBhbJW5 FWC7XmBXCQxVz9K66UDaPRqvsmsuS/jqG88nSWrKCRjx3OEAZKZHR61FLYXuA7eqfr3dKiO5/UbIk 3EZyH39ueM5zDS0RqRGrpWgLZ0cvbf10B/IXfUzvndJ6fwVXEAtfmgCFOGGesux8s0rv1pFK/RfY8 Xhl/QfaQ==; Original-Received: from 2603-9001-4203-1ab2-bfce-879b-a1a8-bbea.inf6.spectrum.com ([2603:9001:4203:1ab2:bfce:879b:a1a8:bbea]:46248 helo=[IPv6:::1]) by dancol.org with esmtpsa (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256 (Exim 4.96) (envelope-from ) id 1tRCP7-0003jK-1U; Fri, 27 Dec 2024 10:37:33 -0500 In-Reply-To: <86bjwxw39z.fsf@gnu.org> Received-SPF: pass client-ip=2600:3c01:e000:3d8::1; envelope-from=dancol@dancol.org; helo=dancol.org 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, SPF_HELO_PASS=-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:327208 Archived-At: On December 27, 2024 10:31:52 AM EST, Eli Zaretskii wrote= : >> Date: Fri, 27 Dec 2024 10:05:47 -0500 >> From: Daniel Colascione >> CC: emacs-devel@gnu=2Eorg, philipk@posteo=2Enet, rms@gnu=2Eorg, manphiz= @gmail=2Ecom >>=20 >> >> Why not just vendor all the grammars with the Emacs modes that use t= hem? >> > >> >We'd need to ask their developers to agree to this=2E=20 >>=20 >> Why? They're free software=2E For copyright assignment? Seems like an e= xception would make sense here=2E > >AFAIK, that was the policy until now: we should have written agreement >by authors to include any code in Emacs=2E RMS might know more, because >he asked for that=2E > >> > Other than that, >> >I don't see how is that different from pointing to a specific version >> >of each grammar: both will be outdated a short time after we point to >> >the version or release Emacs with that version=2E >> > >> >So why do you think this is better? >>=20 >> Vendoring enables building a full featured Emacs without a network conn= ection and guarantees build reproducibility in perpetuity=2E > >Is a network connection really a serious problem nowadays? It's just another thing that can go wrong=2E And if, as discussed elsewher= e on the thread, the network fetch is of HEAD rather than some specific com= mit with a known-good hash, that's a security issue=2E There's a reason man= y organizations ptohibit network access during builds or at least require t= hat all fetched dependencies be hash-locked=2E