GNU bug report logs -
#62155
30.0.50; elixir-ts-mode.elc warning
Previous Next
Reported by: Po Lu <luangruo <at> yahoo.com>
Date: Mon, 13 Mar 2023 02:08:01 UTC
Severity: normal
Found in version 30.0.50
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
Full log
Message #14 received at submit <at> debbugs.gnu.org (full text, mbox):
Ruijie Yu via "Bug reports for GNU Emacs, the Swiss army knife of
text editors" <bug-gnu-emacs <at> gnu.org> writes:
> Po Lu via "Bug reports for GNU Emacs, the Swiss army knife of
> text editors" <bug-gnu-emacs <at> gnu.org> writes:
>
>> I get this building elixir-ts-mode:
>>
>> ELC progmodes/elixir-ts-mode.elc
>> Warning (treesit): Cannot activate tree-sitter, because
>> tree-sitter library is not compiled with Emacs
>>
>> Would someone please DTRT?
>
> Have you checked mid:83sfeat1jy.fsf <at> gnu.org (the end of
> bug#61996
> thread)? It seems that there has since been a fix to your
> problem. If
> even after the fix you still observe the problem, maybe Eli and
> Wilhelm
> can chime in to help.
I can see there is still an issue with loading heex-ts-mode from
elixir-ts-mode, but not quite sure how to
immediately resolve it. I will have a look in a couple of hours.
The problem is in the top of elixir-ts-mode.el: (require
'heex-ts-mode) and then we call
(treesit-ready-p 'heex) in heex-ts-mode. I guess the intention
with the
convention here was to only load the -ts-mode when the user
explicitly requires, but it
breaks the way I called (require 'heex-ts-mode) from
elixir-ts-mode.el.
This bug report was last modified 2 years and 70 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.