* bug#63945: Language grammer not working for Typescript (Emacs 30 , fedora)
@ 2023-06-07 11:18 Rajan Paudel via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-07 12:47 ` bug#63944: " Eli Zaretskii
` (3 more replies)
0 siblings, 4 replies; 8+ messages in thread
From: Rajan Paudel via Bug reports for GNU Emacs, the Swiss army knife of text editors @ 2023-06-07 11:18 UTC (permalink / raw)
To: help-gnu-emacs, emacs-devel, 63945
[-- Attachment #1: Type: text/plain, Size: 1065 bytes --]
Hello , i've a bug not working tree-sitter grammer for typescript .
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.
Thank you for helping.
[-- Attachment #2: Type: text/html, Size: 2067 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#63944: Language grammer not working for Typescript (Emacs 30 , fedora)
2023-06-07 11:18 bug#63945: Language grammer not working for Typescript (Emacs 30 , fedora) Rajan Paudel via Bug reports for GNU Emacs, the Swiss army knife of text editors
@ 2023-06-07 12:47 ` Eli Zaretskii
2023-06-07 12:48 ` bug#63945: " Eli Zaretskii
` (2 subsequent siblings)
3 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2023-06-07 12:47 UTC (permalink / raw)
To: Rajan Paudel; +Cc: 63944
> 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@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?
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#63945: Language grammer not working for Typescript (Emacs 30 , fedora)
2023-06-07 11:18 bug#63945: Language grammer not working for Typescript (Emacs 30 , fedora) Rajan Paudel via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-07 12:47 ` bug#63944: " Eli Zaretskii
@ 2023-06-07 12:48 ` Eli Zaretskii
2023-06-07 12:50 ` bug#63946: " Eli Zaretskii
2023-06-07 12:50 ` Eli Zaretskii
3 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2023-06-07 12:48 UTC (permalink / raw)
To: Rajan Paudel; +Cc: 63945
merge 63945 63944
thanks
> 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@gnu.org>
>
> Hello , i've a bug not working tree-sitter grammer for typescript .
> When i open any typescript file i get this bug saying
This is an exact duplicate of bug#63944.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#63946: Language grammer not working for Typescript (Emacs 30 , fedora)
2023-06-07 11:18 bug#63945: Language grammer not working for Typescript (Emacs 30 , fedora) Rajan Paudel via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-07 12:47 ` bug#63944: " Eli Zaretskii
2023-06-07 12:48 ` bug#63945: " Eli Zaretskii
@ 2023-06-07 12:50 ` Eli Zaretskii
2023-06-07 12:50 ` Eli Zaretskii
3 siblings, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2023-06-07 12:50 UTC (permalink / raw)
To: Rajan Paudel; +Cc: 63946, help-gnu-emacs, emacs-devel
Please don't respond to this on any of the 3 mailing lists:
emacs-devel, help-gnu-emacs, and emacs-pretest-bug. Let's discuss
this only on the bug tracker (CC any responses to
63944@debbugs.gnu.org), without cross-posting to other lists.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Language grammer not working for Typescript (Emacs 30 , fedora)
2023-06-07 11:18 bug#63945: Language grammer not working for Typescript (Emacs 30 , fedora) Rajan Paudel via Bug reports for GNU Emacs, the Swiss army knife of text editors
` (2 preceding siblings ...)
2023-06-07 12:50 ` bug#63946: " Eli Zaretskii
@ 2023-06-07 12:50 ` Eli Zaretskii
2023-06-07 12:58 ` bug#63946: " Eli Zaretskii
2023-06-07 21:42 ` Emanuel Berg
3 siblings, 2 replies; 8+ messages in thread
From: Eli Zaretskii @ 2023-06-07 12:50 UTC (permalink / raw)
To: Rajan Paudel; +Cc: help-gnu-emacs, emacs-devel, emacs-pretest-bug
Please don't respond to this on any of the 3 mailing lists:
emacs-devel, help-gnu-emacs, and emacs-pretest-bug. Let's discuss
this only on the bug tracker (CC any responses to
63944@debbugs.gnu.org), without cross-posting to other lists.
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#63946: Language grammer not working for Typescript (Emacs 30 , fedora)
2023-06-07 12:50 ` Eli Zaretskii
@ 2023-06-07 12:58 ` Eli Zaretskii
2023-06-07 21:42 ` Emanuel Berg
1 sibling, 0 replies; 8+ messages in thread
From: Eli Zaretskii @ 2023-06-07 12:58 UTC (permalink / raw)
To: 63946-done
Not a bug, a mistake.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Language grammer not working for Typescript (Emacs 30 , fedora)
2023-06-07 12:50 ` Eli Zaretskii
2023-06-07 12:58 ` bug#63946: " Eli Zaretskii
@ 2023-06-07 21:42 ` Emanuel Berg
2023-06-09 6:26 ` bug#63944: " Jostein Kjønigsen
1 sibling, 1 reply; 8+ messages in thread
From: Emanuel Berg @ 2023-06-07 21:42 UTC (permalink / raw)
To: emacs-devel; +Cc: help-gnu-emacs, emacs-pretest-bug
Eli Zaretskii wrote:
> Please don't respond to this on any of the 3 mailing lists:
> emacs-devel, help-gnu-emacs
Right.
> and emacs-pretest-bug
Especially not that, here is the last post from 2007-08-15:
https://lists.gnu.org/r/emacs-pretest-bug/2007-08/msg00066.html
> Let's discuss this only on the bug tracker (CC any responses
> to 63944@debbugs.gnu.org), without cross-posting to
> other lists.
Cred to everyone reporting bugs - including those who do it in
the correct way :)
--
underground experts united
https://dataswamp.org/~incal
^ permalink raw reply [flat|nested] 8+ messages in thread
* bug#63944: Language grammer not working for Typescript (Emacs 30 , fedora)
2023-06-07 21:42 ` Emanuel Berg
@ 2023-06-09 6:26 ` Jostein Kjønigsen
0 siblings, 0 replies; 8+ messages in thread
From: Jostein Kjønigsen @ 2023-06-09 6:26 UTC (permalink / raw)
To: Rajan Paudel, 63944; +Cc: Eli Zaretskii
[-- Attachment #1: Type: text/plain, Size: 845 bytes --]
> In that directory i can find `.so` for other , but not for typescript. Because of same error was coming i tried to use I had tried to use treesit-auto, which manually install treesitter , but it also failed ,while not for other languages i tried.
>
> [image.png]
>
> This error was only coming from `typescript-ts-mode` , I'm doing angular, i cant get ide features now for angular . Thank you for helping
Try manually installing the grammar:
* M-x treesit-install-language-grammar
* Type "typescript"
* Confirm you want an interactive install.
* Use this url for language grammar:
https://github.com/tree-sitter/tree-sitter-typescript
This is what I've done and it works for me.
--
Vennlig hilsen
*Jostein Kjønigsen*
jostein@kjonigsen.net 🍵 jostein@gmail.com
https://jostein.kjønigsen.no <https://jostein.kjønigsen.no>
[-- Attachment #2: Type: text/html, Size: 2177 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2023-06-09 6:26 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-06-07 11:18 bug#63945: Language grammer not working for Typescript (Emacs 30 , fedora) Rajan Paudel via Bug reports for GNU Emacs, the Swiss army knife of text editors
2023-06-07 12:47 ` bug#63944: " Eli Zaretskii
2023-06-07 12:48 ` bug#63945: " Eli Zaretskii
2023-06-07 12:50 ` bug#63946: " Eli Zaretskii
2023-06-07 12:50 ` Eli Zaretskii
2023-06-07 12:58 ` bug#63946: " Eli Zaretskii
2023-06-07 21:42 ` Emanuel Berg
2023-06-09 6:26 ` bug#63944: " Jostein Kjønigsen
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.