[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#60511: 29.0.50; treesit-ready-p should not emit warning by default
From: |
Juri Linkov |
Subject: |
bug#60511: 29.0.50; treesit-ready-p should not emit warning by default |
Date: |
Sun, 08 Jan 2023 19:35:27 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/30.0.50 (x86_64-pc-linux-gnu) |
>> >> I can make treesit-ready-p not emit any warning by default, and change
>> >> the quiet parameter to WARN, and accept either 'warn or ‘message.
>> >>
>> >> Basically:
>> >>
>> >> (treesit-ready-p lang) => t/nil
>> >> (treesit-ready-p lang 'warn) => t/emit warning
>> >> (treesit-ready-p lang 'message) => t/message
>> >>
>> >> Eli, WDYT?
>> >
>> > I think the default should be to emit a warning, like we do now.
>>
>> Then how users could change this default?
>
> In what situation?
>
> If they invoke the mode, they aren't supposed to disable the warning,
> and they cannot.
In a situation when they want simply to visit a file without using
tree-sitter features, and that visit won't require from them
customization with modifying auto-mode-alist, etc.
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Stefan Kangas, 2023/01/03
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Juri Linkov, 2023/01/03
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Yuan Fu, 2023/01/04
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Yuan Fu, 2023/01/07
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Eli Zaretskii, 2023/01/08
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Juri Linkov, 2023/01/08
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Eli Zaretskii, 2023/01/08
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default,
Juri Linkov <=
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Eli Zaretskii, 2023/01/08
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Juri Linkov, 2023/01/08
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Eli Zaretskii, 2023/01/08
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Stefan Kangas, 2023/01/08
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Juri Linkov, 2023/01/08
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default, Eli Zaretskii, 2023/01/08