Subject: Re: bug#74339: 30.0.92; CC Mode stomps C TS Mode

From: Dmitry Gutov <[email-masked]>
Date: Mon, 25 Nov 2024 02:57:03 +0200

On 24/11/2024 18:47, Stefan Monnier wrote:
>>>> Like the patch below.  Is it okay?
>>> [...]
>>>> +(setq major-mode-remap-defaults
>>>> +      (assq-delete-all 'ruby-mode major-mode-remap-defaults))
>>>> +
>>> So, this adds `ruby-mode.el` and `ruby-ts-mode.el` to the list of files
>>> which break our coding convention that loading a file should not affect
>>> Emacs's behavior.
>> No, it doesn't: ruby-ts-mode already did that, due to this change:
> Duh!  Sorry 'bout the noise,

As far as Ruby is concerned, I believe we did that in 
6b2f85caa6cae1178b8a. The later changes just altered the method with 
which the effects are applied.