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.bugs Subject: bug#74339: 30.0.92; CC Mode stomps C TS Mode Date: Fri, 15 Nov 2024 20:57:11 +0200 Message-ID: References: <86h68al2qz.fsf@gnu.org> <867c95kaye.fsf@gnu.org> <861pzdk4aq.fsf@gnu.org> <86zfm1in2p.fsf@gnu.org> <86wmh5hrya.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="33737"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: monnier@iro.umontreal.ca, 74339@debbugs.gnu.org To: Alan Mackenzie , Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Nov 15 19:58:22 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 1tC1WP-0008X3-O7 for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 15 Nov 2024 19:58:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tC1W8-0005ZR-R2; Fri, 15 Nov 2024 13:58:04 -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 1tC1W6-0005ZH-KF for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2024 13:58: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 1tC1W6-0006Uk-Bl for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2024 13:58:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=In-Reply-To:From:References:MIME-Version:Date:To:Subject; bh=WXQ1ouQMrB+/v2oN6myQOV/vJoWc49yZNZXWwj3uyi4=; b=jhgRUNl7PBJ2LJrTPDEr7+o8S9cs77epHOPZ/vG4loeHiyREVIFpk3CMAORZ1a4Me+4iL9Sh7njjUcCw96CzwW/ko6Fjb9DejHyk1cFq4r359JO57RTC6Pq2yD/pTPhJh/CTKk3wVLFq1edPumO2Y7GFV8rOAbIjPaOKUiKyjY8keIKU/CUYb3Y7yuE4+7Tc/6ZlDl99kUupgZjTsDTLiUm73Ge3DnaEesfnFsj81JXn8LDHsaeOct4OFFGzfrU4fjbcjyvkivYPuhGFNIkucIztsiCK3ThbbGfuIOqzYUMdaf928xWyoBOn8kDano44tnNQSmeVhUnIdZNLZeoGnA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tC1W5-0002jJ-V3 for bug-gnu-emacs@gnu.org; Fri, 15 Nov 2024 13:58:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 15 Nov 2024 18:58: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.173169704510444 (code B ref 74339); Fri, 15 Nov 2024 18:58:01 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 15 Nov 2024 18:57:25 +0000 Original-Received: from localhost ([127.0.0.1]:50857 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tC1VU-0002iO-I1 for submit@debbugs.gnu.org; Fri, 15 Nov 2024 13:57:24 -0500 Original-Received: from fout-a8-smtp.messagingengine.com ([103.168.172.151]:48177) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tC1VS-0002iB-K1 for 74339@debbugs.gnu.org; Fri, 15 Nov 2024 13:57:23 -0500 Original-Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfout.phl.internal (Postfix) with ESMTP id 54DC51380258; Fri, 15 Nov 2024 13:57:16 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Fri, 15 Nov 2024 13:57:16 -0500 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=fm2; t=1731697036; x=1731783436; bh=WXQ1ouQMrB+/v2oN6myQOV/vJoWc49yZNZXWwj3uyi4=; b= KuPV0ev1P/aThXFsrRxd0OwSnvuEML5mi8upeQ65xoJ6h6uquWOsyoegszf6rIiI TGShxIIP8lWpsSpnoQRwUITCYYrjDC5rZ/7D4VHOSi+DRh0uQSHev7ykH4Byx+dj RaJyOBSM8zty8jnFb74wm2GkoecdReGc2G9LnLeLkWF/RsBB0i5rnCdDsP/d8f0G 9VkGRoxyNwsiKmZsVSmAxRc5vkiy/ARMh9har8mj1kZ9qYbde6R5aP9yNlABeTpV yw/kWreYpJos/EVlCPXcjn2QS0/Y/hbmtCne2VPpD6KlKCKofqjhpK8ckcmtLl0m 3f2dLP8VlyPmlEBlSqifTg== 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-sender:x-me-sender:x-sasl-enc; s=fm3; t=1731697036; x= 1731783436; bh=WXQ1ouQMrB+/v2oN6myQOV/vJoWc49yZNZXWwj3uyi4=; b=f TEOQlgFLNnqV/0dqSxKd2qkcCto1wThHkhC1wmXuz5Py5GintjO0Kt23NLf3RUJN O5a2tzOOJC0O3612BUbxOrJY+rir5KDOeq0cS/NC2tk5fIrF+jkE08Gw2AenNXds 0dds1XCymIsVT5r4Shh+dwy2jJvDi8fuJ9VJJVFIKmE1/CSjbQVMHw8LdFhx8XLZ 9HCHVvQ+Lk1LvFnWnCpMDEkjyLjuc8qk/H+jTm46+XfkpsUSNOC/Wo4WAuWFXj01 X3MIMGu3Oqwku8tJJO4iTvGk1VFSpYdhQwiSaVy9mfD85HTPgxJ/Q0olj2oFmVIG 2g1vF/bd4fbAz3hCqzeSw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrvdeggdduudehucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepteduleejgeehtefgheegjeekueehvdevieekueef tddvtdevfefhvdevgedujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho peegpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegrtghmsehmuhgtrdguvgdprh gtphhtthhopegvlhhiiiesghhnuhdrohhrghdprhgtphhtthhopehmohhnnhhivghrsehi rhhordhumhhonhhtrhgvrghlrdgtrgdprhgtphhtthhopeejgeeffeelseguvggssghugh hsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Fri, 15 Nov 2024 13:57:14 -0500 (EST) Content-Language: en-US In-Reply-To: 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:295410 Archived-At: Hi Alan, On 15/11/2024 15:04, Alan Mackenzie wrote: >> The symmetry that I was talking about is in handling c-mode >> specification in auto-mode-alist: it will either invoke c-mode or >> c-ts-mode. > Excuse me, but that is NOT symmetry. It is grossly assymetric. If you > weren't agreeing to symmetry why did you say you were? Allow me to butt in this subthread a little. Your other points aside - several of them definitely valid - there already is an inherent asymmetry between c/c++ ts modes and cc-mode in that we give deference to the latter in our default file->mode mappings, which I wouldn't expect to change in any short or medium term. So if we give a little back to ts modes on another level (and assuming user opt-in), that seems fair enough.