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: Wed, 15 Feb 2023 22:06:35 +0200 Message-ID: <837cwiae2c.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> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24984"; 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 Wed Feb 15 21:07:48 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 1pSO4B-0006G8-C7 for ged-emacs-devel@m.gmane-mx.org; Wed, 15 Feb 2023 21:07:47 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSO3O-0005DG-Tc; Wed, 15 Feb 2023 15:06:58 -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 1pSO3N-00055t-BW for emacs-devel@gnu.org; Wed, 15 Feb 2023 15:06:57 -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 1pSO3K-0006hD-M9; Wed, 15 Feb 2023 15:06:54 -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=3SgGBELuvwyBs+TumRAYwOY6MpW1F4o0OJSPkzWsY5g=; b=o3C33fKFiZ2Z 5GjAUnk0Dj6U25cvUayEdNZX8ExjJzgfa3GP0HXQVA4u16oeV0gLzl+omCh9TftckWqrjqydK/IJU esQf8sS/63K1kTLmxl36DJfg+fIiZccNWSVY5+6VAYJw70rwIg4ydOkTYq+1QDD/7BPj1/w9xwQvp dO4xqHebftCHn1puO/glk+EIhiF0SmoVNBbcYqR5VN5/H7lK8XNxNXBkrtfKGkkOnsYXocLZCUog/ fsusuxJGFph8mNTqocfzE5ATR15C9lyZXo4R9GjLq7r+ZMknxI/mYSbvLspL+QBnpU0bJNtSe5VLW 1RI0EWRgVxOSdOgm7C1zfw==; 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 1pSO3K-0007DX-5S; Wed, 15 Feb 2023 15:06:54 -0500 In-Reply-To: (message from Stefan Monnier on Wed, 15 Feb 2023 14:53:09 -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:303342 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 14:53:09 -0500 > > > We never do -- except in this case. Practical considerations trump > > elegance, at least sometimes. > > The convention is not one of elegance but one of pragmatic concerns, > because files can get loaded unexpectedly. > > (c-ts-activate) is no harder to write than (require 'c-ts-mode) This is not about harder at all. > 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, so from my POV this issue is closed for Emacs 29. After the release we should revisit this and related stuff, based on what we hear from the users.