GNU bug report logs -
#73264
tree-sitter shows jit-lock-function error when i delete some code
Previous Next
Reported by: vinurs <hi <at> vinurs.me>
Date: Sun, 15 Sep 2024 06:07:02 UTC
Severity: normal
Done: Eli Zaretskii <eliz <at> gnu.org>
Bug is archived. No further changes may be made.
To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 73264 in the body.
You can then email your comments to 73264 AT debbugs.gnu.org in the normal way.
Toggle the display of automated, internal messages from the tracker.
Report forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73264
; Package
emacs
.
(Sun, 15 Sep 2024 06:07:02 GMT)
Full text and
rfc822 format available.
Acknowledgement sent
to
vinurs <hi <at> vinurs.me>
:
New bug report received and forwarded. Copy sent to
bug-gnu-emacs <at> gnu.org
.
(Sun, 15 Sep 2024 06:07:02 GMT)
Full text and
rfc822 format available.
Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):
[Message part 1 (text/plain, inline)]
Hi,
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
------------
Sincerely,
Haiyuan Zhang, Vinurs
[Message part 2 (text/html, inline)]
[elong.clj (application/octet-stream, attachment)]
[elong-1.jpg (image/jpeg, attachment)]
[elong-2.jpg (image/jpeg, attachment)]
Reply sent
to
Eli Zaretskii <eliz <at> gnu.org>
:
You have taken responsibility.
(Sun, 15 Sep 2024 06:37:02 GMT)
Full text and
rfc822 format available.
Notification sent
to
vinurs <hi <at> vinurs.me>
:
bug acknowledged by developer.
(Sun, 15 Sep 2024 06:37:02 GMT)
Full text and
rfc822 format available.
Message #10 received at 73264-done <at> debbugs.gnu.org (full text, mbox):
> Date: Sun, 15 Sep 2024 14:06:22 +0800
> From: vinurs <hi <at> vinurs.me>
>
> 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.
Information forwarded
to
bug-gnu-emacs <at> gnu.org
:
bug#73264
; Package
emacs
.
(Sun, 15 Sep 2024 07:46:02 GMT)
Full text and
rfc822 format available.
Message #13 received at 73264-done <at> debbugs.gnu.org (full text, mbox):
> On Sep 14, 2024, at 11:36 PM, Eli Zaretskii <eliz <at> gnu.org> wrote:
>
>> Date: Sun, 15 Sep 2024 14:06:22 +0800
>> From: vinurs <hi <at> vinurs.me>
>>
>> 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.
(Cough cough) Actually that’s my fault. But I’ve now fixed it on emacs-30 and added some more tests. Thanks for the report!
Yuan
bug archived.
Request was from
Debbugs Internal Request <help-debbugs <at> gnu.org>
to
internal_control <at> debbugs.gnu.org
.
(Sun, 13 Oct 2024 11:24:10 GMT)
Full text and
rfc822 format available.
This bug report was last modified 246 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.