> Date: Sun, 13 Oct 2024 12:37:38 +0300
>
> > It is not clear which modes you suggest that should behave like that.
> > Surely, not all of them, i.e. including those for which non-TS modes
> > are part of Emacs?
>
> I don't have a strong opinion on which set should be enabled - maybe
> just all TS modes which we don't have built-in counterparts. Maybe not
> even toml-ts-mode, since there is conf-toml-mode.
>
> Maybe make some exceptions for TS modes that provide significantly
> better functionality than the classic ones.
I tend to agree.
> What I think is important, though, is avoiding major mode functions
> modiying auto-mode-alist at runtime.
But CC Mode already does, and always did?
I don't think so: those alterations happen in 'autoload' blocks, which means that it happens either during Emacs' startup, or during package initialization, if cc-mode is installed as an ELPA package.