all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: vinurs <hi@vinurs.me>
To: Yuan Fu <casouri@gmail.com>
Cc: 73310@debbugs.gnu.org, Eli Zaretskii <eliz@gnu.org>
Subject: bug#73310: tree-sitter makes cpu 100%
Date: Mon, 25 Nov 2024 19:21:49 +0800	[thread overview]
Message-ID: <etPan.67445dd2.510ac259.d458@vinurs.me> (raw)
In-Reply-To: <0653B68D-3F98-4D06-8C37-8976DC8C2BA4@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 1370 bytes --]

Hi Yuan,I installed tree-sitter version 0.24.4 using brew install tree-sitter. I then tried the following Emacs versions: 1. emacs-plus@30 2. emacs-plus@31 3. Emacs-pretest-30.0.92-universal.dmg(https://emacsformacosx.com/emacs-builds/Emacs-pretest-30.0.92-universal.dmg) 4. Compiled Emacs myself with the following configuration:  ./configure --with-tree-sitter=/opt/homebrew/opt/tree-sitter --with-native-compI attempted to reproduce the issue using the following steps: Move to line 52. Delete all characters following :error-code. Quickly press the spacebar twice. At this point, Emacs freezes. The issue persists across all versions and builds.  ------------Sincerely,Haiyuan Zhang, VinursBinaryBrain LLC 开 2024年11月25日 在 09:48:30, Yuan Fu (casouri@gmail.com) 写到:  

> On Nov 10, 2024, at 3:35 AM, vinurs <hi@vinurs.me> wrote:
>  
> Because I saw Yuan’s response in the tree-sitter issue thread stating that this bug had already been fixed, so I'm not sure if it’s the same issue anymore.
>  
> https://github.com/tree-sitter/tree-sitter/issues/3620
>  
> ------------
> Sincerely,
>  
> Haiyuan Zhang, Vinurs
> BinaryBrain LLC

Sorry for the late response. I went over the reproduce recipe again, and at least for me, Emacs doesn’t hang anymore. Maybe your Emacs isn’t picking up the right tree-sitter library?

Yuan

[-- Attachment #2: Type: text/html, Size: 3326 bytes --]

  reply	other threads:[~2024-11-25 11:21 UTC|newest]

Thread overview: 21+ 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
2024-09-20  6:50     ` Yuan Fu
2024-11-10 11:22       ` vinurs
2024-11-10 11:28         ` Eli Zaretskii
2024-11-10 11:35           ` vinurs
2024-11-25  1:48             ` Yuan Fu
2024-11-25 11:21               ` vinurs [this message]
2024-12-07 12:22                 ` Eli Zaretskii
2024-12-11  7:04                   ` Yuan Fu
2024-12-11  7:44                     ` vinurs
2024-12-11  8:10                       ` vinurs
2024-12-12  4:52                         ` Yuan Fu
2024-12-18 15:22                           ` vinurs
2024-12-19 18:33                             ` Yuan Fu
2024-12-19 21:34                               ` vinurs
2024-12-20  8:25                                 ` Yuan Fu
2024-12-20  8:37                                   ` Eli Zaretskii
2024-12-20  9:14                                     ` Yuan Fu
2024-12-20 12:15                                       ` Eli Zaretskii

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=etPan.67445dd2.510ac259.d458@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 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.