From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs 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 Message-ID: <83lekigfmk.fsf@gnu.org> References: <83o7peho9b.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16324"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 61849@debbugs.gnu.org To: Misha Zharov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Feb 28 13:05:36 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1pWyjf-00044U-Nk for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 28 Feb 2023 13:05:35 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pWyjJ-00032t-Ma; Tue, 28 Feb 2023 07:05:15 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWyj8-00031o-Rd for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 07:05:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pWyj8-0003Di-Db for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 07:05:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pWyj7-00038m-Qe for bug-gnu-emacs@gnu.org; Tue, 28 Feb 2023 07:05:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 28 Feb 2023 12:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 61849 X-GNU-PR-Package: emacs Original-Received: via spool by 61849-submit@debbugs.gnu.org id=B61849.167758589112038 (code B ref 61849); Tue, 28 Feb 2023 12:05:01 +0000 Original-Received: (at 61849) by debbugs.gnu.org; 28 Feb 2023 12:04:51 +0000 Original-Received: from localhost ([127.0.0.1]:49844 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWyix-000385-Dc for submit@debbugs.gnu.org; Tue, 28 Feb 2023 07:04:51 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:42390) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pWyiu-00037n-7F for 61849@debbugs.gnu.org; Tue, 28 Feb 2023 07:04:49 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWyio-00038E-OG; Tue, 28 Feb 2023 07:04:42 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=jvuorUfxAeetZ1qnE93WbgE/RJucX9f78T3/cttNr4Y=; b=Fv+0wgX+ATHh OdUbkSABVLbCBtjc9p4RJhDJeYYuUdD67t6HErI907aqBddyoB3g73QpjKlAjbUS+7PiTbG2iwgwI CuVJyL+6sJJAaVHRShkUlmCpN+3ruJoi5Z94+xBqD6qL6mLUGND/z2lMwTv5CNxSumQPoxhsnlTjM BQc2WcWwr01n8CwyvF8KZlg9XuZaQCovawFKwRYNS9dE8pbkfiQj6iCCpovxNJvrZtC+YEkR2x6Ug PPwnQLiE+NLd3FB1Us2j+9EYwFpS4m+hLjhucBJMM+L5gpvwoX4idAzssiktSTZgpijyEz1fNObzZ 8gaTWFqKCalh1zsIgl1O9w==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1pWyio-0003M1-0j; Tue, 28 Feb 2023 07:04:42 -0500 In-Reply-To: (message from Misha Zharov on Mon, 27 Feb 2023 19:13:59 -0800) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:256948 Archived-At: > From: Misha Zharov > 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.