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: Tue, 06 Dec 2022 17:35:32 -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> <838rjma5t3.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="11540"; 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 Tue Dec 06 23:36:29 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 1p2gY9-0002n8-Dw for ged-emacs-devel@m.gmane-mx.org; Tue, 06 Dec 2022 23:36:29 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p2gXI-0004qT-J2; Tue, 06 Dec 2022 17:35:36 -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 1p2gXH-0004qF-B7 for emacs-devel@gnu.org; Tue, 06 Dec 2022 17:35:35 -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 1p2gXG-0008Q6-U1 for emacs-devel@gnu.org; Tue, 06 Dec 2022 17:35:34 -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=lNsg3vXkr1t9JWh9gDTIvddSLFhy5vRF/5oNUP54Ukg=; b=lO6UHwiW+BHy axzv/t69FSyQD+plo3Q4WpmK4AUFTBuEXB06qQywMnQ9svl3rqoF+juf2Tiy1jTivReDtOtemmUqs H5uBgVbEKFM93C3fkH5oPDaK2E9ZTwKiP31v933xr2KtTedLTHmvrPcAUk8Hd71+OYLFH09Dg4a/m 8gXCd72YBDnpxTZOlyfSC6+2SeG4CO/OOMPgB9tJJWKfhUGWJqN3kco03MuAPt/gOzmpoRzVzyBH3 ve6o2K8T8rFRZyPynAXisxExXijgc3gBuRXFpjnnR87l2/PlzzYDxRFpJCOfjfhhXNRZ2QcXUtSGx 2tmTaPxaXZJiiSA5/oLhBw==; Original-Received: from rms by fencepost.gnu.org with local (Exim 4.90_1) (envelope-from ) id 1p2gXE-0003N7-8s; Tue, 06 Dec 2022 17:35:32 -0500 In-Reply-To: <838rjma5t3.fsf@gnu.org> (message from Eli Zaretskii on Mon, 05 Dec 2022 05:27:20 +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:300987 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. ]]] > > 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? > Yes. > > 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. > For now this was deemed the cleanest, safest approach, given that we lack > experience and user feedback. Several other ways were proposed, but we > decided to delay their implementation until we understand better both what > users prefer and how close to one another are the two varieties. That's reasonable. But sine this is an interim interface, let's explicitly announce it that way. We could say that people should be prepared for it to change in another Emacs version soon. -- 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)