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#73264: tree-sitter shows jit-lock-function error when i delete some code Date: Sun, 15 Sep 2024 09:36:29 +0300 Message-ID: <86frq1e842.fsf@gnu.org> References: 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="35799"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73264-done@debbugs.gnu.org To: vinurs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Sep 15 08:37:20 2024 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 1spisp-0009BB-MT for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 15 Sep 2024 08:37:20 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spisi-00019h-J4; Sun, 15 Sep 2024 02:37:13 -0400 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 1spisO-00018e-3z for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 02:36:57 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1spisN-00086W-7J for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 02:36:51 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-version:References:In-Reply-To:From:Date:To:Subject; bh=JMgNBhrtyUzGu8y3zB4sYjV9rDanw/HKlIufyYtkxuE=; b=AXAtp7po94DxBqusFzMfm7TdykwdQNFj2lZvrN0mJFSNi50jdgrPae7fgQ7DLLHMXWqrK09ncsnNADQ5w58/9Khqm7cIABXxavfQH11fLC5v2Q4YDMEkM4AagZsKnUHdyKYr0dPErP5LMLutXncMdx3eGS3vm+g/qSCv3V1Ng3cfrownjcwakNGGRcPdRMauz1j0npXVkcdY+oxWi3sAnNOHBKj3NCskqIIxeseZsdTwY5+0Mz5G3lY4cBsA8rT+s2Rhf95hFDABUEUze9Ky1lWJXP5mI44P0YEYTiRc0YYYXQVXCXehmbtAOo7aSIQW2Jb7yOZF4VR8nQbbbiBn6w==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1spisY-0006SU-Mq for bug-gnu-emacs@gnu.org; Sun, 15 Sep 2024 02:37:02 -0400 Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-To: bug-gnu-emacs@gnu.org Resent-Date: Sun, 15 Sep 2024 06:37:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 73264 X-GNU-PR-Package: emacs Mail-Followup-To: 73264@debbugs.gnu.org, eliz@gnu.org, hi@vinurs.me Original-Received: via spool by 73264-done@debbugs.gnu.org id=D73264.172638221224798 (code D ref 73264); Sun, 15 Sep 2024 06:37:02 +0000 Original-Received: (at 73264-done) by debbugs.gnu.org; 15 Sep 2024 06:36:52 +0000 Original-Received: from localhost ([127.0.0.1]:48185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spisO-0006Rs-Fh for submit@debbugs.gnu.org; Sun, 15 Sep 2024 02:36:52 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42664) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1spisM-0006Ra-8r for 73264-done@debbugs.gnu.org; Sun, 15 Sep 2024 02:36:52 -0400 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 1spis2-00085S-Rs; Sun, 15 Sep 2024 02:36:32 -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=JMgNBhrtyUzGu8y3zB4sYjV9rDanw/HKlIufyYtkxuE=; b=BKBmKBJI7JGes67qpu2e xmGpT3HHewDpjmBihWeEtEhQUadi///BVyNA9qatwVGLwF59rWtXm8YLaF7Mx6UzUKEM3MQflWsoc 9/1Io7uCMmGdab0DZvOsCE2IqHxudc+LwkD23HULrRu78mO5cYE26aJ8tb7LbIQxkQ6dFiweLeTN+ FabL26CRER3Vw1fCPVS6Y5acAdv+pkwlwOTTs/Iok21CZ50ny0EP5WVcnjTlRH8Kljk3LJ8vg8iUf f9vsLug4h8GwtnA5J6BE88zw7NDxDCWyL3fR2+Ssftev86GwwYdjh1qZ8x96vlDkaZ8Z/KTkiruvp OYXqVrShP3e1vg==; In-Reply-To: (message from vinurs on Sun, 15 Sep 2024 14:06:22 +0800) 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:291823 Archived-At: > Date: Sun, 15 Sep 2024 14:06:22 +0800 > From: vinurs > > I am using the latest emacs-30 > https://github.com/emacs-mirror/emacs/commit/81347c1aaf25b27e78e8beee4bc818ad2c4e1b71 > > The min configuration is as follows: > > (add-to-list 'treesit-extra-load-path (expand-file-name "tree-sitter/" user-emacs-directory)) > > (add-to-list 'load-path "~/.emacs.d/site-lisp/clojure-ts-mode”) > > (require 'clojure-ts-mode) > > ;; debug > > (setq debug-on-quit t) > > and I only use clojure-ts-mode package > > cd ~/.emacs.d/site-lisp > > git clone https://github.com/clojure-emacs/clojure-ts-mode.git > > Then, after opening Emacs, Open the elong.clj file, go to line 115, select the entire > build-inventory-check-failure-response function, and then delete this function. You'll notice that the remaining > code is no longer highlighted. Then I found the following error output in the Message buffer: > > Error during redisplay: (jit-lock-function 4221) signaled (wrong-type-argument number-or-marker-p nil) [2 > times Thanks. Since clojure-ts-mode is not part of Emacs, please report this to the developers of clojure-ts-mode instead. I'm therefore closing this bug. If the developers of clojure-ts-mode conclude that the underlying problem is in core Emacs, we can reopen this bug with the details of their analysis and conclusions.