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


Message #256 received at 74339 <at> debbugs.gnu.org (full text, mbox):

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: Re: bug#74339: 30.0.92; CC Mode stomps C TS Mode
Date: Wed, 27 Nov 2024 05:28:12 +0200
> Date: Wed, 27 Nov 2024 00:06:44 +0200
> Cc: monnier <at> iro.umontreal.ca, 74339 <at> debbugs.gnu.org
> From: Dmitry Gutov <dmitry <at> gutov.dev>
> 
> 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.

I can add such text there.  Is it okay to install those changes with
that text added?




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.