bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#61849: 29.0.60; Unable to use treesit-install-language-grammar becau


From: Eli Zaretskii
Subject: bug#61849: 29.0.60; Unable to use treesit-install-language-grammar because repo doesn't have parser.c
Date: Tue, 28 Feb 2023 14:04:51 +0200

> From: Misha Zharov <mishazharov1@gmail.com>
> Date: Mon, 27 Feb 2023 19:13:59 -0800
> Cc: 61849@debbugs.gnu.org
> 
> Thanks for getting back to me
> 
> > (Btw, why not use https://github.com/DerekStride/tree-sitter-sql
> > instead?)
> 
> I just landed on the other one first, no particular reason.  Initially it
> worked until they removed the autogenerated code that was in
> the repo.  As a workaround I can switch to the sql grammar that you
> have recommended, but the problem might occur again in other
> repos.
> 
> > I'm not sure we should incorporate in Emacs so much of this
> > specialized stuff.
> 
> That's fair, but I fear that more repos will remove the autogenerated
> parser code, which will make treesit-install-language-grammar
> much less useful.

If that starts to happen too much, we'll need to rethink this feature.
It is supposed to be extremely reliable, and this should not rely on
tools that might not be installed, because giving clueless users a
tool that fails unless one "tinkers" is not a good idea, IMO.

I'll leave this bug open for now.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]