[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: tree-sitter: Paths used for loading of language definitions
From: |
Yuan Fu |
Subject: |
Re: tree-sitter: Paths used for loading of language definitions |
Date: |
Mon, 17 Oct 2022 02:02:43 -0700 |
> On Oct 17, 2022, at 1:02 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> Date: Mon, 17 Oct 2022 09:14:58 +0200
>> Cc: emacs-devel@gnu.org
>> From: Jostein Kjønigsen <jostein@secure.kjonigsen.net>
>>
>> textmodes/mhtml-mode.el:29:2: Error: Cannot load language definition:
>> "javascript",
>> ("/home/jostein/.emacs.d/tree-sitter/libtree-sitter-javascript: cannot open
>> shared object file: No such file or
>> directory" "/home/jostein/.emacs.d/tree-sitter/libtree-sitter-javascript.so:
>> cannot open shared object file: No
>> such file or directory" "libtree-sitter-javascript: cannot open shared
>> object file: No such file or directory"
>> "libtree-sitter-javascript.so: cannot open shared object file: No such file
>> or directory")
>
> The error data should be improved to provide a more informative error
> message. It would be best to display just the name of the language
> definition library, without leading directories.
You mean something like
Error: Cannot load language definition: "javascript”,
“libtree-sitter-javascript.so”
?
Yuan
- Some issues with the tree-sitter branch, Eli Zaretskii, 2022/10/16
- Re: Some issues with the tree-sitter branch, Eli Zaretskii, 2022/10/16
- Re: Some issues with the tree-sitter branch, Eli Zaretskii, 2022/10/16
- tree-sitter: Paths used for loading of language definitions, Jostein Kjønigsen, 2022/10/16
- Re: tree-sitter: Paths used for loading of language definitions, Daniel Martín, 2022/10/16
- Re: tree-sitter: Paths used for loading of language definitions, Yuan Fu, 2022/10/17
- Re: tree-sitter: Paths used for loading of language definitions, Jostein Kjønigsen, 2022/10/17
- Re: tree-sitter: Paths used for loading of language definitions, Yuan Fu, 2022/10/17
- Re: tree-sitter: Paths used for loading of language definitions, Eli Zaretskii, 2022/10/17
- Re: tree-sitter: Paths used for loading of language definitions,
Yuan Fu <=
- Re: tree-sitter: Paths used for loading of language definitions, Eli Zaretskii, 2022/10/17
- Re: tree-sitter: Paths used for loading of language definitions, Stephen Leake, 2022/10/17
- Re: tree-sitter: Paths used for loading of language definitions, Eli Zaretskii, 2022/10/17
- Re: tree-sitter: Paths used for loading of language definitions, Yuan Fu, 2022/10/17
Re: Some issues with the tree-sitter branch, Yuan Fu, 2022/10/17