From: vinurs <hi@vinurs.me>
To: Yuan Fu <casouri@gmail.com>, Eli Zaretskii <eliz@gnu.org>
Cc: 73310@debbugs.gnu.org
Subject: bug#73310: tree-sitter makes cpu 100%
Date: Thu, 19 Sep 2024 20:53:41 +0800 [thread overview]
Message-ID: <etPan.66ec1eda.1cd06450.ba0f@vinurs.me> (raw)
In-Reply-To: <86ldzqbh02.fsf@gnu.org>
[-- Attachment #1: Type: text/plain, Size: 1425 bytes --]
Hi Yuan,
Are you able to reproduce this issue?
------------
Sincerely,
Haiyuan Zhang, Vinurs
开 2024年9月17日 在 20:29:50, Eli Zaretskii (eliz@gnu.org) 写到:
> Date: Tue, 17 Sep 2024 09:27:20 +0800
> From: vinurs <hi@vinurs.me>
>
> 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.
AFAICT, it doesn't freeze, it eats up memory like crazy. If you limit
the memory available to the process to some reasonable value, Emacs
will soon enough tell you that memory is exhausted, and will suggest
to save the buffer and exit.
Yuan, can you look into this, please? I'm not sure it's an Emacs bug,
but who knows?
[-- Attachment #2: Type: text/html, Size: 2310 bytes --]
next prev parent reply other threads:[~2024-09-19 12:53 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2024-09-17 1:27 bug#73310: tree-sitter makes cpu 100% vinurs
2024-09-17 12:29 ` Eli Zaretskii
2024-09-19 12:53 ` vinurs [this message]
2024-09-20 6:50 ` Yuan Fu
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
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=etPan.66ec1eda.1cd06450.ba0f@vinurs.me \
--to=hi@vinurs.me \
--cc=73310@debbugs.gnu.org \
--cc=casouri@gmail.com \
--cc=eliz@gnu.org \
/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 public inbox
https://git.savannah.gnu.org/cgit/emacs.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).