From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Theodor Thornhill via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#60559: 29.0.60; "Cannot activate tree-sitter" spam Date: Thu, 05 Jan 2023 15:02:05 +0100 Message-ID: <87sfgp9j1e.fsf@thornhill.no> References: <84973.1672843723@hassadar.pretzelnet.org> <83wn62xi3k.fsf@gnu.org> <83o7rexe2n.fsf@gnu.org> <83h6x5xym7.fsf@gnu.org> Reply-To: Theodor Thornhill Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="34966"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 60559@debbugs.gnu.org, epg@pretzelnet.org, mardani29@yahoo.es To: Eli Zaretskii , Fu Yuan , Stefan Monnier , Lars Ingebrigtsen , Jostein =?UTF-8?Q?Kj=C3=B8nigsen?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jan 05 15:03:34 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 1pDQqE-0008s0-Eq for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 05 Jan 2023 15:03:34 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pDQq4-0002FC-Bp; Thu, 05 Jan 2023 09:03:24 -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 1pDQpi-0002EI-Vq for bug-gnu-emacs@gnu.org; Thu, 05 Jan 2023 09:03:17 -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 1pDQpi-0002mU-Cw for bug-gnu-emacs@gnu.org; Thu, 05 Jan 2023 09:03:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pDQph-0007q5-QB for bug-gnu-emacs@gnu.org; Thu, 05 Jan 2023 09:03:01 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Theodor Thornhill Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 05 Jan 2023 14:03:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60559 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: wontfix notabug Original-Received: via spool by 60559-submit@debbugs.gnu.org id=B60559.167292733830081 (code B ref 60559); Thu, 05 Jan 2023 14:03:01 +0000 Original-Received: (at 60559) by debbugs.gnu.org; 5 Jan 2023 14:02:18 +0000 Original-Received: from localhost ([127.0.0.1]:50525 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDQoz-0007p6-QM for submit@debbugs.gnu.org; Thu, 05 Jan 2023 09:02:18 -0500 Original-Received: from out-195.mta0.migadu.com ([91.218.175.195]:26321) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pDQox-0007ox-Sp for 60559@debbugs.gnu.org; Thu, 05 Jan 2023 09:02:16 -0500 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=thornhill.no; s=key1; t=1672927332; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=gM3jgEPD+UASJYC76fhNlLZPP9fOeVRkT+zYdbAglmk=; b=Q9k3qtc83vi70Mnb1X48h1TpbvvXEf/tf1/BjQgWrekyXUK8X//ZjtPRcV6SZEihvu67B6 +6rCEtEJEXDzUseq/KyRymUVuh/fG/ct1pDThfJL2O6OgGAAsefVpHfEGBCeZq5+C8m4rc hrV+TqC14tumUakq/mKVTHecUrFaiAnFwGQcEwhcH73FPoQqfx4WTuE5Bu0dUxVbdx7rTO EJS1YjiAPD++YqjLvjfxDgbW8oUTtd4dET+AwhhJLI8T/ZaHYn1KPCOvErlDiz/cQSkBhT GqDKLk5yedEVcoOcPNbpVtLfeypgDtsh82iHtGJSTpm+uABJnCtwwx0dL50vFg== In-Reply-To: <83h6x5xym7.fsf@gnu.org> X-Migadu-Flow: FLOW_OUT 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:252600 Archived-At: > So here's a suggestion for such a solution: we make all the > *-ts-mode's optional. That is, we don't add any of them to > auto-mode-alist unless the file *-ts-mode.el is loaded, and we > document them all in NEWS and the user manual as optional. users who > want them will have to manually activate them. This way, the original > use case that started this bug report is automatically solved, and the > other use case, where the user intends to activate one of these modes, > is also served by showing the warning, which in that case is perfectly > justified: the user asked for something that we cannot do, so we warn > him/her. > > This is a retreat of sorts, but I think it strikes a better balance > wrt user expectations, assuming not everyone will build with > tree-sitter. > > Any comments or objections? If not, I will do this in a couple of > days on the emacs-29 branch. Sounds good to me :-)