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 18:49:14 +0200 Message-ID: <86a5e1kbg5.fsf@gnu.org> References: <868qtnfd2d.fsf@gnu.org> <86r07elwoh.fsf@gnu.org> <86h68al2qz.fsf@gnu.org> <697529d6-0591-4a80-b640-7ddce7dc246b@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24358"; mail-complaints-to="usenet@ciao.gmane.io" Cc: dmitry@gutov.dev, 74339@debbugs.gnu.org, acm@muc.de To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 14 17:50:38 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 1tBd3G-00067S-2Y for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Nov 2024 17:50:38 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBd2l-0006Kg-8R; Thu, 14 Nov 2024 11:50:07 -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 1tBd2h-0006IL-Sp for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 11:50: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 1tBd2g-0008Bg-Oz for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 11:50:03 -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=zRPNmC0ijbK3nArxZbeCOIeYvOWUrehz55TLNk0P2xU=; b=M81kQDAeOnSc5dHBknQitVqhPEQuw1yHFqkjx12mtwAelX5TMzKKAk6KvJTUXU8Mqolum+9TJxF2fUcpYcx8gNCpbUYFWcJHleUhBr1IMvKI3mBdDDLY0+zDzivnFSP3HK1qwEdkQdR1ma3WbONJ2OeFbeN0SshesoZoci+iOimdQm4apu5L4p0sjkAfLtvBNs8jHBjO3/Q0fkME58AWfNad/J6RwXRxRCIa/QY+ALvbxSqAiaHSiAii0fQyLqUfuYfwuoW9s0IcOfNUyKx+Ypo2PQW6CTRXGvDpm3qlpmJzvM13vO3Wx8gao+GqiEsOoyRuEro31Maj/4X2lukvow==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBd2g-00006T-CD for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 11:50: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: Thu, 14 Nov 2024 16:50: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.1731602968314 (code B ref 74339); Thu, 14 Nov 2024 16:50:02 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 14 Nov 2024 16:49:28 +0000 Original-Received: from localhost ([127.0.0.1]:46941 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBd28-000050-7O for submit@debbugs.gnu.org; Thu, 14 Nov 2024 11:49:28 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41904) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBd25-0008WP-IF for 74339@debbugs.gnu.org; Thu, 14 Nov 2024 11:49:26 -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 1tBd1y-00087J-Rx; Thu, 14 Nov 2024 11:49:18 -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=zRPNmC0ijbK3nArxZbeCOIeYvOWUrehz55TLNk0P2xU=; b=D/Tqwm1KKLbq 4HgnNovgqcqTiuP7TrdllHmeYD8T3qqbtvC9Ur2C4ref64aolI/WIm5tV6rzmrLnZqs52K4JGnxND UObtQBW3MNwHDuWV0VTjXx+ZuB9JP9qfwGvsfGfoZprsVwajDMBI3ZbIclqqn0qYCcAUpmOPdPkGp 2pWzhu5WFUsddmxjVpKalHpxviFFzYjDDsb4uJs5lB6p+dPqYDmQnfAAwQtK7UovIpSwRa+46GvHr JSbH2EwB71cYX7Qx1gRFoCRa9JR49uAg/8QnQtQpu1CdpvRewda8mHpf+SCTnGj8dVGNgTmGpDU7I efib9heChaSXf9TmIlU2xA==; In-Reply-To: (message from Stefan Monnier on Thu, 14 Nov 2024 10:51:34 -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:295345 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , Alan Mackenzie , > 74339@debbugs.gnu.org > Date: Thu, 14 Nov 2024 10:51:34 -0500 > > > I'm personally skeptical that loading a package (or invoking a mode) > > indicates a strong user preference, but ok, let's call it that. > > Indeed, I think loading a package does not show a strong user > preference. As we've seen, it can happen "by accident" in various > circumstances that are only loosely related to using the code in > that file. > > Invoking a mode is a significantly stronger signal. But AFAIU the code in both c-ts-mode and cc-mode is written such that just invoking the mode (after the mode's package was loaded once) doesn't modify major-mode-remap-defaults. So unless I'm missing something, the current code doesn't support what you think should be the way for users to express their preference.