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:27:57 +0200 Message-ID: <83wn4i83ya.fsf@gnu.org> References: <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> <83pmaaaicy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16370"; mail-complaints-to="usenet@ciao.gmane.io" Cc: juri@linkov.net, casouri@gmail.com, monnier@iro.umontreal.ca, larsi@gnus.org, theo@thornhill.no, jostein@secure.kjonigsen.net, emacs-devel@gnu.org To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Feb 16 08:29:04 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 1pSYhU-00041K-4P for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Feb 2023 08:29:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pSYgo-0004RB-7S; Thu, 16 Feb 2023 02:28:22 -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 1pSYgk-0004Qk-E9 for emacs-devel@gnu.org; Thu, 16 Feb 2023 02:28:20 -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 1pSYgh-0000xn-H0; Thu, 16 Feb 2023 02:28:15 -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=4VZjx//NmYZ6gcNOeZz7Hv1MulN1qtPz6nQsuX9vByk=; b=gR9j/3iWabfN MJN/D3Ef3TwgwHidOAzq0Go0f7pKludFCY6nnbzu7bzTFNyaIoRKdBcw9L3yV6YMoqPs+71Y1ONn8 gYH1K61xO5Ug8eknF21COaIHgdFT6vGmLVFtGbbx+SHddme3p8y37ZKeS90A+qIw0giXrRafO0Q8W SFbohH0bAmxpvtoHI0m7Br9/qG3ktmvANgSDmY461DqySWUMEazUga370zqGL91/2f94wj5RnPTuy M2q+1R4lkOoW65SDh/EnL+NpYyv7qTe2TminraBk9soK6fRYkggHoLdqxpsYYZpr3ypvn1A29RSh+ DZATI+I2VvpFKSUOkQN2ng==; 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 1pSYgh-0006uB-0A; Thu, 16 Feb 2023 02:28:15 -0500 In-Reply-To: (message from Alan Mackenzie on Wed, 15 Feb 2023 20:31:46 +0000) 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:303368 Archived-At: > Date: Wed, 15 Feb 2023 20:31:46 +0000 > Cc: juri@linkov.net, casouri@gmail.com, monnier@iro.umontreal.ca, > larsi@gnus.org, theo@thornhill.no, jostein@secure.kjonigsen.net, > emacs-devel@gnu.org > From: Alan Mackenzie > > But you've got to allow me to have mixed feelings when the project I've > put so much into over ~20 years is facing redundancy. It isn't facing redundancy, it's nowhere near that. You don't need to worry about that. I expect a significant proportion of users to wish to stay with CC Mode, for several good reasons: . the use cases it handles better that c-ts-mode (cpp stuff etc.) . the plethora of minor conveniences it offers that c-ts-mode doesn't, at least not yet, such as much more elaborate customizations of indentation and electric behavior I'm not even sure yet whether I myself will switch. I will give the c-ts-mode a lot of leeway and credit, but I don't know yet what will be the outcome. > > .... and suggest ways to turn them off. > > Yes. Plenty of people like CC Mode, but I don't think you are among > them. How can I not like it? I use it every day, for several decades. I have several non-trivial customizations of it, some of which I will probably miss with c-ts-mode, which doesn't yet support them, and maybe never will. > These people are likely to want to carry on using CC Mode, at > least in the short term, and to do this they need a way to switch off the > new modes. The new modes don't need to be switched off because they are off to begin with. People who don't like them don't need to change their configuration even a single bit. I specifically and explicitly took care of that, over the hesitations, bewilderment, and downright objections of several good people here. You have just heard them again, and they still disagree with me over the result, with valid arguments. So I find it ironic that all that effort is now seen as insufficient, by you of all people. Maybe you should try looking at this issue from my POV. > I think you must agree with me there. Where we differ is > that I want to make this way of restoring CC Mode's position in > auto-mode-alist easy, whereas you seem to be content that it remain > difficult. I confess I don't understand why. "Difficult"? Restarting Emacs is not difficult. Many users do that all the time (watch the posts about how fast Emacs should start up), even though we recommend not to do that. And if the user finds he or she doesn't like the new mode, that restart is a single event, no need to do it more than once. That's not my notion of "difficult".