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: Thu, 14 Nov 2024 14:38:59 -0500 Message-ID: References: <868qtnfd2d.fsf@gnu.org> <86r07elwoh.fsf@gnu.org> <86h68al2qz.fsf@gnu.org> <8634jtk4gj.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="1680"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Cc: acm@muc.de, 74339@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 14 20:40:28 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 1tBfhb-0000BR-Ks for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Nov 2024 20:40:28 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBfhF-00036c-6H; Thu, 14 Nov 2024 14: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 1tBfhD-00034i-Ag for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 14:40: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 1tBfhD-0005qM-24 for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 14:40:03 -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=S0Yjx1fcJy8tT8cUMoE4dmeugiTrnZcOrO5uvh/ouVw=; b=ruLBdc75Ce0ziE4mBfQIexVaMnoDARv9xvyAuCY0TV9y3R+898C1jUBtu6fSmQ64vR7szg+kXKvghkOkqsmdYBfXOnB93qVlbL7lCPsatobYVyEl/OKT33Wzq8vjgXzEfPrE1fyI2sBmFimDFDTi19VB/GIi0EWXB2gp9OBgD0nL7cH41XNkXjnZub+reBJmO2xvMhBRxAKKRpLoJSNl1dbSg3hwtEF+M/jFgq3ypBiN/CwoWl5EWJkr09YEk26xLuQlgRcRweZe3LZVe5dTS7cdBhVyy1fCk0AZP2KUT4efe4WqaQ/LCW+hGI5enauVMCEqPrwwyhWNXNfjSHs6cQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBfhC-0008Bj-I6 for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 14:40: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: Thu, 14 Nov 2024 19:40: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.173161314931400 (code B ref 74339); Thu, 14 Nov 2024 19:40:02 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 14 Nov 2024 19:39:09 +0000 Original-Received: from localhost ([127.0.0.1]:47249 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBfgL-0008AM-JG for submit@debbugs.gnu.org; Thu, 14 Nov 2024 14:39:09 -0500 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:26927) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBfgK-0008A9-6r for 74339@debbugs.gnu.org; Thu, 14 Nov 2024 14:39:08 -0500 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id BE6DB100180; Thu, 14 Nov 2024 14:39:01 -0500 (EST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1731613141; bh=DF1wc8uo3T0VScZRYT4KS87wWubzr4ku6iCGn0VwU3w=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=EN/im53RzXn4OoNz7V2a6bdZuvFH2ZmsOfpZoYDVRfEDMqN3B/+AAZosPdZnVkLhm c2DzCDijdeLgHw1fxt7qncOoxKHqq3p6/NveXZUQpWrUCDR0gycrhZlFc7W/3VSnJV DfkqS2POg8Cr3+I8t3ItBWkBbCk7sPDIGjHbA59949JBfDZJrlN6FE4jW8Px/HOpe8 T3PCwmLMbL7GJXP6sJus64EUWKKjT4Nfxy7rbeTrYQ9t5Z3LukK+eJqPq1pZk0nq4t YskOngYvjSAdjjvvMwi9jUnQseIB9Ac8TdDnJUdfeTE0++fKwB4mPvtB6Due7Ge2e6 CBMU11YHg071A== Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 2775E100043; Thu, 14 Nov 2024 14:39:01 -0500 (EST) Original-Received: from alfajor (unknown [23.233.149.155]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 0912312062E; Thu, 14 Nov 2024 14:39:01 -0500 (EST) In-Reply-To: <8634jtk4gj.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 14 Nov 2024 21:20:12 +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:295361 Archived-At: >> 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 ... Stefan