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: Fri, 25 Nov 2022 18:33:03 +0200 Message-ID: <8335a7uh8g.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=iso-8859-1 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16782"; mail-complaints-to="usenet@ciao.gmane.io" Cc: raman@google.com, casouri@gmail.com, tsdh@gnu.org, emacs-devel@gnu.org To: Daniel =?iso-8859-1?Q?Mart=EDn?= Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Nov 25 17:33:46 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 1oybe5-000458-AC for ged-emacs-devel@m.gmane-mx.org; Fri, 25 Nov 2022 17:33:45 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oybdR-0003D9-Np; Fri, 25 Nov 2022 11:33:07 -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 1oybd4-00037M-Ee for emacs-devel@gnu.org; Fri, 25 Nov 2022 11:32:44 -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 1oybd3-0007zI-J9; Fri, 25 Nov 2022 11:32:42 -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=/nPKDNXsIFgjesYjM6H8XX5xIPbUvpg6ECqaCsx66r8=; b=YaCIywjC3GD3Cel6DHhQ BhaBFRN9h2cRc1am0prsSymSmsjC/FHLAvlBj9aWJDLs3qHGaGLPc20Fttu0UCm6jbL2JwLit9/Rq M3cX0UmYTy4rYkrZ2wvnuqeDMSLdfwfG1VovBi12to1UpRBehcx2Tg+MxnZcWAMzbI8a7xgvqAkM5 scGoXYP5HPby97T8MS/8AcTym6c3Ng8GS8AOa3Y8U5NKOPkaFtubwNrHTPGjLrJu1sytaeJF+Kfin HZ0pxhv2G+swxdaYkPRTM+6hEbCmquzo6DF0m3GAvZL4YDtMKrG+Ux0VNKgX7WOAHBe4IQR0H8JJQ Zl8qTUFOglNdqA==; 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 1oybd2-0007Do-Hg; Fri, 25 Nov 2022 11:32:40 -0500 In-Reply-To: (message from Daniel =?iso-8859-1?Q?Mart=EDn?= on Fri, 25 Nov 2022 17:25:09 +0100) 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:300495 Archived-At: > From: Daniel Martín > Cc: casouri@gmail.com, tsdh@gnu.org, emacs-devel@gnu.org > Date: Fri, 25 Nov 2022 17:25:09 +0100 > > "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? I don't think we should rename. There's just one ts-mode, and many foo-ts-mode modes, so the latter win.