From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: How to add pseudo vector types Date: Sat, 24 Jul 2021 14:55:53 -0400 Message-ID: References: <83h7gw6pyj.fsf@gnu.org> <1a776770-50b7-93cd-6591-c9a5b3a56eb8@gmail.com> <8335s64v10.fsf@gnu.org> <5380C92B-6C15-4490-A1E0-1C3132DBB16A@gmail.com> <83k0li2shw.fsf@gnu.org> <83eebq2mpy.fsf@gnu.org> <83lf5w26e3.fsf@gnu.org> <838s1vzp9i.fsf@gnu.org> <83pmv7y6fx.fsf@gnu.org> <83lf5vy58h.fsf@gnu.org> <2EB55126-2CEF-41A7-B5EF-4C3BDF21A034@gmail.com> <83im0zy3mg.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="19577"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: Yuan Fu , cpitclaudel@gmail.com, emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Jul 24 20:56:39 2021 Return-path: Envelope-to: ged-emacs-devel@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 1m7MpC-0004pE-N5 for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Jul 2021 20:56:38 +0200 Original-Received: from localhost ([::1]:33170 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m7MpB-0007BM-M9 for ged-emacs-devel@m.gmane-mx.org; Sat, 24 Jul 2021 14:56:37 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:46538) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7Mob-0006Va-H6 for emacs-devel@gnu.org; Sat, 24 Jul 2021 14:56:01 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:16814) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m7MoY-0006Wk-F8; Sat, 24 Jul 2021 14:56:00 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 1BF30440724; Sat, 24 Jul 2021 14:55:56 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id E0C3C440725; Sat, 24 Jul 2021 14:55:54 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1627152954; bh=2XnFSm8C4bCXnIEhbfczCCG376PfpxthbRfsjLIVDJo=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=dq8fPCGjQjvdJcqzH6WB09AtRirnTadDIuckd4keafIBO5k7I3RFCQDg062svEs3o XJePqnKWC2PSquRfv7cLYIpR0ausl6V55HUmxLMzc3S3pOs5vOqleDsCzar9uxkoyo v/Fajr1682FcD4GKhWQ9uG1h5YEYkSZ+ZblrhZJlN+eknM5DjLpkU1aaT9met5jkk3 4Tn6WH1tPQoooaVzLgzwPupTrhYdrDc9H0jvdZTuIAbjpzaF5wnCgk9jVV63RwtFxM 3ZgEMfRsHyvUwIyMCcITWiZqiuqVx3Wd0KkvtjCPpXeV5vm6DbgBHpJ8ryt404sZIl rHEQx/1N+bGQg== Original-Received: from alfajor (unknown [216.154.29.138]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A52B81203BC; Sat, 24 Jul 2021 14:55:54 -0400 (EDT) In-Reply-To: <83im0zy3mg.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 24 Jul 2021 21:21:27 +0300") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-Spam_score_int: -42 X-Spam_score: -4.3 X-Spam_bar: ---- X-Spam_report: (-4.3 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:271573 Archived-At: > However, I do worry about the ability to update this in some > non-manual way. It has to be manual to the extent that it's not something that is inherent to the BNF grammar. The rules could accompany the grammar (and TS could give access to them), in which case presumably all editors using TS would end up fontifying in the same way, which would make a fair bit of sense. But in any case, this seems to be a preoccupation that goes much beyond the actual immediate integration of tree-sitter into Emacs, and concerns instead the evolution of tree-sitter itself. Stefan