unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: Mickey Petersen <mickey@masteringemacs.org>, Yuan Fu <casouri@gmail.com>
Cc: 63750@debbugs.gnu.org
Subject: bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable
Date: Sat, 27 May 2023 15:32:00 +0300	[thread overview]
Message-ID: <834jnyj6pr.fsf@gnu.org> (raw)
In-Reply-To: <87a5xq6l0b.fsf@masteringemacs.org> (message from Mickey Petersen on Sat, 27 May 2023 13:01:40 +0100)

> From: Mickey Petersen <mickey@masteringemacs.org>
> Date: Sat, 27 May 2023 13:01:40 +0100
> 
> 
> Given the simple alist structure, and that its intent is to be used
> with the interactive function `treesit-install-language-grammar', it'd
> make sense to turn it into a Customize option.

We deliberately decided not to make it a defcustom, and not to provide
any non-trivial default value, so as to avoid the impression that we
as a project want to be responsible for the language grammars, their
correctness, up-to-date sites, and their licenses.  It should be
entirely up to the user and/or the Emacs distros.

However, I think we decided to make it so that each installation
should update the value of the variable with the data of the grammar
just installed.  I see that we don't actually do that -- Yuan, am I
misremembering this?  If not, would you please add code to add to the
variable's value the data of every grammar that is installed?





  reply	other threads:[~2023-05-27 12:32 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-05-27 12:01 bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable Mickey Petersen
2023-05-27 12:32 ` Eli Zaretskii [this message]
2023-05-27 23:12   ` Yuan Fu
2023-05-28  5:32     ` Eli Zaretskii
2023-05-28 22:51       ` Yuan Fu
2023-05-29 14:40         ` Eli Zaretskii
2023-05-29 20:37           ` Yuan Fu

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=834jnyj6pr.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=63750@debbugs.gnu.org \
    --cc=casouri@gmail.com \
    --cc=mickey@masteringemacs.org \
    /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).