unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Yuan Fu <casouri@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 63750@debbugs.gnu.org, Mickey Petersen <mickey@masteringemacs.org>
Subject: bug#63750: 30.0.50; tree-sitter: `treesit-language-source-alist' is not customisable
Date: Sat, 27 May 2023 16:12:18 -0700	[thread overview]
Message-ID: <5096A04F-426D-4991-B4EA-893C9A98EBA8@gmail.com> (raw)
In-Reply-To: <834jnyj6pr.fsf@gnu.org>



> On May 27, 2023, at 5:32 AM, Eli Zaretskii <eliz@gnu.org> wrote:
> 
>> 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?

Sure. Does it need to be preserved across sessions (ie, use custom)? Or just add for the current session?

Yuan




  reply	other threads:[~2023-05-27 23:12 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
2023-05-27 23:12   ` Yuan Fu [this message]
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=5096A04F-426D-4991-B4EA-893C9A98EBA8@gmail.com \
    --to=casouri@gmail.com \
    --cc=63750@debbugs.gnu.org \
    --cc=eliz@gnu.org \
    --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).