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: Mon, 25 Nov 2024 03:16:08 +0200 Message-ID: <2f886c4b-d8a1-46b8-bdf3-35f2e9a2949e@gutov.dev> 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> 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="24766"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla Thunderbird Cc: monnier@iro.umontreal.ca, 74339@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 25 02:17: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 1tFNjC-0006Fg-HH for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Nov 2024 02:17:27 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFNip-0008I7-0J; Sun, 24 Nov 2024 20:17: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 1tFNio-0008Hs-32 for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 20:17: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 1tFNin-0000ER-R7 for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 20:17:01 -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=+n+m/d/3CYeuy8X7ytgm27JwguwvORElQfDbr0b90WE=; b=eTHayRPHqvkL/J4xWgv52zkYjjAxyf2IcFB5MiEc20CK7inWjJI9tHhbqCERT97LRrVN61T/+bvZz5zKx8O+fWedIrrMkQyp58aNHhLh2T2GGilgeBxtS+PYvXRQouuIjKfi74WWhBE9yg325iBFAYmmVGgEMr8JdfcT/Vs67ctet4W8uoTtuaNuYm/xIg7zctYTAzLlGNjAdLSL2rkFuoUrAsGg8hQvba+Hc+EMb47G2XkDIITZ0/MMZCQYIKmN9Jl75RjX9WAkYXYq7Jj0GDRVeWeWLQN+GmeN00CGUhurXXSgE3fW2CKuzQ7GqMjZ17l1Mx42bZk+8aUNo4pfSg==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFNin-0006fj-M0 for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 20:17: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: Mon, 25 Nov 2024 01:17: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.173249737925568 (code B ref 74339); Mon, 25 Nov 2024 01:17:01 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 25 Nov 2024 01:16:19 +0000 Original-Received: from localhost ([127.0.0.1]:36601 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFNi7-0006eK-Dr for submit@debbugs.gnu.org; Sun, 24 Nov 2024 20:16:19 -0500 Original-Received: from fhigh-b8-smtp.messagingengine.com ([202.12.124.159]:34831) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFNi5-0006e4-5N for 74339@debbugs.gnu.org; Sun, 24 Nov 2024 20:16:18 -0500 Original-Received: from phl-compute-04.internal (phl-compute-04.phl.internal [10.202.2.44]) by mailfhigh.stl.internal (Postfix) with ESMTP id DAE162540144; Sun, 24 Nov 2024 20:16:11 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-04.internal (MEProxy); Sun, 24 Nov 2024 20:16:11 -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=1732497371; x=1732583771; bh=+n+m/d/3CYeuy8X7ytgm27JwguwvORElQfDbr0b90WE=; b= XAAdVTFR01R41K7F3n/u0z1MKfx3BbpsU5U5S9SAwPJSKL19dCp7Zvom7rnb6W67 MjqTaCZo2ULCPS5yMwlqpig9Axyv1t19bsz9edcG/11SKOpk3BnLQ96xu57m5BEu Wx7uAUfCEj7W8iX9+mmwaWJmxxatODglkZmgowccTYQHA4zioc9MSzfvecyYZJOi epBuMSf/+kc57zvCanHPF7dFHQV8wcguxy/IiYcAUkQSrd6eG6S9oVA7K/hxEYKD 6G4tDgKXVZEdr5VaVl2ACQDJ3BlMhcq9jGj05dH6gemwkfbCVYrhcKPBTxSghmst xPyFgmhrnphEbNV5j5R76w== 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=fm1; t=1732497371; x= 1732583771; bh=+n+m/d/3CYeuy8X7ytgm27JwguwvORElQfDbr0b90WE=; b=S 5XclxxYc5ZpoUa1S39xme7/L0EMEmZXzflIGNQXVwY478K+Kpb7kp16LN7novdEA 6ZtZ8fUiA1z9ei0u+ufrL/eybsD3HjUKPpVsG/1zUoGMTxh/SzMEu8vStte2eHCR iDdZYmvWAxx5sFqfsqdi0ymLIce4PSthO1O3XHeNGAOiAtH2Eg6IaR7ghjEDEG2x ea+S77eyI22Xl9jalqb9SfYIugP68DkF1xZx2q5di5ono5RSO/r7oSQswGluSYi5 /8FMUs46HrMs0v3RBRC1gQwbcu75zqAo5+Bh3VmJi6RanK6NE3opbyunHqMxTdcn 0arga1rZACR5OguefUXlA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrgeeggdefudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpggftfghnshhusghstghrihgsvgdpuffr tefokffrpgfnqfghnecuuegrihhlohhuthemuceftddtnecusecvtfgvtghiphhivghnth hsucdlqddutddtmdenucfjughrpefkffggfgfuvfevfhfhjggtgfesthejredttddvjeen ucfhrhhomhepffhmihhtrhihucfiuhhtohhvuceoughmihhtrhihsehguhhtohhvrdguvg hvqeenucggtffrrghtthgvrhhnpeetudeljeegheetgfehgeejkeeuhedvveeikeeufedt vddtveefhfdvveegudejheenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmh grihhlfhhrohhmpegumhhithhrhiesghhuthhovhdruggvvhdpnhgspghrtghpthhtohep fedpmhhouggvpehsmhhtphhouhhtpdhrtghpthhtohepvghlihiisehgnhhurdhorhhgpd hrtghpthhtohepmhhonhhnihgvrhesihhrohdruhhmohhnthhrvggrlhdrtggrpdhrtghp thhtohepjeegfeefleesuggvsggsuhhgshdrghhnuhdrohhrgh X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Sun, 24 Nov 2024 20:16:10 -0500 (EST) Content-Language: en-US In-Reply-To: <86wmgtjj56.fsf@gnu.org> 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:295925 Archived-At: 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. 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.