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.bugs Subject: bug#60511: 29.0.50; treesit-ready-p should not emit warning by default Date: Sun, 08 Jan 2023 20:48:20 +0200 Message-ID: <83k01wq2vf.fsf@gnu.org> References: <83lemdr2qt.fsf@gnu.org> <86358lwhbr.fsf@mail.linkov.net> <837cxxqoeq.fsf@gnu.org> <86pmboudmk.fsf@mail.linkov.net> <83lemcq57n.fsf@gnu.org> <86ilhguc9t.fsf@mail.linkov.net> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="40794"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, stefankangas@gmail.com, 60511@debbugs.gnu.org To: Juri Linkov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Jan 08 19:49:16 2023 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1pEajL-000AQs-Lo for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 08 Jan 2023 19:49:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pEajB-0006Ei-2m; Sun, 08 Jan 2023 13:49:06 -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 1pEaj8-0006E9-Sy for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 13:49:02 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1pEaj8-0000vG-KU for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 13:49:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pEaj8-0005CE-EK for bug-gnu-emacs@gnu.org; Sun, 08 Jan 2023 13:49:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 08 Jan 2023 18:49:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60511 X-GNU-PR-Package: emacs Original-Received: via spool by 60511-submit@debbugs.gnu.org id=B60511.167320368919822 (code B ref 60511); Sun, 08 Jan 2023 18:49:02 +0000 Original-Received: (at 60511) by debbugs.gnu.org; 8 Jan 2023 18:48:09 +0000 Original-Received: from localhost ([127.0.0.1]:34704 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEaiG-00059c-Hw for submit@debbugs.gnu.org; Sun, 08 Jan 2023 13:48:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:48792) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pEaiB-00058I-Pd for 60511@debbugs.gnu.org; Sun, 08 Jan 2023 13:48:07 -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 1pEai6-0000bo-0N; Sun, 08 Jan 2023 13:47:58 -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=NXrjmNvTgN5NPNTABnMspaG66xvnUyoriWfqAirDj+0=; b=nMCY9DcpKgY0 TpCm9ENKzzWcOL3GfcpInXey8839TIM+z2piyHybp0ifSDRn1zmQ/HItsZRII+xonBvS5wvPbsXqh ni0eZ//Qpb+uMCHJCeLc74vu96pAgRB8zdtyoa/lPlPF8+rprXV5Al4aM87ZyJsODLFUNkF29KI4J D1TpuJZxRVGkU/zN7a/U3FQmEHq5JvMlkQtcEkP2TlMN5WNvveCBJ83pYvo7X4P1acfdVkL/0UNt0 q1Ug19akwcJQee3Zjf48sXAfo9AMqQTm7fdgNmxZPbTMajV0kOzQZGJAPbxw8YAlOKDHhSjDq2qv8 rwqCfVWOtoYZxJj49UHztQ==; 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 1pEai5-000677-Cw; Sun, 08 Jan 2023 13:47:57 -0500 In-Reply-To: <86ilhguc9t.fsf@mail.linkov.net> (message from Juri Linkov on Sun, 08 Jan 2023 20:11:42 +0200) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:252952 Archived-At: > From: Juri Linkov > Cc: casouri@gmail.com, stefankangas@gmail.com, 60511@debbugs.gnu.org > Date: Sun, 08 Jan 2023 20:11:42 +0200 > > >> In a situation when they want simply to visit a file without using > >> tree-sitter features, and that visit won't require from them > >> customization with modifying auto-mode-alist, etc. > > > > This will soon become a non-issue, as I plan on removing all the TS > > modes from auto-mode-alist. Only loading the mode will add it back to > > the alist. So there will be no surprises, and no need to conceal the > > warning. > > Why users need to always load modes that they are using only occasionally? If they want to use it permanently, they can load them in their init files. The idea is not to surprise users who were editing these kinds of files before and don't have tree-sitter installed/configured. If these new modes are completely opt-in, they cannot surprise anyone by an unexpected warning.