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.bugs Subject: bug#74339: 30.0.92; CC Mode stomps C TS Mode Date: Thu, 14 Nov 2024 22:37:12 +0200 Message-ID: <86y11limbr.fsf@gnu.org> References: <868qtnfd2d.fsf@gnu.org> <86r07elwoh.fsf@gnu.org> <86h68al2qz.fsf@gnu.org> <8634jtk4gj.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1233"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, 74339@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 14 21:40:14 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 1tBgdS-0000BT-Bs for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Nov 2024 21:40:14 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBgdI-0004DE-Rm; Thu, 14 Nov 2024 15:40:05 -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 1tBgdG-0004Bj-Dd for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 15:40:02 -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 1tBgdG-0003mT-3q for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 15:40:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:In-Reply-To:From:Date:To:Subject; bh=R+YimbjinxglPzXYkflyPJShDxSkItyMJTyAHBwl28M=; b=l+3imtUmAOB/B4vdh9hEA2zvFbMbqBIwllnOs5gwBBP+UlOfmsryBv2h9Eqi8OJ+GEhPTlpKs73liJljfyBbo7BKrkdjF6eSxSVYzedGhVseveJj1EuzZhMMX9+afEprOiYvnEW9Npw7HZ7nIV5A0VM/qfeY+OHdlJDwSsBajKV3WUJrAUh0AR9+XEQrKqHI5eQdn87MR86TAixmmnFHbF8VOVAMKrRNvF0ZQ/6EyH6ZfbOESopdilDVb+4SzaW0ncME/YhTdKyVSslwANI7mhby4rwtY4I8ehzr9VX2JEfx+D6otmbbiQLQwSUad63QRH3sOCQXjx/ssZGazWhw8Q==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBgdF-0002dR-VC for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 15:40:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2024 20:40:01 +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.173161678810098 (code B ref 74339); Thu, 14 Nov 2024 20:40:01 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 14 Nov 2024 20:39:48 +0000 Original-Received: from localhost ([127.0.0.1]:47428 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBgd2-0002co-5P for submit@debbugs.gnu.org; Thu, 14 Nov 2024 15:39:48 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:35834) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBgcz-0002cX-Hf for 74339@debbugs.gnu.org; Thu, 14 Nov 2024 15:39:46 -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 1tBgam-0001nQ-FP; Thu, 14 Nov 2024 15:37:28 -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=R+YimbjinxglPzXYkflyPJShDxSkItyMJTyAHBwl28M=; b=Trf98DAvwZ/L Mv+DPfyPYbPtM4xESFkI/DIUlTyISSjoiRzZXLv9BkzynLPoxhMB9pVz3M6playRDQ2tM17E3OFfH Xe99awGG/8+z+fK47aYAFg6eqFix92iKEjquHVtmGYlXAyaG5E5CM0AjKwCdiVy3ZqSE3u1eaVUvG gFuGBH+ndsap/zLUP/EouLvx81VShIbX7BgDLbAFZUM4dSrAmvLT/GETL1cTHELxOmmi7GF1Ty2vx pcKt4+UHlq/01UlsJfsWLmSQgVa+kbDmrjF/vSNKuz3XkPX/pvi8UN5uWdnofgPAIREclDf7wINUV BkxX1ceXG2Xymwhnzgk7/Q==; In-Reply-To: (message from Stefan Monnier on Thu, 14 Nov 2024 14:38:59 -0500) 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:295366 Archived-At: > From: Stefan Monnier > Cc: acm@muc.de, 74339@debbugs.gnu.org > Date: Thu, 14 Nov 2024 14:38:59 -0500 > > >> Not quite: `auto-mode-alist` should always map `.c` files to `c-mode`. > > Why "always"? > > Because the preference between `c-mode` and `c-ts-mode` should apply not > only to those files whose mode is decided by `auto-mode-alist` but also > to those where this is decided via other means such as via a file-local > `mode` setting, or via `magic-mode-alist`, or ... You assume that people will always want to remap all of those to the same mode? And that no one will ever want to have, say, files with the -*- c -*- cookie to use c-mode and nothing else? Some might, even if the majority won't.