From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Make all tree-sitter modes optional Date: Fri, 17 Feb 2023 13:54:43 +0000 Message-ID: References: <868ri140sr.fsf@mail.linkov.net> <83fsc92gbz.fsf@gnu.org> <83cz6ccagy.fsf@gnu.org> <838rgzaqmj.fsf@gnu.org> <83pmaaaicy.fsf@gnu.org> <87y1owl8eg.fsf@yahoo.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="3069"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 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: Po Lu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Feb 17 14:55:38 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 1pT1D7-0000Zv-N4 for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Feb 2023 14:55:37 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pT1CN-0004TB-Kp; Fri, 17 Feb 2023 08:54:51 -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 1pT1CL-0004Ss-EN for emacs-devel@gnu.org; Fri, 17 Feb 2023 08:54:49 -0500 Original-Received: from mx3.muc.de ([193.149.48.5]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pT1CJ-0004jk-Gg for emacs-devel@gnu.org; Fri, 17 Feb 2023 08:54:49 -0500 Original-Received: (qmail 51144 invoked by uid 3782); 17 Feb 2023 14:54:45 +0100 Original-Received: from acm.muc.de (pd953aad7.dip0.t-ipconnect.de [217.83.170.215]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Fri, 17 Feb 2023 14:54:44 +0100 Original-Received: (qmail 29603 invoked by uid 1000); 17 Feb 2023 13:54:43 -0000 Content-Disposition: inline In-Reply-To: <87y1owl8eg.fsf@yahoo.com> X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.5; envelope-from=acm@muc.de; helo=mx3.muc.de X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action 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:303483 Archived-At: Hello, Po. On Fri, Feb 17, 2023 at 21:37:59 +0800, Po Lu wrote: > Alan Mackenzie writes: > > On Wed, Feb 15, 2023 at 20:33:49 +0200, Eli Zaretskii wrote: > >> > Date: Wed, 15 Feb 2023 17:57:15 +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 [ .... ] > Let me ask what I asked earlier, again? > Does c-ts-mode make itself default upon being loaded, or does it make > itself the default upon being first enabled? It makes itself default upon loading, even if that loading is only in response to C-h C-f c-ts-mode. > The former has been a Bad Thing for as long as I can remember. Indeed. > The latter is not particularly problematic as long as we document the > caveat. I don't quite agree. An Emacs user should retain full control over her Emacs session. Silently changing the entries in auto-mode-alist removes that control and causes confusion. > Thanks. -- Alan Mackenzie (Nuremberg, Germany).