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#60983: 29.0.60; Tree-sitter user-level control Date: Sat, 28 Jan 2023 15:25:50 +0200 Message-ID: <83k016aizl.fsf@gnu.org> References: <83tu0kkuqo.fsf@gnu.org> <87tu0k3y6t.fsf@thornhill.no> <83edrli46m.fsf@gnu.org> <83357xg3gt.fsf@gnu.org> <871qnessyz.fsf@thornhill.no> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2524"; mail-complaints-to="usenet@ciao.gmane.io" Cc: casouri@gmail.com, 60983@debbugs.gnu.org To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 28 14:27: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 1pLlEi-0000T6-ER for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 28 Jan 2023 14:27:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1pLlEW-00031Q-Pw; Sat, 28 Jan 2023 08:27:04 -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 1pLlEU-000316-Uf for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2023 08:27: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 1pLlEU-0001NA-AU for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2023 08:27:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1pLlEU-0007F5-5f for bug-gnu-emacs@gnu.org; Sat, 28 Jan 2023 08:27: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: Sat, 28 Jan 2023 13:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 60983 X-GNU-PR-Package: emacs Original-Received: via spool by 60983-submit@debbugs.gnu.org id=B60983.167491237027781 (code B ref 60983); Sat, 28 Jan 2023 13:27:02 +0000 Original-Received: (at 60983) by debbugs.gnu.org; 28 Jan 2023 13:26:10 +0000 Original-Received: from localhost ([127.0.0.1]:39886 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLlDe-0007E0-AS for submit@debbugs.gnu.org; Sat, 28 Jan 2023 08:26:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:56560) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1pLlDd-0007Dp-4M for 60983@debbugs.gnu.org; Sat, 28 Jan 2023 08:26:09 -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 1pLlDX-0001Hx-JP; Sat, 28 Jan 2023 08:26:03 -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=6InpQjMsYx0mNHEcRflnmRTsW4xwaEXxHicmDI077ec=; b=PMF82kIUIPg/ iZQkAdvfV2X+ekukMpyHuOMgb7zfu9iLU2vPaFcZ7MQSBoslpf1df73pUwqCwYA2RaIdekKwD0zdR kAEHcst+XtEEiifSLwqV4aY4PVqUsPu7dsMxd4kCuKVK0/xlZwgjtXf55a0+J/OduSdklWSzHYM83 L2LF+aTjaQZeSSeHilyPC0mj9V8tDmspf7OWlv00iJVBOdoUlYcsxfuPyI/OAcmLAbEjOlsLWwBak W7beksNyl91lVAE6hsUJmHHvx1tZoF+6jMhccaMDvyx45PTCzaDyRc19IxSg7uXChrqsSbcC0xPru QNptleSa6by8H3DoGaIwzg==; 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 1pLlDW-0007Xn-SR; Sat, 28 Jan 2023 08:26:03 -0500 In-Reply-To: <871qnessyz.fsf@thornhill.no> (message from Theodor Thornhill on Sat, 28 Jan 2023 14:12:52 +0100) 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:254298 Archived-At: > From: Theodor Thornhill > Cc: 60983@debbugs.gnu.org > Date: Sat, 28 Jan 2023 14:12:52 +0100 > > > Yuan or Theo, would one of you please make the change of making > > treesit-font-lock-level a defcustom, with a proper :set functions to > > avoid the need to revisit the file? My hands are too full ATM, and > > this issue is basically the only one which prevents me from updating > > the Emacs user manual with the tree-sitter info, which in turn is the > > only issue that blocks the move to releasing the 29.0.90 pretest > > tarball. > > > > TIA > > > Are you okay with these patches, Eli? If so, then I can clean them up a > little and install on emacs-29. In both cases using > (customize-set-variable 'the-variable val) will take effect in the > buffer without having to reload anything. LGTM, please install, and thanks. > Let me know if there are any other changes needed. I'll have some time > this evening to do some hacking if needed :) Will do.