GNU bug report logs - #63944
Language grammer not working for Typescript (Emacs 30 , fedora)

Previous Next

Package: emacs;

Reported by: Rajan Paudel <rajan99702 <at> proton.me>

Date: Wed, 7 Jun 2023 11:57:02 UTC

Severity: normal

Merged with 63945

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Rajan Paudel <rajan99702 <at> proton.me>
Cc: 63944 <at> debbugs.gnu.org
Subject: bug#63944: Language grammer not working for Typescript (Emacs 30 ,  fedora)
Date: Wed, 07 Jun 2023 15:47:17 +0300
> Date: Wed, 07 Jun 2023 11:18:59 +0000
> From:  Rajan Paudel via "Bug reports for GNU Emacs,
>  the Swiss army knife of text editors" <bug-gnu-emacs <at> gnu.org>
> 
> Hello , i've a bug not working tree-sitter grammer for typescript . 

Thank you for your report.

However, please don't cross-post bug reports to multiple addresses, in
particular not to the two Emacs mailing lists, help-gnu-emacs and
emacs-devel.

> When i open any typescript file i get this bug saying 
> 
> ```
> ⛔ Warning (comp): tramp-loaddefs.el.gz:754:2478: Warning: reference to free variable
> ‘tramp-remote-path’
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar for typescript is
> unavailable (symbol-error): /home/kali/.emacs.d/tree-sitter/libtree-sitter-typescript.so: undefined
> symbol: tree_sitter_typescript
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar for tsx is unavailable
> (not-found): (libtree-sitter-tsx libtree-sitter-tsx.0 libtree-sitter-tsx.0.0 libtree-sitter-tsx.so
> libtree-sitter-tsx.so.0 libtree-sitter-tsx.so.0.0) No such file or directory
> ⛔ Warning (treesit): Cannot activate tree-sitter, because language grammar for typescript is
> unavailable (symbol-error): /home/kali/.emacs.d/tree-sitter/libtree-sitter-typescript.so: undefined
> symbol: tree_sitter_typescript
> 
> ```
> 
> I've already installed all required packages for tree-sitter in fedora. 

The error messages say Emacs cannot find the libraries in the specific
directories shown as part of the error message.  Are you saying the
libraries are in fact in /home/kali/.emacs.d/tree-sitter/, and Emacs
still doesn't find them?




This bug report was last modified 1 year and 350 days ago.

Previous Next


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