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: Sat, 16 Nov 2024 16:35:36 +0200 Message-ID: <86zflzfdqf.fsf@gnu.org> References: <861pzdk4aq.fsf@gnu.org> <86zfm1in2p.fsf@gnu.org> <86wmh5hrya.fsf@gnu.org> <86cyiwimlr.fsf@gnu.org> <86wmh3h3uy.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="10270"; mail-complaints-to="usenet@ciao.gmane.io" Cc: acm@muc.de, monnier@iro.umontreal.ca, 74339@debbugs.gnu.org To: Stefan Kangas Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Nov 16 15:36:23 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 1tCJuQ-0002Vs-CN for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 16 Nov 2024 15:36:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tCJu7-0001R0-Ll; Sat, 16 Nov 2024 09:36:03 -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 1tCJu6-0001Qs-Um for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 09:36: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 1tCJu6-0007Kv-Lx for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 09:36: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=vkoFyVhHF13C5nTb2vs9eAZFXgMpOBCqXvf2qORgdNw=; b=IwdlfsxgJW2v+8TDarMknDdgH6WEauSPQ3UumwvKEZCReyM4becBKwUYdSGNEYe86LizR5fBvHee7Myvc3g+V6OXADeGy0PNG7mDJ4zhpscaYlRhG5fc968ALOaE/uoM1XTA5MBzUlozxPk+iBbKwhNvaIizpP6LI9AfCltSK78UnN2xTXHSemyQhax1ppIkrhIj5lkFitTL+RouwObtXefl8xQkHxZuHTPP3udVeWzw2lfu5HDPq2DqtIJA4CJKEdDm5yLpT/sQLqlKNmVt2GWkDfs4Fwae0Sjoj1Tq0sSK5i1iqe6nxGpF7pYoO2rfvUX0GNjtMD/v23GhoO6fIg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tCJu6-00062u-8f for bug-gnu-emacs@gnu.org; Sat, 16 Nov 2024 09:36:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 16 Nov 2024 14:36: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.173176774823213 (code B ref 74339); Sat, 16 Nov 2024 14:36:02 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 16 Nov 2024 14:35:48 +0000 Original-Received: from localhost ([127.0.0.1]:52662 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCJtr-00062J-Fz for submit@debbugs.gnu.org; Sat, 16 Nov 2024 09:35:47 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:49216) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tCJtp-000627-9H for 74339@debbugs.gnu.org; Sat, 16 Nov 2024 09:35: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 1tCJtj-0007K0-GH; Sat, 16 Nov 2024 09:35:39 -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=vkoFyVhHF13C5nTb2vs9eAZFXgMpOBCqXvf2qORgdNw=; b=QBRAbvIpwilc jdNgdyk+FVECCz49MBTA7f2svBidA47LGtMpM7cvOH6n8euSRcmlHmwyVzb4GQBRZz7VQfGpgJize f+qxcOWMOYZKnsah2MnKxjZ9JLkQplJvJz4UL7nAnHsfP/TqDO/1H3OKbwDSAKFJE68hJLplD9Ca8 piTZWZoyEKHdAaeTOZXtK0EgyO8a/JqJeoOOPYoTYiHJ8e0wJZKzdR2ED84JaT7Pdckcz3PSIoU5j BHOritNM3LqBFcqiLnwnyO8gIYrEzltYfW/4nBXsDvgOsab8aFVBrL2+MiYTMeAK+Y5t0sg/rF4AG z+QOxrReUrd/wbNgeUlZ4w==; In-Reply-To: (message from Stefan Kangas on Sat, 16 Nov 2024 06:03:14 -0800) 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:295464 Archived-At: > From: Stefan Kangas > Date: Sat, 16 Nov 2024 06:03:14 -0800 > Cc: acm@muc.de, 74339@debbugs.gnu.org > > Eli Zaretskii writes: > > >> From: Stefan Monnier > >> Cc: Eli Zaretskii , 74339@debbugs.gnu.org > >> Date: Fri, 15 Nov 2024 15:45:46 -0500 > >> > >> > Here it is evident that by "mode:c" the OP means C Mode, not whatever > >> > random mode happens to have taken the symbol `c-mode'. > >> > >> It is evident that the OP means CC-mode's C Mode because the bug report > >> is sent to `bug-cc-mode`, indeed. > > > > Perhaps we should introduce (on master) a boolean variable to disable > > mode remapping? Then files which want to force a mode could specify > > that. > > I'm not sure what is the use case for something like that. > Do we want files to be able to override user preferences? The case of CC Mode bug report above might be one such example. A (hypothetical) tutorial for using CC Mode (e.g., teaching about its interactive indentation customization feature) might be another. It isn't supposed to be a frequent situation, but when it happens, why not allow it to be supported?