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 20:43:04 +0200 Message-ID: <24BA9D11-0052-40B7-821F-D51B04848D62@thornhill.no> References: <83czb1jrm3.fsf@gnu.org> <878rlo7on0.fsf@thornhill.no> <83o7uki5ol.fsf@gnu.org> <87tu4c5g9j.fsf@thornhill.no> <835ygshz6k.fsf@gnu.org> <87zge3jj0j.fsf@gnus.org> <83o7uig9dm.fsf@gnu.org> <9E2D0EEB-3910-4C58-96E7-68E7C84E5097@thornhill.no> <87pmeyesty.fsf@thornhill.no> <878rlmgql1.fsf@gnus.org> 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="36392"; mail-complaints-to="usenet@ciao.gmane.io" Cc: =?ISO-8859-1?Q?Jostein_Kj=F8nigsen?= , Eli Zaretskii , acm@muc.de, emacs-devel@gnu.org, jostein@kjonigsen.net To: Lars Ingebrigtsen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Oct 11 20:44:44 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 1oiKF9-0009Dx-KX for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 20:44:43 +0200 Original-Received: from localhost ([::1]:54236 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oiKF8-00009l-ES for ged-emacs-devel@m.gmane-mx.org; Tue, 11 Oct 2022 14:44:42 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52996) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiKDq-0007Ra-QJ for emacs-devel@gnu.org; Tue, 11 Oct 2022 14:43:23 -0400 Original-Received: from out0.migadu.com ([2001:41d0:2:267::]:37486) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oiKDo-0007PA-6z; Tue, 11 Oct 2022 14:43:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1665513793; 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=3ShUjBpuJpWE1XfbsFwCBjevWLAn/4r2oB7RSd3I41Y=; b=agT1+sveGh9zb09QnySKSbrozSzXqLezY82QnXA7TmRocgL0IHHVwRhr/lXeob7KqELldl IT0+IJJgMI3eeJ936dH0MonkUE8bjllaIobwFzyQiC4Ctp3Vp/ihR853gEiSeZUO8R8QNW sn9zbv0jdkD6FQn6zEx200uDNpeQ2gmgHOziGo5QsnR2v8zGwml3ADEYSnzrylf9IC7R52 6cdYxLeoaTC5G5QuUt7AuPtQisTW2H0FLFmZ84iE+3NDYc/O4PVWLlrnekZw/oq0dkmnVc AKKrkEcAOKcGj7/hxjfRY4xyXRyGkINFfHujGO7auOJZ22uD8j0+fmVPBTEq9Q== X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. In-Reply-To: <878rlmgql1.fsf@gnus.org> X-Migadu-Flow: FLOW_OUT Received-SPF: pass client-ip=2001:41d0:2:267::; 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:297523 Archived-At: On 11 October 2022 20:31:06 CEST, Lars Ingebrigtsen wro= te: >Theodor Thornhill writes: > >> How about deprecating typescript=2Eel the moment the 29=2E1 branch is c= ut? >> After we can but some sort of structure in place for the two to coexist= ? > >It doesn't work that way -- people will have the old typescript-mode in >their ~/=2Eemacs=2Ed/elpa/ files for years still to come, and things will >just be messy=2E > >So I think the way forward here would be to just plonk the new code into >the package, but choose totally different code paths depending on >whether we're in Emacs 29 (and have tree-sitter) or not=2E Then you can >start removing the non-tree-sitter code from the file afterwards=2E I see what you mean, but seeing how that mode is pretty broken, and we hav= e a real chance to fix this now it'll be a missed opportunity=2E=2E=2E But I don't see why we should expect emacs not to change, but that may jus= t be me=2E It would be in everyone's interest having proper Typescript supp= ort in core, as that is almost the de facto language of the frontend world= =2E Well, I guess we'll have to skip Typescript, then=2E