[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: |
Stefan Kangas |
Subject: |
bug#60511: 29.0.50; treesit-ready-p should not emit warning by default |
Date: |
Tue, 3 Jan 2023 11:19:14 +0000 |
Severity: wishlist
This currently emits a warning if the ruby grammar is not installed:
(treesit-ready-p 'ruby)
I think it should *not* emit a warning, as no other predicates in Emacs
do (e.g. `featurep', `integerp', etc.).
It could have an optional flag to emit a warning, if there's a strong
need for that. But personally, I'd rather see a new function for that.
I also don't see much need for the `message' symbol as the second
argument, so I'd simplify the API by dropping that part. It's currently
unused in our tree.
- bug#60511: 29.0.50; treesit-ready-p should not emit warning by default,
Stefan Kangas <=
- 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, 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, 2023/01/08