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: Make all tree-sitter modes optional Date: Tue, 17 Jan 2023 20:04:45 +0200 Message-ID: <83cz7d2g1u.fsf@gnu.org> References: <84973.1672843723@hassadar.pretzelnet.org> <83wn62xi3k.fsf@gnu.org> <83o7rexe2n.fsf@gnu.org> <83h6x5xym7.fsf@gnu.org> <83h6wr6gmz.fsf@gnu.org> <831qnu64la.fsf@gnu.org> <83o7qy4l2v.fsf@gnu.org> <55d39dcb-de2f-fe02-e069-f1dd1e50e59b@yandex.ru> <83edru4jaj.fsf@gnu.org> <83sfg92ryn.fsf@gnu.org> <83pmbd2oy6.fsf@gnu.org> <0380a032-bca0-4225-6f9d-853de49f100f@yandex.ru> <83mt6h2ix7.fsf@gnu.org> <2c61c7c9-da8d-1073-5079-8391f77fefa7@yandex.ru> <83ilh52ha3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35146"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, monnier@iro.umontreal.ca, larsi@gnus.org, theo@thornhill.no, jostein@secure.kjonigsen.net, emacs-devel@gnu.org To: Dmitry Gutov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Tue Jan 17 19:05:11 2023 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 1pHqKb-0008qs-CA for ged-emacs-devel@m.gmane-mx.org; Tue, 17 Jan 2023 19:05:09 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHqK6-0005fq-Sd; Tue, 17 Jan 2023 13:04:38 -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 1pHqK5-0005fH-8N for emacs-devel@gnu.org; Tue, 17 Jan 2023 13:04:37 -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 1pHqK3-0000Q9-TJ; Tue, 17 Jan 2023 13:04:35 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=osqBeVwnjOOFwW/WuowJZU40DcS/5W3iER9cwZ8TERM=; b=mf6p+SmnVboU EPK5/3yNQ7fJ/9CTjcUrVotmD62e0Y/JGNetCs40Hx1SGP+jDGpiQ8Qt7mAPnR+GqdlYOz4WPNpso y4P3dece1rvcjNFdj42G2LD0GdN+K0hVOcTK2jwV24pEXRxqt/fmGY3rq0pCMMtHeSulGCB3DClGe ZVCiFUl14fNmbIUeszPGbtqoMj0WJoDYu+HHiyrsssvPI+jC4Mqqmy4ootUlXcCsuzjD0vXVIjZs6 ym5fEDsjD5rLFxh8cHRcwbjVxHjssmhDwec07fSJVaAH2aLv6Ip2aB4NKQ2170qNxy8bMbNRMD9fh RupZdHQBVoetp0AWN4QqBw==; 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 1pHqK3-0003LJ-24; Tue, 17 Jan 2023 13:04:35 -0500 In-Reply-To: (message from Dmitry Gutov on Tue, 17 Jan 2023 19:59:04 +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:302492 Archived-At: > Date: Tue, 17 Jan 2023 19:59:04 +0200 > Cc: casouri@gmail.com, monnier@iro.umontreal.ca, larsi@gnus.org, > theo@thornhill.no, jostein@secure.kjonigsen.net, emacs-devel@gnu.org > From: Dmitry Gutov > > I also don't fully understand the benefits of your proposal. Suppose we > apply it. You talked about how easier it will be to document the new > behaviors if all ts modes are consistent. Okay. What are we going to say > in that documentation? > > Let's say there are two users, Bob and Alice. Bob has tried out > yaml-ts-mode and wants to use it regularly. Alice has tried out > js-ts-mode and also wants to use it from now on. What will be our > recommendations for them to make that happen? That's already in the patch that I posted. Suggestions for improving it are welcome.