From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.devel Subject: Re: Make all tree-sitter modes optional Date: Tue, 17 Jan 2023 17:11:01 -0800 Message-ID: <8BA3366D-479D-4697-9DD6-7CF26C840EA9@gmail.com> 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> <83cz7d2g1u.fsf@gnu.org> <83bkmx2ef2.fsf@gnu.org> <837cxl2dc0.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.120.41.1.1\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="6563"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 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 Wed Jan 18 02:11:59 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 1pHwzf-0001Yz-Bi for ged-emacs-devel@m.gmane-mx.org; Wed, 18 Jan 2023 02:11:59 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pHwyr-0001uP-6K; Tue, 17 Jan 2023 20:11:09 -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 1pHwyp-0001t7-Bq for emacs-devel@gnu.org; Tue, 17 Jan 2023 20:11:07 -0500 Original-Received: from mail-pl1-x629.google.com ([2607:f8b0:4864:20::629]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pHwyn-0002A7-BW; Tue, 17 Jan 2023 20:11:06 -0500 Original-Received: by mail-pl1-x629.google.com with SMTP id y1so35348457plb.2; Tue, 17 Jan 2023 17:11:04 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=41T5jNjpPOn1WPlfmfEVAcgbPcGx+CRuZRPYV0TsJr8=; b=GkqCGKqUjCIzpJBj4nohrNdakPAtsHKo/HQ7/tcjJBV6PfgVVq0pNDQ8mDvRkOhHj6 FH8XToivS+37/YMauSPAWDVQqdmo6SczH5guE2lbW+EYL34ZaiHZ3MryTkWkoNJ1K23u YoaUfKdcVKq2jRIv4YSBgtUHUo5rwV+/5algIEPQwDkDialaWcSHX3/8JSwVCWlyWD9E CTvwxUVhBwkuyoCj+ygspeaKoyjfUHs8r01/rfGwGYwPETXTpjlfvPK9bmaFIzmUqI6Q YVDRuD1K4J0t8qyhN+SIJwhDA0wWr3YsgoFD52Y78rHB+vquwt5J2K1TD9fJarp+g/dd o5bw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=41T5jNjpPOn1WPlfmfEVAcgbPcGx+CRuZRPYV0TsJr8=; b=BMV1MVNmmpU0Dck79YjDPjQKBlpDolb4ym9de+Mc3EFw8Xoc+nKhZ2xFMdAz58Ti+B vnn7ouAHVHw7/0u4LzILfEJkcpqzjx49IEuyNhInAwa7wNCJHsEvjp3YTus+DeiElhcT 5lKpNY4OJ0IUi3KiIw+d9CeJ4uUs40l0hhSJA8zvUb/6rxIluP9+7ztM3ob+izEJsxIM TsNcmmaaqj9vhD6gTJb41Gn0c9SLDm1O/DMu9SvUai8L7wNlEkCGTZIXAgExHMiK1YFe 6ncdyZBvfB9tIKrMT0yPS+Rg2Ta210LpVouzJTNQi4Pt5DJ66h87U+aJvbkV7FYKbA4Q mGMQ== X-Gm-Message-State: AFqh2ko6cILNvddhVM5QmuwgJzZziR7AZqIhUchcYzRZ5JpziGB9SWKo ke3Holf6SZGzHmlf86yBBWA= X-Google-Smtp-Source: AMrXdXu+BnPBebQ1j52tjV6vMK0CUV+YQq985khNOOrSjVfiUH/FpjLQFM//q6BJG7nVhEPFX7aExg== X-Received: by 2002:a17:902:bf03:b0:194:9847:9cd4 with SMTP id bi3-20020a170902bf0300b0019498479cd4mr5091714plb.60.1674004263435; Tue, 17 Jan 2023 17:11:03 -0800 (PST) Original-Received: from smtpclient.apple (cpe-172-117-161-177.socal.res.rr.com. [172.117.161.177]) by smtp.gmail.com with ESMTPSA id v21-20020a1709028d9500b001868981a18esm4350232plo.6.2023.01.17.17.11.02 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 Jan 2023 17:11:03 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3696.120.41.1.1) Received-SPF: pass client-ip=2607:f8b0:4864:20::629; envelope-from=casouri@gmail.com; helo=mail-pl1-x629.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:302503 Archived-At: >=20 > The userbase I'm familiar with has been messing with auto-mode-alist = for decades. To make it easier, people have been adding the necessary = lines to documentation: either to the repository's README, or to = package's Commentary. So the user could take it from there. >=20 > Similarly, we can add such line to the Commentary of every ts mode, or = even to the major mode docstrings IF we do that, it=E2=80=99d be better to instruct users to use = major-mode-remap-alist, since it=E2=80=99s easier to understand and use = IMO. Yuan=