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: =?US-ASCII?Q?Re=3A_Rename_Tree-sitter_major_modes_from_=22ts=22?= =?US-ASCII?Q?_to_=22treesit=22_=28was_Re=3A_tree-sitter_version=3F=29?= Date: Fri, 25 Nov 2022 17:38:27 +0100 Message-ID: <1DE461FE-EE92-4593-8191-0738D5B6640C@thornhill.no> References: <70973BD9-26D2-4833-A429-8434FC03026B@gmail.com> <87cz9cevns.fsf@gnu.org> <8B97AC7B-54CF-41AC-9EF7-0A83F1709B98@gmail.com> <25472.55895.937365.654317@retriever.mtv.corp.google.com> 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="7308"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, tsdh@gnu.org To: emacs-devel@gnu.org, =?ISO-8859-1?Q?Daniel_Mart=EDn?= , "T.V Raman" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 25 17:39:49 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 1oybjx-0001ib-3w for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Nov 2022 17:39:49 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oybj8-0005wx-8d; Fri, 25 Nov 2022 11:38:58 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oybj6-0005wZ-93 for emacs-devel@gnu.org; Fri, 25 Nov 2022 11:38:56 -0500 Original-Received: from out2.migadu.com ([2001:41d0:2:aacc::]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oybj2-0000e8-3h; Fri, 25 Nov 2022 11:38:55 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1669394328; 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=dLDelw0ZglMqMZYr05Tii1Tga9X4frx7dBLzVuWuppQ=; b=ZQCbjB61j5UocEWYiVkKBb+Nj2EzgVe/jivy7ZAtC8DEcNA8+MRASkqDmVngzxR5vPS9tV t4mSeldVzettkvAl41e/kJzQWd6Zm5c3tEh3qYDMWMkgFCpy+gX+SZSrZIAIS0avlkMaKH ENuZ1DWDT2iVHO4dAaGN/ug9Rr7VRyQCroFnq+ykXsgzIEKqcmF9Rf7e79BNQjGztQD5NF jOWJdWxAHAesOF3GpLuOkn92k8656lEBZ+rGmD0utMAdP33cE+8zuXG634LMviJkidns3+ 8PKD2EJ27eqDZmXn9DZSVXpDE1iNyqeTsF5Q/bZrAjJ+L7rC9/bDgkUOa98ysg== 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=2001:41d0:2:aacc::; envelope-from=theo@thornhill.no; helo=out2.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-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.devel:300496 Archived-At: On 25 November 2022 17:25:09 CET, "Daniel Mart=C3=ADn" wrote: >"T=2EV Raman" writes: > >> also the name "ts" as part of tree-sitter is an unfortunate >> confusion since ts-mode is for typescript=2E >> >> I initally wrongly assumed that ts-mode was some kind of global mode >> that would enable tree-support for all supported modes, given the >> names c-ts-mode etc=2E > >This is a good point=2E The Tree-sitter Elisp library itself and its >commands already use the "treesit" abbreviation consistently=2E We're >still on time to rename the new language modes to c-treesit-mode, and so >on=2E Thoughts? > I'd rather change ts-mode to typescript-mode or typescript-ts-mode=2E But = we can discuss names, of course :-) Even better would be some construct we've discussed many times the last mo= nths: not letting a specific implementation "own" a major mode name=2E So c= -mode could be powered by cc mode implementation _or_ treesit=2Eel implemen= tation, but not a merged thing=2E To me the natural progression would be to keep name as-is, then later when= we have such a construct just delete the *-ts-modes=2E For Emacs 30 or 31=2E Theo