From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill Newsgroups: gmane.emacs.devel Subject: Re: Call for volunteers: add tree-sitter support to major modes Date: Sun, 09 Oct 2022 23:12:16 +0200 Message-ID: <87zge43dn3.fsf@thornhill.no> References: <83czb1jrm3.fsf@gnu.org> <878rlo7on0.fsf@thornhill.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35034"; mail-complaints-to="usenet@ciao.gmane.io" To: Stefan Kangas , Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 09 23:14:01 2022 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 1ohdcW-0008v7-Te for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Oct 2022 23:14:01 +0200 Original-Received: from localhost ([::1]:50022 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ohdcV-0003DF-K9 for ged-emacs-devel@m.gmane-mx.org; Sun, 09 Oct 2022 17:13:59 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49434) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohdb0-0002Tw-74 for emacs-devel@gnu.org; Sun, 09 Oct 2022 17:12:26 -0400 Original-Received: from out0.migadu.com ([94.23.1.103]:35634) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohdav-0007r2-Ol; Sun, 09 Oct 2022 17:12:25 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1665349938; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=jGFG7agWJdhY2dtMMZyxkdfDj+fiEm9ZrtpfNMMmjbM=; b=xOMu8RvR00MLlRWHVtyWwDS9Zu7rlv96a1Lo6IJg37R78t0TTb7F77w/k92ZWrJ4oghGy9 9sfmQlkYxZuvIZm17iJ1nP7oeAWnhclLr36OvmxahcrwANmLQ92RGXfitomwZOW0bwYVdz mAoRhEilv7giZer9snI6NacIqmx8P7J2YC07Ese9o1DP1EXIXKl7SdhZm5zi6VEC5S6SP3 ejI/YWw/qzoq5+wylk6dAa7hKRaxTR+L/FD7SirMN8b8RriDJ0M6yZpDa2SXpA+wMszZDQ oMXYmbSHGtfHWf2a3jYIkVNdWLxDtaovG04HyZGx9e6wUVSF/NTlP2XEzjh3Wg== In-Reply-To: X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=94.23.1.103; envelope-from=theo@thornhill.no; helo=out0.migadu.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-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.29 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:297293 Archived-At: Stefan Kangas writes: > Theodor Thornhill writes: > >> Also, how should we mandate what modes get the new tree-sitter support? > > Why not all of them (within reason, e.g. let's skip joke languages)? > >> It is pretty fast to add new modes, and adding support for languages not >> already supported in core, such as say, golang, should be very feasible. >> But maybe that is something that should live in elpa? > > What would be the reasons not to have it in core? I think such support > should already be there, myself. I have no idea, but people seem to get really angry when someone suggests moving stuff to core... Well, anyways - I've already started making support for the languages I use over at [0], and they should be easy additions when they too are mature. If you want, I can continue this work. Or just submit that repo to ELPA sometime in the future? Theo [0]: https://git.sr.ht/~theo/tree-sitter-modes/tree