GNU bug report logs -
#60559
29.0.60; "Cannot activate tree-sitter" spam
Previous Next
Reported by: Eric Gillespie <epg <at> pretzelnet.org>
Date: Wed, 4 Jan 2023 17:28:01 UTC
Severity: normal
Tags: notabug, wontfix
Merged with 60176,
60874
Found in version 29.0.60
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
View this message in rfc822 format
> Date: Thu, 5 Jan 2023 08:57:05 +0100
> Cc: 60559 <at> debbugs.gnu.org, mardani29 <at> yahoo.es, epg <at> pretzelnet.org
> From: Jostein Kjønigsen <jostein <at> 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.
This bug report was last modified 2 years and 119 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.