From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: vinurs Newsgroups: gmane.emacs.bugs Subject: bug#73310: tree-sitter makes cpu 100% Date: Tue, 17 Sep 2024 09:27:20 +0800 Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="66e8dafd_f1db597_15a2e" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17303"; mail-complaints-to="usenet@ciao.gmane.io" To: 73310@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Sep 17 03:28:24 2024 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1sqN0y-0004Jn-Nq for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 17 Sep 2024 03:28:24 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqN0c-0003zF-Ge; Mon, 16 Sep 2024 21:28:02 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqN0b-0003yx-CD for bug-gnu-emacs@gnu.org; Mon, 16 Sep 2024 21:28:01 -0400 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1sqN0N-0002xz-RK for bug-gnu-emacs@gnu.org; Mon, 16 Sep 2024 21:28:00 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:From:Date:To:Subject; bh=aE0nvdC1n8GKlYdcvgZeRgmxR1UZZ07zljd2txjaMRs=; b=dqQME11z7uTbkBnfk/Ggciv9O0ihnRIkTKwWb6rch5kABwkIWN+hm2iESMsPlWLCXkFfGUGI+Bvve02LW2bVyBYC0lxAFlP1J/JEhlTjC5iUAKPnsjTa0meIYRyqqxfR27x/6CV6qm3j+ZNLTE+TBDRNnFOwFcymnyNCdIXCoBhPhqSz6krotEndiGcFLyvH62X0+xaG2iKszIr2q/1jTE5Kn1oHn4y7xwc69pyN1HPlrSeznivtrEnI3zuoAyrYE3olz4nNdqU3rbuuT9JE/BB5LDRhCCLomk57LajlR7QPXdL8fM/RU3PxoQMd612cpR6OhbUpClpBXiflu5i+kQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sqN0b-00067r-Qf for bug-gnu-emacs@gnu.org; Mon, 16 Sep 2024 21:28:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: vinurs Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 Sep 2024 01:28:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73310 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.172653647423527 (code B ref -1); Tue, 17 Sep 2024 01:28:01 +0000 Original-Received: (at submit) by debbugs.gnu.org; 17 Sep 2024 01:27:54 +0000 Original-Received: from localhost ([127.0.0.1]:53681 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqN0U-00067O-6Y for submit@debbugs.gnu.org; Mon, 16 Sep 2024 21:27:54 -0400 Original-Received: from lists.gnu.org ([209.51.188.17]:46024) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sqN0S-00067E-Ae for submit@debbugs.gnu.org; Mon, 16 Sep 2024 21:27:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqN0E-0003yH-26 for bug-gnu-emacs@gnu.org; Mon, 16 Sep 2024 21:27:38 -0400 Original-Received: from sender4-op-o15.zoho.com ([136.143.188.15]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqN0B-0002xU-Jx for bug-gnu-emacs@gnu.org; Mon, 16 Sep 2024 21:27:37 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1726536449; cv=none; d=zohomail.com; s=zohoarc; b=MqJf7pQ+KkHEfWLZR6Drq5TPCOnUBcyr2ae+GIrx4lH6ZVDE1Ts6V64AWL5IXI/HR5qF856pVqP0pvt9Gjh83jo37u1EvlQKB+y89SVsfez/kzJ7TKENJMIpPxf1uUaI4YpMXtgN9vGxZrMmdM6NENQAV5H2NEi2QgpBPIlXPhA= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1726536449; h=Content-Type:Date:Date:From:From:MIME-Version:Message-ID:Subject:Subject:To:To:Message-Id:Reply-To:Cc; bh=aE0nvdC1n8GKlYdcvgZeRgmxR1UZZ07zljd2txjaMRs=; b=A3T0Zh2RwE4uv4XCsTg5IXjbhFkHIdmmPBBOqUEKqSjB8C1sHbBDsRb64iFjuLypOwbapGyzGup8BgahvNtv9Da2Kz7NPZ4u/nX8Mc7OMIcfJBkIRKJrocCkQvCpFg0aOPSnduVZQKW2yoc89YKPcnQr2Z0FKBit0W6eOvH34GY= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=vinurs.me; spf=pass smtp.mailfrom=hi@vinurs.me; dmarc=pass header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1726536449; s=zmail; d=vinurs.me; i=hi@vinurs.me; h=Date:Date:From:From:To:To:Message-ID:Subject:Subject:MIME-Version:Content-Type:Message-Id:Reply-To:Cc; bh=aE0nvdC1n8GKlYdcvgZeRgmxR1UZZ07zljd2txjaMRs=; b=BV02PCLUBk6NNsMhDPaLGdfP6EnIXLvUzHjT7l2gkiiN7zpJJVAeSncuF+NJ80tt j0LpayztVxSiIe/UjheXERtw2DO+gJfGGPKaBRpsgVs5K2vjFvY0TlQ77BrLRR/9Hcw /nONB5vv1GcT9yX9Ay2Btqeni/cjWHbrcFlnRoCg= Original-Received: by mx.zohomail.com with SMTPS id 17265364484951020.3479573327442; Mon, 16 Sep 2024 18:27:28 -0700 (PDT) X-Zoho-Virus-Status: 1 X-Zoho-AV-Stamp: zmail-av-1.3.1/223.982.64 Received-SPF: pass client-ip=136.143.188.15; envelope-from=hi@vinurs.me; helo=sender4-op-o15.zoho.com X-Spam_score_int: -17 X-Spam_score: -1.8 X-Spam_bar: - X-Spam_report: (-1.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-1.048, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:291921 Archived-At: --66e8dafd_f1db597_15a2e Content-Type: multipart/alternative; boundary="66e8dafd_6706775f_15a2e" --66e8dafd_6706775f_15a2e Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Hi, I am using the latest emacs-30 https://github.com/emacs-mirror/emacs/comm= it/c6077015894dd89c5aa3811bf55d3124394874d0=C2=A0 The min configuration is as follows: (add-to-list 'treesit-extra-load-path (expand-file-name =22tree-sitter/=22= user-emacs-directory)) (add-to-list 'load-path =22=7E/.emacs.d/site-lisp/clojure-ts-mode=E2=80=9D= ) (require 'clojure-ts-mode) ;; debug (setq debug-on-quit t) and I only use clojure-ts-mode package cd =7E/.emacs.d/site-lisp git clone=C2=A0https://github.com/clojure-emacs/clojure-ts-mode.git Then, after opening Emacs,=C2=A0Open 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 --66e8dafd_6706775f_15a2e Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline