From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Richard Stallman Newsgroups: gmane.emacs.devel Subject: Re: tree-sitter version? Date: Sun, 04 Dec 2022 18:13:06 -0500 Message-ID: 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> <83mt8amoaw.fsf@gnu.org> Reply-To: rms@gnu.org Content-Type: text/plain; charset=Utf-8 Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16042"; mail-complaints-to="usenet@ciao.gmane.io" Cc: emacs-devel@gnu.org To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Dec 05 00:14:04 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 1p1yBQ-0003yv-4R for ged-emacs-devel@m.gmane-mx.org; Mon, 05 Dec 2022 00:14:04 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1yAd-000330-Sz; Sun, 04 Dec 2022 18:13:15 -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 1p1yAa-00032s-VY for emacs-devel@gnu.org; Sun, 04 Dec 2022 18:13:12 -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 1p1yAa-0000XI-GD for emacs-devel@gnu.org; Sun, 04 Dec 2022 18:13:12 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Date:References:Subject:In-Reply-To:To:From: mime-version; bh=OL7SfG0GFWuJ2Wg0aictWqOPqv9CkE3wVDSqre5WWRI=; b=d3nlSEeOxE8M tj09t7eC1wx2klnu2r1ajyBdowKYpUyME7OnxBIXg5nZBgE2HRAmlilYNTS9xq0DNH/osrF9STPxy rm3J152UoF8/Fj3C8DAsRjgeJmsNvf/JRD1uCwB5XXqJACbDaVHoC/Yw5uuLXJa435388cNvHbci3 ZU7AwDca572+WyZOfBq47ySMpsvJZv+xfIRs7f3lCLcCtn5IF3KK0hjzKjcEdmOvpWaPgFOax4aLi E8QmVgkJkuo2tRrEnOHzA4DAEl7xmyhtryX3vDwVa2+LPFXFlaD5sEkcDD6HPuTn/SxFB+67W8Aea zN4JWpOf2V/mC/nBx6x4lA==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1p1yAU-0008Kn-KD; Sun, 04 Dec 2022 18:13:08 -0500 In-Reply-To: <83mt8amoaw.fsf@gnu.org> (message from Eli Zaretskii on Tue, 29 Nov 2022 05:28:55 +0200) 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:300911 Archived-At: [[[ To any NSA and FBI agents reading my email: please consider ]]] [[[ whether defending the US Constitution against all enemies, ]]] [[[ foreign or domestic, requires you to follow Snowden's example. ]]] > > I suggest that we rename that mode to typescript-mode, > > for the sake of clarity and discoverability. > > That will help the people who'd want to use it > > notice its existence. > It was renamed to typescript-ts-mode. That eliminates the problem. It seems that we have a series of many pairs of major mode, FOO-mode and FOO-ts-mode, where FOO-ts-mode uses treesitter and FOO-mode does not use it. Is that correct? It is no disaster, but is this really the interface we want to use for enabling or disabling treesitter? I am sure we can make it cleaner. -- Dr Richard Stallman (https://stallman.org) Chief GNUisance of the GNU Project (https://gnu.org) Founder, Free Software Foundation (https://fsf.org) Internet Hall-of-Famer (https://internethalloffame.org)