unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Dmitry Gutov <dgutov@yandex.ru>
Cc: 61051@debbugs.gnu.org
Subject: bug#61051: treesit-install-language-grammar can provide the default repository URL
Date: Wed, 25 Jan 2023 16:50:37 +0200	[thread overview]
Message-ID: <83lelqfz2a.fsf@gnu.org> (raw)
In-Reply-To: <2ede0353-6699-1196-df9e-2e4317e9ef36@yandex.ru> (message from Dmitry Gutov on Wed, 25 Jan 2023 16:00:48 +0200)

> Date: Wed, 25 Jan 2023 16:00:48 +0200
> Cc: 61051@debbugs.gnu.org
> From: Dmitry Gutov <dgutov@yandex.ru>
> 
> >> -        "Enter the URL of the Git repository of the language grammar: ")
> >> +        "Enter the URL of the Git repository of the language grammar: "
> >> +        (format"https://github.com/tree-sitter/tree-sitter-%s"  lang))
> >>           (empty-string-to-nil
> >>            (read-string
> >>             "Enter the tag or branch (default: default branch): "))
> > Sounds good, but wouldn't we confuse users in those cases where the
> > Tree-sitter site doesn't have a grammar?  Would it be perhaps feasible
> > to probe first that a Git repository at the URL exists?
> 
> Sure, how about this:

LGTM, thanks.





  reply	other threads:[~2023-01-25 14:50 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-01-25  3:23 bug#61051: treesit-install-language-grammar can provide the default repository URL Dmitry Gutov
2023-01-25 12:29 ` Eli Zaretskii
2023-01-25 14:00   ` Dmitry Gutov
2023-01-25 14:50     ` Eli Zaretskii [this message]
2023-01-25 15:23       ` Dmitry Gutov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83lelqfz2a.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=61051@debbugs.gnu.org \
    --cc=dgutov@yandex.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).