[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60559: 29.0.60; "Cannot activate tree-sitter" spam
From: |
Eli Zaretskii |
Subject: |
bug#60559: 29.0.60; "Cannot activate tree-sitter" spam |
Date: |
Thu, 05 Jan 2023 10:12:22 +0200 |
> Date: Thu, 5 Jan 2023 08:57:05 +0100
> Cc: 60559@debbugs.gnu.org, mardani29@yahoo.es, epg@pretzelnet.org
> From: Jostein Kjønigsen <jostein@secure.kjonigsen.net>
>
> On 05.01.2023 07:51, Eli Zaretskii wrote:
> >
> > So here's a suggestion for such a solution: we make all the
> > *-ts-mode's optional. That is, we don't add any of them to
> > auto-mode-alist unless the file *-ts-mode.el is loaded
>
> So if I understand this correctly, the change is simply that people
> wanting to use these modes now needs to do two things instead of one:
>
> 1. build with tree-sitter support (already a requirement)
>
> 2. will have to (require) the modes they want to use in their init.el
> (the change)
>
> Have I understood things correctly?
Yes, that's the idea. We could also make the mode command be
autoloaded, so just "M-x foo-ts-mode RET" the first time will load the
mode, thus avoiding the need for require in the init files. I guess
there will be users which will prefer one or the other.
> If so, that sounds perfectly reasonable to me.
Thanks.
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, (continued)
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Ihor Radchenko, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Eli Zaretskii, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Ihor Radchenko, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Eli Zaretskii, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Ihor Radchenko, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Ihor Radchenko, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Eli Zaretskii, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Eli Zaretskii, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Ihor Radchenko, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Jostein Kjønigsen, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam,
Eli Zaretskii <=
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Jostein Kjønigsen, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Gregory Heytings, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Gregory Heytings, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Eli Zaretskii, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Eli Zaretskii, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Dmitry Gutov, 2023/01/05
- bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Theodor Thornhill, 2023/01/05
bug#60559: 29.0.60; "Cannot activate tree-sitter" spam, Stephen Berman, 2023/01/04