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: Mon, 25 Nov 2024 14:11:26 +0200 Message-ID: <86mshnikcx.fsf@gnu.org> References: <868qtnfd2d.fsf@gnu.org> <86r07elwoh.fsf@gnu.org> <86h68al2qz.fsf@gnu.org> <867c95kaye.fsf@gnu.org> <861pzdk4aq.fsf@gnu.org> <86r075qasz.fsf@gnu.org> <7d4a925a-3960-4412-bdb3-4f752407e00a@gutov.dev> <86zflsnza0.fsf@gnu.org> <861pz1lows.fsf@gnu.org> <86wmgtjj56.fsf@gnu.org> <2f886c4b-d8a1-46b8-bdf3-35f2e9a2949e@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="22713"; mail-complaints-to="usenet@ciao.gmane.io" Cc: monnier@iro.umontreal.ca, 74339@debbugs.gnu.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 25 13:12:19 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 1tFXww-0005jh-Tc for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Nov 2024 13:12:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFXwo-0003in-M1; Mon, 25 Nov 2024 07:12:10 -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 1tFXwl-0003ic-SQ for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 07:12:08 -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 1tFXwg-0001Af-L3 for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 07:12:05 -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=WdBjZPx6VZz96ZfuH2gWhq+nbVgG1jyr+S7AYvwVLmE=; b=Nk3k2/9YcWoM3jjjxWm/JibrBxKwpihU3f8KjmY0O0ZG06ymfbYtTOa1lTGERFTkjO+IaMcD9ZAUVX7bS2oUtfG3Ov70X8EQlJZpZDtJaBOzHwP8Ik5dxl5v8RL9Gwu+ccwPDWKJRTebLmOzxsOXCksc/xVaNEikFN91Pfc4TZn4dcQztyaSgXdKG/Q3yBDquoklT7gVl02w5QHULXvZ5yV5IIqYWO8r9zQxCJprQD8qge27tDBEkmUI3nV8akFreLnxPqejkbP7pBSeg5afD+OPVpX8aAorbyaFF9dSqRzvhfC7bCB7FnRX+8itAoyjcSpgFWaMFEJMz0R/D9Z3Bg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFXwg-0004K7-5e for bug-gnu-emacs@gnu.org; Mon, 25 Nov 2024 07:12: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: Mon, 25 Nov 2024 12:12: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.173253669716579 (code B ref 74339); Mon, 25 Nov 2024 12:12:02 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 25 Nov 2024 12:11:37 +0000 Original-Received: from localhost ([127.0.0.1]:38207 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFXwG-0004JL-Fv for submit@debbugs.gnu.org; Mon, 25 Nov 2024 07:11:36 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:55772) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFXwE-0004J7-NO for 74339@debbugs.gnu.org; Mon, 25 Nov 2024 07:11:35 -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 1tFXw9-00016D-4Z; Mon, 25 Nov 2024 07:11:29 -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=WdBjZPx6VZz96ZfuH2gWhq+nbVgG1jyr+S7AYvwVLmE=; b=l7k/jETe1a5u GiKjpiXBqWftZE2FaFbGu8ZxQldOMvo+RyF2aUbbsk7OH0grIbqmTDnftJYZ6TYDFpFyo4jDsRs0x Qz3ziD9MLBQA87rJ7pvssIz4N7XKaWJl+nwtiTJJ+zDG23B7BHqyjLtBHqD08bUD8860J00wYIUhf oQku/6aSM0XnkIf5z510HvCLOGxhMCLwimjeDaZNfxm/cLHYqUxJ24bPi6IsHdmndmzOxZ8sle2il GWFoT+ZuTGPD7JTMebD6fDCOoza3xfr1wEm5dr37zGDabfr49aXHJso5XVWtpV1Gr80WJ2XzlZu52 njPiFtX4yIqFjZmMwiPzwQ==; In-Reply-To: <2f886c4b-d8a1-46b8-bdf3-35f2e9a2949e@gutov.dev> (message from Dmitry Gutov on Mon, 25 Nov 2024 03:16:08 +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:295942 Archived-At: > Date: Mon, 25 Nov 2024 03:16:08 +0200 > Cc: monnier@iro.umontreal.ca, 74339@debbugs.gnu.org > From: Dmitry Gutov > > On 24/11/2024 07:27, Eli Zaretskii wrote: > >> Date: Sun, 24 Nov 2024 04:56:24 +0200 > >> Cc:74339@debbugs.gnu.org > >> From: Dmitry Gutov > >> > >> On 23/11/2024 21:40, Eli Zaretskii wrote: > >>> Like the patch below. Is it okay? > >> I think it will do what you want it to do, so okay in that sense. > > If you disagree with "what I want it to do", please tell. I think we > > should install this because it does the same as c-ts-mode does. For > > Emacs 30, this is what we can do. So if you are not happy with that > > for ruby-mode, for some reason other than the basic fact that loading > > packages changes things, I'd like to know that before I decide whether > > to install this. > > I'm not happy about it because it doesn't seem like an improvement > overall (specifically - that we decided that the order of loading > packages should affect things as well). But it doesn't seem worth > arguing about right now, given the broader context. > > And I see where you're coming from: we didn't manage to agree on any > other instrument for CC Mode to "undo" the runtime change by c-ts-mode, > and since ruby-ts-mode uses the same variable, consistency asks it to > follow. It's not consistency, it's the need to let users go from one preference to another multiple times during the same session, and in a documented way. > We're still going to land in a halfway zone, though, given that for > example js-ts-mode alters auto-mode-alist, and js-mode doesn't switch it > back. Same for python-ts-mode, html-ts-mode, json-ts-mode, css-ts-mode. Agreed. But there loading cannot solve the problem to begin with.