bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Stefan Monnier
Subject: bug#74339: 30.0.92; CC Mode stomps C TS Mode
Date: Sun, 24 Nov 2024 10:37:23 -0500
User-agent: Gnus/5.13 (Gnus v5.13)

> 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.

I understand we decided back in Emacs-29 that it was the least bad
solution to make it easy for users to use the new TS major modes, but
this was back in Emacs-29.  We should look for ways to remove this kind
of hack rather than spreading it to more files.


        Stefan






reply via email to

[Prev in Thread] Current Thread [Next in Thread]