From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74339: 30.0.92; CC Mode stomps C TS Mode Date: Sun, 24 Nov 2024 10:37:23 -0500 Message-ID: References: <868qtnfd2d.fsf@gnu.org> <86r07elwoh.fsf@gnu.org> <86h68al2qz.fsf@gnu.org> <867c95kaye.fsf@gnu.org> <861pzdk4aq.fsf@gnu.org> <86r075qasz.fsf@gnu.org> <7d4a925a-3960-4412-bdb3-4f752407e00a@gutov.dev> <86zflsnza0.fsf@gnu.org> <861pz1lows.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24977"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: dmitry@gutov.dev, 74339@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Nov 24 16:38:32 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1tFEgx-0006NC-Pw for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 24 Nov 2024 16:38:32 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFEgf-00059O-Dp; Sun, 24 Nov 2024 10:38:15 -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 1tFEgU-000598-Uo for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 10:38:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tFEgU-0003Nh-LI for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 10:38:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=udKzQdzlpg8j6oGXqPoSwSaRswpyDZyjbQxVWOPeNp0=; b=oCFlsGLc77ciffsb0wsUIajzJJT0k2HBZJP2Ewd8nPiCoH5zlmIn1EwLP9dzmCI6ZiWZXFw//YmKhAxXJH50Q65gV7GAjw5GwlzfsAr5QXIR9U1QnTrt5Pgp+P1wVs+gKMPNCV4vBbNhMuSsnKkCi55CWLeReYt8DNJGNVbHnWSAyGWPUu4B5B7joXOXoncRfuV3nBa5hlSVXOlnz87z4PbEH1nniXnFvU8ANdzGPfVdB1a6zu9/jZgEsQXR1riBqv8IFRGntoKGMh2KaxDQCBVMmzjYKncQDWVtqOMYlR90jQ3RccNorXUbVbBPFLMwfa3KdyCp/RscRsNZ2QbE7w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFEgU-0004Q1-6q for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 10:38:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 24 Nov 2024 15:38:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74339 X-GNU-PR-Package: emacs Original-Received: via spool by 74339-submit@debbugs.gnu.org id=B74339.173246265316903 (code B ref 74339); Sun, 24 Nov 2024 15:38:02 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 24 Nov 2024 15:37:33 +0000 Original-Received: from localhost ([127.0.0.1]:35691 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFEg0-0004OX-S9 for submit@debbugs.gnu.org; Sun, 24 Nov 2024 10:37:33 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:55610) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFEfz-0004OB-EB for 74339@debbugs.gnu.org; Sun, 24 Nov 2024 10:37:32 -0500 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 3E4F080788; Sun, 24 Nov 2024 10:37:25 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1732462644; bh=uBmvTtjvbTQTk6tUZ+zydUxQaHQX00620pvLsmb8XRg=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=aW/lV/QHYCh1HVqDId9DgJn4B7+yndok8soHaK1P+888K0htREFiqMXCMOj3qK2jF mNM1eUkXUL7e1lSrPgH3PastH7AyAUq/W5xBMWD6sU44jeqIJHl1XcpQ/kB8YrcSjw oFN8rsE3ywEnIb7AvAGqCuBixUE96VBJ2DPptnQ9bpmKGdfpYj2B7F5glOBTghU19Z sRD3RO9dLKUcRXd0Ymx9y1riHFW7qDu3gmfezudZSeYcuklfr+uU3KvFN/BHLm8OOx CGprM8+uksdk3KZ9l6ZY7yjk4UsYhUOegRAx4JEtUCXytJGZlYL1urbV+iK+Jy9HUB RF31SckmiXpTA== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 5EA24803A3; Sun, 24 Nov 2024 10:37:24 -0500 (EST) Original-Received: from pastel (104-195-225-43.cpe.teksavvy.com [104.195.225.43]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 2C2E31206F0; Sun, 24 Nov 2024 10:37:24 -0500 (EST) In-Reply-To: <861pz1lows.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 23 Nov 2024 21:40:19 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295908 Archived-At: > Like the patch below. Is it okay? [...] > +(setq major-mode-remap-defaults > + (assq-delete-all 'ruby-mode major-mode-remap-defaults)) > + So, this adds `ruby-mode.el` and `ruby-ts-mode.el` to the list of files which break our coding convention that loading a file should not affect Emacs's behavior. I understand we decided back in Emacs-29 that it was the least bad solution to make it easy for users to use the new TS major modes, but this was back in Emacs-29. We should look for ways to remove this kind of hack rather than spreading it to more files. Stefan