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: Call for volunteers: add tree-sitter support to major modes Date: Mon, 10 Oct 2022 11:11:57 +0300 Message-ID: <837d18hzci.fsf@gnu.org> References: <83czb1jrm3.fsf@gnu.org> <84436B1D-3359-487F-B997-A7F56FDEA636@thornhill.no> <83bkqljih5.fsf@gnu.org> <87fsfx6ufb.fsf@thornhill.no> <8335bxjdpf.fsf@gnu.org> <1D07A0F1-A269-410A-9D3C-8A53113FFE2F@thornhill.no> <83sfjxhuvc.fsf@gnu.org> <87bkqk7qb0.fsf@thornhill.no> <8735bw7kwm.fsf@thornhill.no> <158F25C9-A539-4515-8D49-50A7E6252960@gmail.com> <9941E2A6-AB31-49FE-A6BA-9BE61BA6ED13@gmail.com> <83fsfwi44y.fsf@gnu.org> <87zge45gpi.fsf@thornhill.no> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27658"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, emacs-devel@gnu.org To: Theodor Thornhill Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Mon Oct 10 10:25:54 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 1oho6j-0006tK-4y for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Oct 2022 10:25:53 +0200 Original-Received: from localhost ([::1]:50374 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oho6h-00047o-Lu for ged-emacs-devel@m.gmane-mx.org; Mon, 10 Oct 2022 04:25:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39394) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohntB-0006Xj-6t for emacs-devel@gnu.org; Mon, 10 Oct 2022 04:11:53 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49862) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ohnt9-0007ti-Hb; Mon, 10 Oct 2022 04:11:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=lnlzN3qYsIat8jFd1bdNtqO+JDvPYZV9z2XqFif5qKk=; b=sPXLBirjkuu9aqfeSFPY Wfl/fm3dbTSYKWuNSYnLVp4+gCrx4W+uXUfvddS+PULREfbFP3BESrA4IqJMwVQrOjo0HJ+aoLEr+ GDHUO1ZiCzptpcJOKDh+ZU6whci0vheUfr+8d5Km/NMuCQxqtdtX7egFMkLdwYFS1igYhos18b/pk sW3yUKYsBfLrF7s19MlyGW336iDvMeqDQRS0axIk+c98qFieDzSy0hl7D+EHQqMqHt4fOmammqC75 JI0nOLxvCKY8vdHWFLxkES37LtcPCvehXFu0dbTUtBATFRqGzccipTTh1iwFt5bQToE6jqpihhP5X FUHt9SVFGYrQJQ==; Original-Received: from [87.69.77.57] (port=1450 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 1ohnt9-0002Tf-0s; Mon, 10 Oct 2022 04:11:51 -0400 In-Reply-To: <87zge45gpi.fsf@thornhill.no> (message from Theodor Thornhill on Mon, 10 Oct 2022 08:35:21 +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" Xref: news.gmane.io gmane.emacs.devel:297334 Archived-At: > From: Theodor Thornhill > Cc: emacs-devel@gnu.org > Date: Mon, 10 Oct 2022 08:35:21 +0200 > > Eli Zaretskii writes: > > >> Actually we should also fall back to non-tree-sitter if the conditions aren’t met. > > > > Automatically and silently? I don't think so. The user should know > > the knob they pressed didn't work. > > How about we error and add a suggestion to turn off `*-use-treesitter'? Yes, something like that.