From: Yuan Fu <casouri@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 73264-done@debbugs.gnu.org, vinurs <hi@vinurs.me>
Subject: bug#73264: tree-sitter shows jit-lock-function error when i delete some code
Date: Sun, 15 Sep 2024 00:44:10 -0700 [thread overview]
Message-ID: <87A5AAA6-6978-4192-97CD-7F7552F609B0@gmail.com> (raw)
In-Reply-To: <86frq1e842.fsf@gnu.org>
> On Sep 14, 2024, at 11:36 PM, Eli Zaretskii <eliz@gnu.org> wrote:
>
>> Date: Sun, 15 Sep 2024 14:06:22 +0800
>> From: vinurs <hi@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
prev parent reply other threads:[~2024-09-15 7:44 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-15 6:06 bug#73264: tree-sitter shows jit-lock-function error when i delete some code vinurs
2024-09-15 6:36 ` Eli Zaretskii
2024-09-15 7:44 ` Yuan Fu [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87A5AAA6-6978-4192-97CD-7F7552F609B0@gmail.com \
--to=casouri@gmail.com \
--cc=73264-done@debbugs.gnu.org \
--cc=eliz@gnu.org \
--cc=hi@vinurs.me \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.