From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Rename Tree-sitter major modes from "ts" to "treesit" (was Re: tree-sitter version?) Date: Sat, 26 Nov 2022 10:31:45 +0200 Message-ID: <83o7sut8um.fsf@gnu.org> 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: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23938"; mail-complaints-to="usenet@ciao.gmane.io" Cc: mardani29@yahoo.es, raman@google.com, tsdh@gnu.org, emacs-devel@gnu.org To: Yuan Fu Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Nov 26 09:32:11 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 1oyqbb-0005zl-4n for ged-emacs-devel@m.gmane-mx.org; Sat, 26 Nov 2022 09:32:11 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oyqb7-0000cv-LR; Sat, 26 Nov 2022 03:31:41 -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 1oyqar-0000ac-Sy for emacs-devel@gnu.org; Sat, 26 Nov 2022 03:31:33 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyqar-00083L-E7; Sat, 26 Nov 2022 03:31:25 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=UFG0yEZZ7+gQuMxWFZg4V514YQoNSfxxkCayB6QwtP0=; b=DPu3JjAzPZC5b9fNRndR BlvPWERm1gZ6jtKuH44e0kog2K0oZ/nxIv/INEnnODjJ01Oj8eebQIN2jc5QrhqPJEgz4t8chdRB3 ljTcSRRrTaOJ+LM+VeVsg4n/askH4TA7/IFA/a0ea8PYrsV5hd6qon7e21nP+SdRCVMJeXId4LeRT /6KFzdwpndljGZDVvZ/fByED2hPu6dWu5zQwst8XWtL6YPzaKTmwHr8HVWE+FsobG0Kim/HMTC0IR J8IXrb1yMLe2o84m7ezMm2TK1SkLGJEr7oTuyav1iUw2SfM2tzU7NbeE7DODYX/L5Fvzpmawuxayy nQMF7adrr+OrzA==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oyqan-0000i6-9a; Sat, 26 Nov 2022 03:31:23 -0500 In-Reply-To: (message from Yuan Fu on Sat, 26 Nov 2022 00:20:00 -0800) 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:300555 Archived-At: > From: Yuan Fu > Date: Sat, 26 Nov 2022 00:20:00 -0800 > Cc: "T.V Raman" , > tsdh@gnu.org, > emacs-devel@gnu.org > > > On Nov 25, 2022, at 8:25 AM, Daniel Martín wrote: > > > > "T.V Raman" writes: > > > >> also the name "ts" as part of tree-sitter is an unfortunate > >> confusion since ts-mode is for typescript. > >> > >> 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. > > > > This is a good point. The Tree-sitter Elisp library itself and its > > commands already use the "treesit" abbreviation consistently. We're > > still on time to rename the new language modes to c-treesit-mode, and so > > on. Thoughts? > > Yeah we should use treesit, if nothing better appears. We had a (short) discussion on better names than xxx-ts-mode, but no one had better idea, so the name stuck. Sorry, no more renames, and that is final. The branching point for emacs-29 is almost upon us, and we cannot afford such changes anymore. The justification is quite weak anyway. People who think "ts" means only "typescript" will have to adapt. (The tree-sitter library has all of its functions start with "ts_", so we didn't invent this shorthand out of thin air.)