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: Tue, 26 Nov 2024 16:26:40 +0200 Message-ID: <86mshmgjfj.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> <86mshnikcx.fsf@gnu.org> <162f21b0-9ae6-468d-bd0e-6f20742e67dd@gutov.dev> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6484"; 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 Tue Nov 26 15:27: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 1tFwXB-0001SP-Ra for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 26 Nov 2024 15:27:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFwWt-0004NY-Vh; Tue, 26 Nov 2024 09:27:04 -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 1tFwWs-0004N7-BB for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2024 09:27: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 1tFwWs-0001x2-2J for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2024 09:27: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=qYpKWipbFgpIoz++gYQUSUouS1myx1vgCkVOLRTPMAE=; b=YO8mHI2Pvr8/3hDM4cI6IeJyb5tx/lAqSP2Fd7EI/vbMaC+/gcMHxOnTxWR5kvtlWkTDmrfWKdBaE7P45PQFcMzCCgLhHICZlaAVueI0fclEL96jnWvfzvJUYkoJ8lyGLimT0IPC6hOYCihwhwUMTGqzf7oRIoCPiG1i332eSPV61RuEljJjlQOupl5d5w4a3AeS402Aup52ksWTO8tYh3tzyxDYxRVb3VHcPG3UgiORFzixtfrOL2n895EyDXrjLoZ7o1n/yO7lHNDW7C6LfhOIRWoD/Lobl3SO3u13cOMR/DOJS3Pt3ftEwKJQZ7NpYkIavWQs9+ej70fTTlFsuw==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFwWr-0004yf-RO for bug-gnu-emacs@gnu.org; Tue, 26 Nov 2024 09:27:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 26 Nov 2024 14:27: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.173263121219117 (code B ref 74339); Tue, 26 Nov 2024 14:27:01 +0000 Original-Received: (at 74339) by debbugs.gnu.org; 26 Nov 2024 14:26:52 +0000 Original-Received: from localhost ([127.0.0.1]:48276 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFwWh-0004yG-Sz for submit@debbugs.gnu.org; Tue, 26 Nov 2024 09:26:52 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:50248) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFwWf-0004y4-Kg for 74339@debbugs.gnu.org; Tue, 26 Nov 2024 09:26:50 -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 1tFwWZ-0001tw-La; Tue, 26 Nov 2024 09:26:43 -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=qYpKWipbFgpIoz++gYQUSUouS1myx1vgCkVOLRTPMAE=; b=SjUadz1kQpHD zChSOqd6qzwiq+P+tIiQHoW8n/S7qNjNxpxVUgmFqdcwxF+B8feouTWvSKutoJ6w8yOdSHtAU4Bom TbHPQIxJ3Bf9Srd/aD3NytGJrHFzPQuguffSiN9Ri/VuKHindukMtLC+5OYma5x0dkN8lh4dpDKDS NClKWWAA4YYCqZ6kODSBU6wLhlLCx9swovGRKYL0PoAbVpkY2Veau0zKpvbxUvkJyv1wVIkPzqq+1 RcZlBBwv1TClkQSp4tUMcTXL0Gx+oX+m+TJQm8s9YkB900PwDOucIeBJnPtUP9NsYt8wYDTXipbMT oU1geSReD8NtWtG5iSffWg==; In-Reply-To: <162f21b0-9ae6-468d-bd0e-6f20742e67dd@gutov.dev> (message from Dmitry Gutov on Tue, 26 Nov 2024 01:40:22 +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:295989 Archived-At: > Date: Tue, 26 Nov 2024 01:40:22 +0200 > Cc: monnier@iro.umontreal.ca, 74339@debbugs.gnu.org > From: Dmitry Gutov > > On 25/11/2024 14:11, Eli Zaretskii wrote: > > 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. > > 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?