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: Subversion of user chosen major mode by Emacs. Date: Wed, 29 May 2024 19:59:23 +0000 Message-ID: References: <86r0dmtbk2.fsf@gnu.org> <63afa31a-7874-4d1f-a17a-14a64ba516cb@gutov.dev> <4197c4a8-ee12-4fa7-9201-4d26f3be59c6@gutov.dev> 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="25479"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Dmitry Gutov , Stefan Monnier , Eli Zaretskii , emacs-devel@gnu.org To: Andrea Corallo Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 29 22:00:18 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 1sCPT8-0006Mq-EA for ged-emacs-devel@m.gmane-mx.org; Wed, 29 May 2024 22:00:18 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCPSN-0006tR-8O; Wed, 29 May 2024 15:59:31 -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 1sCPSL-0006rz-7a for emacs-devel@gnu.org; Wed, 29 May 2024 15:59:29 -0400 Original-Received: from mail.muc.de ([193.149.48.3]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCPSI-0000LO-Sm for emacs-devel@gnu.org; Wed, 29 May 2024 15:59:28 -0400 Original-Received: (qmail 28993 invoked by uid 3782); 29 May 2024 21:59:24 +0200 Original-Received: from muc.de (p4fe15a59.dip0.t-ipconnect.de [79.225.90.89]) (using STARTTLS) by colin.muc.de (tmda-ofmipd) with ESMTP; Wed, 29 May 2024 21:59:23 +0200 Original-Received: (qmail 19286 invoked by uid 1000); 29 May 2024 19:59:23 -0000 Content-Disposition: inline In-Reply-To: X-Submission-Agent: TMDA/1.3.x (Ph3nix) X-Primary-Address: acm@muc.de Received-SPF: pass client-ip=193.149.48.3; envelope-from=acm@muc.de; helo=mail.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_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham 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:319708 Archived-At: Hello, Andrea. On Wed, May 29, 2024 at 15:45:37 -0400, Andrea Corallo wrote: > Alan Mackenzie writes: > [...] > > To be clear, what I find unacceptable is Emacs maintainers presuming to > > override options explicitly set by the user with settings the maintainers > > think are better. That is the purpose of major-mode-remap-defaults. > > There are other, better ways to set up c-ts-mode as the default default > > mode for C files. > Hi Alan, > please assume the good faith of the other developers here. > 'major-mode-remap-defaults' was added for (valid or not) technical > reasons and it might very well come with (good or bad) consequences we > can discuss, but there's no conspiracy here. Just to be clear, I don't doubt the good faith of others, here. When I wrote about "the purpose of major-mode-remap-defaults" I meant it literally, ascribing motivation to the variable, not to maintainers. Sorry I wasn't clearer. My intention was to make other maintainers, including he who wrote it, aware of what was at stake. There's a very old principle in Emacs not to interfere in user set options. That's what I see being violated here. > Thanks > Andrea -- Alan Mackenzie (Nuremberg, Germany).