Subject: Re: bug#60559: 29.0.60; "Cannot activate tree-sitter" spam

From: Eli Zaretskii <[email-masked]>
Date: Thu, 05 Jan 2023 10:26:28 +0200

> From: Ihor Radchenko <[email-masked]>
> Cc: [email-masked], [email-masked], [email-masked],
>  [email-masked], [email-masked], [email-masked],
>  [email-masked], [email-masked]
> Date: Thu, 05 Jan 2023 08:00:09 +0000
> 
> Eli Zaretskii <[email-masked]> writes:
> 
> >> What if they are auto-loaded?
> >
> > Autoloaded how?  IOW, what variable or function is autoloaded and
> > causes these modes to be automatically loaded?  And where do we have
> > or could have such code?
> 
> Auto-completion.
> 
> 1. emacs -Q
> 2. M-: (featurep 'go-ts-mode)  ; => nil
> 3. <F1> f go-ts- <TAB> mode <RET>
> 4. M-:  (featurep 'go-ts-mode)  ; => t

I cannot reproduce this with toml-ts-mode on the emacs-29 branch.
go-ts-mode is still the default for Go files, but toml-ts-mode is not
the default for TOML files.