GNU bug report logs - #74339
30.0.92; CC Mode stomps C TS Mode

Previous Next

Package: emacs;

Reported by: Eli Zaretskii <eliz <at> gnu.org>

Date: Wed, 13 Nov 2024 14:02:02 UTC

Severity: normal

Found in version 30.0.92

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Dmitry Gutov <dmitry <at> gutov.dev>
Cc: monnier <at> iro.umontreal.ca, 74339 <at> debbugs.gnu.org
Subject: bug#74339: 30.0.92; CC Mode stomps C TS Mode
Date: Tue, 26 Nov 2024 16:26:40 +0200
> Date: Tue, 26 Nov 2024 01:40:22 +0200
> Cc: monnier <at> iro.umontreal.ca, 74339 <at> debbugs.gnu.org
> From: Dmitry Gutov <dmitry <at> gutov.dev>
> 
> 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?




This bug report was last modified 252 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.