all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mohammed Sadiq <sadiq@sadiqpk.org>
Cc: 62066@debbugs.gnu.org
Subject: bug#62066: 29.0.60; go-ts-mode: Couldn't enable go-ts-mode
Date: Thu, 09 Mar 2023 10:10:53 +0200	[thread overview]
Message-ID: <83lek62vle.fsf@gnu.org> (raw)
In-Reply-To: <1f176b9113ef4567c92bf3afe278c321@sadiqpk.org> (message from Mohammed Sadiq on Thu, 09 Mar 2023 12:36:11 +0530)

tags 62066 notabug
thanks

> Date: Thu, 09 Mar 2023 12:36:11 +0530
> From: Mohammed Sadiq <sadiq@sadiqpk.org>
> 
> 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.

The correct name is libtree-sitter-gomod.so.  So this is your local
system configuration issue, not a bug in Emacs.

Please don't use the outdated script from
https://github.com/casouri/tree-sitter-module, use the one in
admin/notes/tree-sitter/build-module directory in the Emacs Git
repository instead.  (Actually, the command
treesit-install-language-grammar should be even better.)





      parent reply	other threads:[~2023-03-09  8:10 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-09  7:06 bug#62066: 29.0.60; go-ts-mode: Couldn't enable go-ts-mode Mohammed Sadiq
     [not found] ` <handler.62066.B.16783455831993.ack@debbugs.gnu.org>
2023-03-09  7:20   ` bug#62066: Acknowledgement (29.0.60; go-ts-mode: Couldn't enable go-ts-mode) Mohammed Sadiq
2023-03-09  8:11     ` Eli Zaretskii
2023-03-09  8:10 ` Eli Zaretskii [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lek62vle.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=62066@debbugs.gnu.org \
    --cc=sadiq@sadiqpk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.