From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.devel Subject: Re: Subversion of user chosen major mode by Emacs. Date: Wed, 29 May 2024 20:56:24 +0300 Message-ID: <32059695-31f8-40ea-b539-69d2c4f5b553@gutov.dev> References: <86r0dmtbk2.fsf@gnu.org> <63afa31a-7874-4d1f-a17a-14a64ba516cb@gutov.dev> <4197c4a8-ee12-4fa7-9201-4d26f3be59c6@gutov.dev> <86le3sshdg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="750"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: acm@muc.de, monnier@iro.umontreal.ca, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed May 29 19:57:41 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 1sCNYR-000AW7-GG for ged-emacs-devel@m.gmane-mx.org; Wed, 29 May 2024 19:57:39 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sCNXO-0000zl-Lr; Wed, 29 May 2024 13:56:34 -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 1sCNXM-0000zI-K0 for emacs-devel@gnu.org; Wed, 29 May 2024 13:56:33 -0400 Original-Received: from fhigh1-smtp.messagingengine.com ([103.168.172.152]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sCNXI-0004GU-EQ; Wed, 29 May 2024 13:56:32 -0400 Original-Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailfhigh.nyi.internal (Postfix) with ESMTP id 2021D114010D; Wed, 29 May 2024 13:56:27 -0400 (EDT) Original-Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Wed, 29 May 2024 13:56:27 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gutov.dev; h=cc :cc:content-transfer-encoding:content-type:content-type:date :date:from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm3; t=1717005387; x=1717091787; bh=J+GRxz0zxWBCRDVG9z+PF0xgOPwRIdN2/utSl6Te//M=; b= M1yYUehbivapFZawk4U9bSL03KIRukoKtm9TgRg23ofxOgotjZ15GjiyySonpaiY OHidaqig5/EfqrrVCXyvg4R+fuR3DtSfrTbpkHsAoWkIP6/ldrhN2p4ufiYH1//j VeppFEmjyisf1Mcwqjtvm/fTuE2ElnSr3cQi2cJk7TnMq4VnJfIkCgV/xWEXDnFk IXMBygSr/UH02ungwUI+m5IPeOfYju9M4HXny/ivM0sHp9HMfDDbQZO0kKwlTN4J fFFI07iWEDvdCtIYY8O1tqzY6wuibvQQoZ6ofrKzyyZjg9GxG7ZAhfxnUcbEuv2z 0AVAmWJPd9K/2nmVM0qZ3Q== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1717005387; x= 1717091787; bh=J+GRxz0zxWBCRDVG9z+PF0xgOPwRIdN2/utSl6Te//M=; b=N vHhd0hdiDkGLYB6rEm+hAbZNwFMLUra3LjJRhpGt1IwDwC8fVAQO5NXpumNHFBTF 7d9ku8cvIqAI8YqzRneUG4Vrxy4UJ64FCvmD/3gesTQJFxp+WNm5n5Vs2YgiAjq1 vAG2LgYIMioFWtNRsrFjs/bAeLra2Ujh1c//uG+cxqtOpb+e84qB1JQPukEY+r53 7hOq1fVakfm+Pm8aVVNGwl/3sdZJ02t/q4j8qhdCmvx3R0ftr5w//9dvxz5QBAf3 lAz7Pe8GHxGXus9Hlr77rRJmaAgCJuJhaONw729X3YbMz5rEe1H3dR/YNeQq6Jlt g3Sn9PgKQrCJxRtqqf0/A== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvledrvdekuddgudduiecutefuodetggdotefrod ftvfcurfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfgh necuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnthhsucdlqddutddtmd enucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeenucfhrhhomhepffhm ihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvghvqeenucggtffrrg htthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedtvddtveefhfdvveeg udejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpe gumhhithhrhiesghhuthhovhdruggvvh X-ME-Proxy: Feedback-ID: i0e71465a:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Wed, 29 May 2024 13:56:25 -0400 (EDT) Content-Language: en-US In-Reply-To: <86le3sshdg.fsf@gnu.org> Received-SPF: pass client-ip=103.168.172.152; envelope-from=dmitry@gutov.dev; helo=fhigh1-smtp.messagingengine.com X-Spam_score_int: -26 X-Spam_score: -2.7 X-Spam_bar: -- X-Spam_report: (-2.7 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_SBL_A=0.1 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:319702 Archived-At: On 29/05/2024 19:38, Eli Zaretskii wrote: >> Date: Wed, 29 May 2024 19:08:46 +0300 >> Cc: Stefan Monnier , Eli Zaretskii , >> emacs-devel@gnu.org >> From: Dmitry Gutov >> >>> The latest symptom of this misunderstanding, which I bumped into >>> yesterday, is that Emacs changes the major mode of a C buffer with M-x >>> revert-buffer. This is clearly unacceptable. >> >> And that started happening since commit 6b2f85caa6 > > No, it didn't. That commit changed nothing about how revert-buffer > behaves. That's true, apologies for being imprecise: 'M-x revert-buffer' has always re-applied the configured major mode. The odds of it being changed (due to the change in configuration) just increased somewhat with the commit I mentioned. > Please stop these insinuations. I said I don't want to go > into that argument again, so you want to force me?? Just let it be. Sorry, I just wanted to get everyone on the same page.