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: An anonymous IRC user's opinion Date: Sun, 03 Nov 2024 08:37:07 +0200 Message-ID: <86ses8x1po.fsf@gnu.org> References: <87plodsjsd.fsf@web.de> <865xq14dwp.fsf@gnu.org> <343c4d04-af53-4da2-9d1c-c616c74821e1@gutov.dev> <86plo8369c.fsf@gnu.org> <63edeeea-1f24-4d3b-abc8-b96b164942e4@gutov.dev> <8634l1zsej.fsf@gnu.org> <9a8b97f8-def3-43ce-b71b-1f09bb05afd4@gutov.dev> <86cyk4vcld.fsf@gnu.org> <86ttdgthg2.fsf@gnu.org> <86ed4kt2ws.fsf@gnu.org> <8e30fb5c-8e1b-4f73-98eb-50c5c396efb0@gutov.dev> <86ldyqsrax.fsf@gnu.org> <10864c02-4bfd-41c3-bb45-6fe1155f9676@gutov.dev> <867ca9shcw.fsf@gnu.org> <7cb15f5c-efd0-4516-8190-a53c0d958eb6@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="11299"; mail-complaints-to="usenet@ciao.gmane.io" Cc: johan.myreen@gmail.com, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Nov 03 07:38:05 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 1t7UFR-0002nS-DI for ged-emacs-devel@m.gmane-mx.org; Sun, 03 Nov 2024 07:38:05 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t7UEb-0008By-Au; Sun, 03 Nov 2024 01:37:13 -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 1t7UEZ-0008Bh-3C for emacs-devel@gnu.org; Sun, 03 Nov 2024 01:37:11 -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 1t7UEX-0001u1-VL; Sun, 03 Nov 2024 01:37:10 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=rZ6BXIkBOtu6ZjmmXdJ09OGbdzOAF1TLyZ56rVkzOHo=; b=CboRjQ6KCdAJ q7t5dLiLcH4WDZffnXRRfAXy/QFvgHXLPLLrld3zisOCHo+ec4vyXp/MkVcV0NzyM9e8jO4xIB114 ilJA7KZC8sUjMY8bx05Y4Sre9AqD4NGuIrOoS1+lBTCoX2MBIK10U/sSYe2bJdF+42FaL0ddr2Gcg S4OqO5XmPj81JAu4YY9duZD03TgRnqgp2pFEJBxT09+XcDli22qlCQ0x0RKiSJHRQFvR1LM1H3CQN 8lcXudXhYgRuM+gRrVqjD0vIwQ7xHuH3q23btwghtJ+kEJ6otuDVxBLm0dkrbfiV4cUdcf+oA9uQL Qzaw004mYcgcInkN/P3zUw==; In-Reply-To: <7cb15f5c-efd0-4516-8190-a53c0d958eb6@gutov.dev> (message from Dmitry Gutov on Sun, 3 Nov 2024 05:10:26 +0200) 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:325046 Archived-At: > Date: Sun, 3 Nov 2024 05:10:26 +0200 > Cc: johan.myreen@gmail.com, emacs-devel@gnu.org > From: Dmitry Gutov > > I could mention the problems (most of them known), but perhaps we should > discuss a possible fix instead. > > Here's a patch along the lines described in this thread. > > Additionally, as mentioned, we could drop some modes from the default > set (removing toml-ts-mode and maybe dockerfile-ts-mode as well). Can we please talk in English, at least in addition to posting the code and hoping that it explains your ideas clearly enough? Because I really don't understand the idea. Apologies if the idea is lost in this discussion that spans many moons. Is the idea to expect the users to have all the grammar libraries installed when they use an Emacs which was built with Tree-Sitter? Because your code seems to only test the latter, or so it seems. If so, I don't think it's an idea to which I'd agree. E.g., imagine a user who installed Emacs from some distro which decided to build with Tree-Sitter, but doesn't provide all the grammar libraries we require, for whatever reasons. A minor nit: I don't see how c-ts-mode will be invoked under your proposal. What did I miss?