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, 13 Oct 2024 07:53:04 +0300 Message-ID: <86bjzovc27.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> <87ttdh82an.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="5818"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, johan.myreen@gmail.com, emacs-devel@gnu.org To: "Dr. Arne Babenhauserheide" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 13 06:53:52 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 1szqc3-0001Ol-OR for ged-emacs-devel@m.gmane-mx.org; Sun, 13 Oct 2024 06:53:51 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1szqbS-0003V9-NH; Sun, 13 Oct 2024 00:53:15 -0400 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 1szqbL-0003Ue-KT for emacs-devel@gnu.org; Sun, 13 Oct 2024 00:53:08 -0400 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 1szqbK-0000F6-Tn; Sun, 13 Oct 2024 00:53:06 -0400 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=tt7cQQxbZJm2p0PvPT+Id800yOFOl0OX0ryiyvJR22w=; b=Hwk07zc2UogH 3LlzJmyDtEfRlOte3b892ZbODR0B9qaG8o8JrZ5CxUVQ5apnJgDoPBkvuS70Zz6X2NJ+1TwaWo5rc GNFjsOa43YrwjLytV4/KoNFD5419OdsBGgPJ8MTgxzBoOGEZVrFqRpiotNntaQ59/XoL20sB46mHA FL77SmUAQHmerZyhJb/Vql+s9WAYgX2waV4EfG5aMS9QnDF38J3xjO6QMz0sQHFyzQTjRx8qXsvto aZY/3cHnjKPoemUthR/Cvl55mvwjSZZbC/Dmoltfmu9K3AN2t5VtmQKI+3OXBjnDt+Ovv3uob2Ldp TTjj/ak458wdGn4w4EbMGw==; In-Reply-To: <87ttdh82an.fsf@web.de> (arne_bab@web.de) 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:324531 Archived-At: > From: "Dr. Arne Babenhauserheide" > Cc: Eli Zaretskii , johan.myreen@gmail.com, emacs-devel@gnu.org > Date: Sat, 12 Oct 2024 23:00:16 +0200 > > Dmitry Gutov writes: > > > The proposal I'm quoting is straightforward: if Emacs is compiled with > > tree-sitter support, enable the modes and warn when the grammars are > > not available. If Emacs is not compiled with tree-sitter, do neither. > > This sounds like having external grammars is a UX problem. It is a UI problem because users could have a TS-enabled Emacs, but not grammar libraries for the language(s) he/she wants to edit. The problem in that case is how to present this situation to the user. > Are they so big that they cannot be included? They are not large, but they are written in C or C++ and are developed by their own teams in their own repositories. They are also a lot when taken together (e.g., my personal collection includes more than 70 grammar libraries, and even what we have in core needs almost 20 different libraries). So we cannot distribute them as part of Emacs source tarballs. If you are talking about what downstream Emacs distros do for packaging, that's a separate issue on which we have no control. But if a distro packages grammar libraries, it could also enable the corresponding modes in their customizations of Emacs.