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: Wed, 27 Nov 2024 00:06:44 +0200 Message-ID: <626c7114-9024-4272-903f-835342ad4844@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> <2f886c4b-d8a1-46b8-bdf3-35f2e9a2949e@gutov.dev> <86mshnikcx.fsf@gnu.org> <162f21b0-9ae6-468d-bd0e-6f20742e67dd@gutov.dev> <86mshmgjfj.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="15664"; 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 Tue Nov 26 23:07:25 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 1tG3iP-0003wa-B4 for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Nov 2024 23:07:25 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tG3i8-0005Wo-Dh; Tue, 26 Nov 2024 17:07:08 -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 1tG3i3-0005WG-AT for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2024 17:07: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 1tG3i2-0002HV-Ch for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2024 17:07:03 -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=zUqjxsAKizc/zpnXHTMuS0ATkpUzvHH+vLxbQmFnl3M=; b=m+4rTbc8BGxCSPxDbBXmUzhmLEjRToomWMdbzppPM3wGF8lq4SWikubxEDcc8mKI1QoWs8vE4Li0zH9gBoqbkZ3nUKulvlNWQSYZLyP2gJlV6QTNYA3xUgS/9bq+sd/C3s33h+Hm9POY0DDEtW1oQUlMDszXBTqXoDohQCqY28vFDqOuSjAZWMOn51dczgE1UCCsNyPocgPfvgGfpSNA+bHpUpDG/y2zC7QDyjIQN3S7DBEIDf9YKIBRO5Tpkpao9aSSDs/KK47YDero5H+7soLhgGWnZ9vlRKFXOwUAgJ4ZvWlZGAZhMaBpgecFrKZ0zm8XS7MFbPwA70G/I5wtsQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tG3i2-0003ku-5k for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2024 17:07:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Nov 2024 22:07: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.173265881614417 (code B ref 74339); Tue, 26 Nov 2024 22:07:02 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 26 Nov 2024 22:06:56 +0000 Original-Received: from localhost ([127.0.0.1]:54630 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tG3hv-0003kS-U8 for submit@debbugs.gnu.org; Tue, 26 Nov 2024 17:06:56 -0500 Original-Received: from fhigh-b3-smtp.messagingengine.com ([202.12.124.154]:44225) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tG3hv-0003kF-5n for 74339@debbugs.gnu.org; Tue, 26 Nov 2024 17:06:55 -0500 Original-Received: from phl-compute-11.internal (phl-compute-11.phl.internal [10.202.2.51]) by mailfhigh.stl.internal (Postfix) with ESMTP id F2EB12540144; Tue, 26 Nov 2024 17:06:48 -0500 (EST) Original-Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-11.internal (MEProxy); Tue, 26 Nov 2024 17:06:49 -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=1732658808; x=1732745208; bh=zUqjxsAKizc/zpnXHTMuS0ATkpUzvHH+vLxbQmFnl3M=; b= IEhyUpiyUxhBaYrnzUJq4mbRXAGyKBx7n1MwkRaJusP/77qp3KK3g71paZiK67+D nVn5x+d+g2l0KKV6pP+o8TJ8nyllFUIgy3e6X+uKnlWHTWQwBuSPWJMAUsv2vcYQ IpTq7jvG7mYqiqdajSJcC/yA/oTv4fh6ptQeTU5rfBsooVy6CeuhK2/ruNseC/OA n8wJfZXN9l0aDekHZgvr6CP0IOLYNGsy2lrvOq+kiEd0R3df+KUZ6blm477zWMnY 3hAkAd6k4Q8LbsXxSH66RcQkOlU9b5V+bp3nwSTqMnNFACLjLGrq19BDPU8raIBn 0EL/vZNx8N9wJbrdfv3zXg== 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=1732658808; x= 1732745208; bh=zUqjxsAKizc/zpnXHTMuS0ATkpUzvHH+vLxbQmFnl3M=; b=F uSZt0rNAFghLlh7/3kJ5xn0/6v1AlLhz6Ily7RYlgPLzfBb9mYsgY5t6gBxGZhRj DAQ4GMXXCQ6xn7xltSYMs5ZM4mom4siUL2nVloWvAur05BoZjhsE6UZEXAsfNLSa ZpMMK6qm7SOSco8DNCj1cRuiOlNCVqHETwtu4mK98aFbBGN/fgusBI9FyZIlcxKa 4ZmSLX424ze0+wqdSej7S/liXmo19CYFRCgqB5gwEolTQB1IIYC3Ei6Z4t6JAp5J x406O7wZvboVg/5djCvI55dt2WPF+2CEuSF2sEC+CEQB9fQamwHFteh5ZmRhsrJO Zo5YoJEgri7kfU7C+imkw== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeefuddrgeejgdduhedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhepkfffgggfuffvvehfhfgjtgfgsehtjeertddtvdej necuhfhrohhmpeffmhhithhrhicuifhuthhovhcuoegumhhithhrhiesghhuthhovhdrug gvvheqnecuggftrfgrthhtvghrnhepteduleejgeehtefgheegjeekueehvdevieekueef tddvtdevfefhvdevgedujeehnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpe hmrghilhhfrhhomhepughmihhtrhihsehguhhtohhvrdguvghvpdhnsggprhgtphhtthho peefpdhmohguvgepshhmthhpohhuthdprhgtphhtthhopegvlhhiiiesghhnuhdrohhrgh dprhgtphhtthhopehmohhnnhhivghrsehirhhordhumhhonhhtrhgvrghlrdgtrgdprhgt phhtthhopeejgeeffeelseguvggssghughhsrdhgnhhurdhorhhg X-ME-Proxy: Feedback-ID: i07de48aa:Fastmail Original-Received: by mail.messagingengine.com (Postfix) with ESMTPA; Tue, 26 Nov 2024 17:06:46 -0500 (EST) Content-Language: en-US In-Reply-To: <86mshmgjfj.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:296004 Archived-At: On 26/11/2024 16:26, Eli Zaretskii wrote: >> Okay. If we're going to document this though, could we make an explicit >> note that it's a temporary solution? I.e. it's likely to stop working in >> the next Emacs release. > This is somewhat problematic, since we have no good place for such > "temporary" documentation. What we did instead is that Emacs 30 > suggests to use major-mode-remap-alist as the first, and in most > places the only, way of preferring the tree-sitter based modes. Both > NEWS and the user manual mention only this method. > > So the support for changing the preference by loading a file is > already not advertised except in the commentary to c-ts-mode.el etc. > It is basically kept for users who remember doing that in Emacs 29. > > Is that good enough? Sure, that seems good to me. As long as we're not beholden to keep supporting is later. Not sure if this means that your proposed change to ruby-mode should likewise include some text for Commentary.