GNU bug report logs - #62066
29.0.60; go-ts-mode: Couldn't enable go-ts-mode

Previous Next

Package: emacs;

Reported by: Mohammed Sadiq <sadiq <at> sadiqpk.org>

Date: Thu, 9 Mar 2023 07:07:01 UTC

Severity: normal

Tags: notabug

Found in version 29.0.60

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Mohammed Sadiq <sadiq <at> sadiqpk.org>
To: bug-gnu-emacs <at> gnu.org
Subject: 29.0.60; go-ts-mode: Couldn't enable go-ts-mode
Date: Thu, 09 Mar 2023 12:36:11 +0530
When I try to M-x go-ts-mode in some file buffer, it fails with the
following error:

⛔ Warning (treesit): Cannot activate tree-sitter, because language
grammar for gomod is unavailable (not-found): (libtree-sitter-gomod
libtree-sitter-gomod.so) No such file or directory

I have installed all the required libraries running batch.sh script from
https://github.com/casouri/tree-sitter-module

In the dist directory, I see a libtree-sitter-go-mod.so but not
libtree-sitter-gomod.so.



In GNU Emacs 29.0.60 (build 26, x86_64-pc-linux-gnu, GTK+ Version
 3.24.36, cairo version 1.16.0) of 2023-03-09 built on purism
Repository revision: 7e1012765c40a10a8a051c39566778913dc7e224
Repository branch: emacs-29
Windowing system distributor 'The X.Org Foundation', version 
11.0.12101007
System Description: Debian GNU/Linux bookworm/sid




This bug report was last modified 2 years and 74 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.