[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#61223: 29.0.60; treesit--install-language-grammar-build-recipe refer
From: |
Ruijie Yu |
Subject: |
bug#61223: 29.0.60; treesit--install-language-grammar-build-recipe refers github |
Date: |
Thu, 2 Feb 2023 16:41:10 +0800 |
On Feb 2, 2023, at 14:19, Yuan Fu <casouri@gmail.com> wrote:
>
> X-Debbugs-CC: eliz@gnu.org, dgutov@yandex.ru
> --text follows this line--
> I noticed that treesit-install-language-grammar now automatically builds
> the repository url from github:
>
> (let ((repo-default (format "https://github.com/tree-sitter/tree-sitter-%s"
> lang)))
> (read-string
> "Enter the URL of the Git repository of the language grammar: "
> (and (treesit--check-repo-url repo-default) repo-default)))
>
>
> AFAICT GNU don’t want to promote/refer to github, that’s why I didn’t
> include “official” grammar repositories in
> treesit-language-source-alist. Was there a discussion that I missed?
>
> This is a nice feature, but I’d hate having to remove it later, after
> users have noticed it and started using/depending on it, due to some GNU
> policy.
>
> Yuan
Hello Yuan,
I think this is the result of installing the proposed patch from bug#61051,
which Eli approved and Dmitry installed. I had my doubts on the github
reference but didn’t ask back then.
Best,
RY