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: Tue, 11 Oct 2022 23:45:16 +0200 Message-ID: References: <83czb1jrm3.fsf@gnu.org> <878rlo7on0.fsf@thornhill.no> <83o7uki5ol.fsf@gnu.org> <87tu4c5g9j.fsf@thornhill.no> <835ygshz6k.fsf@gnu.org> <87ilks59t6.fsf@thornhill.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="4051"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , acm@muc.de, emacs-devel@gnu.org, jostein@kjonigsen.net To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 11 23:52:55 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 1oiNBH-0000p5-8J for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 23:52:55 +0200 Original-Received: from localhost ([::1]:32804 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiNBG-0003hr-0G for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 17:52:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39752) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiN47-0001Vu-GR for emacs-devel@gnu.org; Tue, 11 Oct 2022 17:45:32 -0400 Original-Received: from out0.migadu.com ([94.23.1.103]:21184) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiN45-0001du-Ie; Tue, 11 Oct 2022 17:45:31 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1665524727; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=3wzLgqCuX5Mb8QL3MBpePJaZlz7h9kDMBtIYloXG5Nc=; b=I9Pysw+gG/Q8xQbelAi0NAKtPhE8d4lY36dBgzZHg/aFgenzs67ja46c26mOEzCF+WSbuS RLf2yZPIDCiesnPOpHqnFe4e17xKHEw9ETzG5H2FfogE2hijm1+Q88b1wXEtcy2T8t+wE4 2An1WTlwXZKdBLc+rEiebACl/jphCvye2h0LCDhOZ25gsMpZTTWwx7rUenOeL3MsLrNJIo 25ntow3IDM+LHArnXdYrz8T4w3jRRCuW2Ys7CutKJiTQKpGOi5gSeKjTC2MWoUpbQndeZM CFk9JCsMQDW1UuB67dByOVwowpJAiqC6UxvIi5YuLqQR7ryZzqJ+8WseH3SLLw== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. 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:297551 Archived-At: On 11 October 2022 23:38:18 CEST, Stefan Monnier wrote: >> In some cases, such as the two I mentioned, nothing=2E With others, su= ch >> as go-mode, something=2E This could be some integration with package >> managers, documentation lookup functions, etc=2E In most cases, but no= t >> all this is solved by LSP=2E In the cases where there are benefits in = the >> original mode that needs to be handled case by case=2E > >"Solve by LSP" will only solve it for some users=2E To best server the >users, we still need to actively make efforts to integrate the old and >the new modes, such as by making the old mode into a derived mode of the >new mode, and then move missing features from the old mode to the >new one=2E > >Experience tells me that if there's a builtin mode and a third-party >mode, their natural course is to diverging=2E That results in more work, >worse modes, and a poor user experience (silly choice between two >similar contenders, confusing info on the web, =2E=2E=2E)=2E > >It's very hard to integrate two different modes after the fact, so we >should make sure the new mode is integrated with the old one from the >start (usually by making the old mode a derived mode of the new one), >and work together with the old mode's maintainer to keep them in-sync >and reduce the differences over time=2E > I agree=2E The point is, though, for c# and ts specifically, they have hug= e outstanding issues already rendering them obsolete=2E Other modes are in = a way better state, and where it matters we should absolutely do as you sug= gest=2E=20 I'm holding off c# for now because that one is cc mode based, whereas ts c= an leverage js-mode=2E=20 Theo=20