[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Treesit says grammar is unavailable when it
From: |
Yuan Fu |
Subject: |
Re: Treesit says grammar is unavailable when it |
Date: |
Thu, 14 Dec 2023 00:14:01 -0800 |
> On Dec 13, 2023, at 4:00 AM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> Date: Tue, 12 Dec 2023 19:33:19 -0800
>> From: Yuan Fu <casouri@gmail.com>
>>
>> Thanks for sharing this! Eli, this sort of thing might be good reasons
>> to also print the error message from ldopen, rather than simply saying
>> not found?
>
> I don't mind, but IME relying too much on these error messages is not
> always a good idea, since sometimes they are too generic and say
> nothing except "this failed". But if it will help in some cases,
> let's do it.
>
> However, I would like to see the patch, since we seem to be signaling
> an error already, and the error includes the error message from
> dynlib_open? So what am I missing?
We were showing error messages from dlopen, and then removed them for brevity,
see e8df6c311fcf59bf23d31b9db2bb8fec9d78fbe7
Maybe we can fold the extra error messages by default?
Yuan
- Re: Treesit says grammar is unavailable when it, Gernot Kieseritzky, 2023/12/04
- Re: Treesit says grammar is unavailable when it, Yuan Fu, 2023/12/12
- Re: Treesit says grammar is unavailable when it, Eli Zaretskii, 2023/12/13
- Re: Treesit says grammar is unavailable when it,
Yuan Fu <=
- Re: Treesit says grammar is unavailable when it, Eli Zaretskii, 2023/12/14
- Re: Treesit says grammar is unavailable when it, Madhu, 2023/12/15
- Re: Treesit says grammar is unavailable when it, Eli Zaretskii, 2023/12/15
- Re: Treesit says grammar is unavailable when it, Yuan Fu, 2023/12/17
- Re: Treesit says grammar is unavailable when it, Eli Zaretskii, 2023/12/17
- Re: Treesit says grammar is unavailable when it, Yuan Fu, 2023/12/27