GNU bug report logs - #73310
tree-sitter makes cpu 100%

Previous Next

Package: emacs;

Reported by: vinurs <hi <at> vinurs.me>

Date: Tue, 17 Sep 2024 01:28:01 UTC

Severity: normal

Full log


Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: vinurs <hi <at> vinurs.me>
To: bug-gnu-emacs <at> gnu.org
Subject: tree-sitter makes cpu 100%
Date: Tue, 17 Sep 2024 09:27:20 +0800
[Message part 1 (text/plain, inline)]
Hi,

I am using the latest emacs-30 https://github.com/emacs-mirror/emacs/commit/c6077015894dd89c5aa3811bf55d3124394874d0 

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,

After moving to line 52, delete all the characters following :error-code, then quickly press the spacebar twice. At this point, it freezes.


------------

Sincerely,



Haiyuan Zhang, Vinurs

BinaryBrain LLC
[Message part 2 (text/html, inline)]
[elong.clj (application/octet-stream, attachment)]

This bug report was last modified 181 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.