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: Make all tree-sitter modes optional Date: Thu, 16 Feb 2023 09:42:50 +0200 Message-ID: <83r0uq839h.fsf@gnu.org> References: <83o7rexe2n.fsf@gnu.org> <83h6x5xym7.fsf@gnu.org> <83h6wr6gmz.fsf@gnu.org> <868ri140sr.fsf@mail.linkov.net> <83fsc92gbz.fsf@gnu.org> <83cz6ccagy.fsf@gnu.org> <838rgzaqmj.fsf@gnu.org> <7bad77ae-a176-d49b-5115-dbadf7e6d1bc@yandex.ru> <83cz6aaeys.fsf@gnu.org> <837cwiae2c.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="7383"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dgutov@yandex.ru, acm@muc.de, juri@linkov.net, casouri@gmail.com, larsi@gnus.org, theo@thornhill.no, jostein@secure.kjonigsen.net, emacs-devel@gnu.org To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 16 08:43:42 2023 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 1pSYvd-0001lX-VF for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Feb 2023 08:43:42 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSYvC-0007o3-1v; Thu, 16 Feb 2023 02:43:14 -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 1pSYv8-0007il-EO for emacs-devel@gnu.org; Thu, 16 Feb 2023 02:43: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 1pSYv6-00033f-6p; Thu, 16 Feb 2023 02:43:08 -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=3cnzynezEQ0AFPoO2VVNkMTC1WVA9NKbHIVv/KbeHKo=; b=T6SLn6yNjenH PgpGsvCJbIpDGInqZ99eTM7mOIFihD3oIKoEQn6CVu8O4BhXr2QAdd3KrkUh9OqRGKu6ly0aYJKYL xyh6oNF7oztLuzqtCiaIMkI2aAtyfmXfVa3R9ibl+2mRItwVL6A11llJzzdCbgwUM1HTNE7nyQ02i VLczhknFOjoPBcsQB+EqkNIrNl3UXzMqTuEaOQ9oD+GL29Zp/lWRW/kAyRjDsDgSE3msgEylRQFVg ZR/fdYYMCnBCpN4+Sm55ja3yuylNcTy6UXFPxvrGSxiMKFc5bojtVfUAF3dH8uxevGpJlwW/Zh/fc rOzCChQF1dbiAoKK+y0r4w==; 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 1pSYv5-0005Fh-1J; Thu, 16 Feb 2023 02:43:07 -0500 In-Reply-To: (message from Stefan Monnier on Wed, 15 Feb 2023 16:04:23 -0500) 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:303372 Archived-At: > From: Stefan Monnier > Cc: dgutov@yandex.ru, acm@muc.de, juri@linkov.net, casouri@gmail.com, > larsi@gnus.org, theo@thornhill.no, jostein@secure.kjonigsen.net, > emacs-devel@gnu.org > Date: Wed, 15 Feb 2023 16:04:23 -0500 > > >> I really can't see the "practical consideration" that justifies > >> such a decision. > > Well, I do. And I explained this several times already in the past, > > Could you point to those explanations because I can't remember seeing > them in the long discussion(s). Sorry, no can do. I don't have the time required to look them up, what with the search of the emacs-devel archives still badly broken. > Overriding the user's `auto-mode-alist` setting when merely loading > `c-ts-mode.el` is pretty drastic in my view, so the argument in favor of > this should be very strong and clear. The argument is simplicity for the users to try these modes and turn them on in their customizations. > E.g. just `C-h o c-ts-mode RET` or `C-h o c-ts TAB` is enough to load that file. That's an existing problem that should somehow be fixed, if we consider "C-h o" a popular command used by many users (I don't consider it that, and fail to see why someone would even think about doing that).