From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Yuan Fu Newsgroups: gmane.emacs.bugs Subject: bug#73310: tree-sitter makes cpu 100% Date: Sun, 24 Nov 2024 17:48:16 -0800 Message-ID: <0653B68D-3F98-4D06-8C37-8976DC8C2BA4@gmail.com> References: <86ldzqbh02.fsf@gnu.org> <86bjynl43x.fsf@gnu.org> Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="16512"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 73310@debbugs.gnu.org, Eli Zaretskii To: vinurs Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Nov 25 02:50:19 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 1tFOF1-00047H-NQ for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 25 Nov 2024 02:50:19 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tFOEo-0003QP-Ef; Sun, 24 Nov 2024 20:50:06 -0500 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 1tFOEm-0003Oq-RM for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 20:50:04 -0500 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 1tFOEk-0003XW-B3 for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 20:50:03 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=References:Date:In-Reply-To:From:Mime-Version:To:Subject; bh=fXqGHplyJvRl5bKtf1CEUtU8thmLLOVyA52aNMkS5OI=; b=hfeVj+ilrAaRGrXKocrWvgxlKh2xTKra/83KY3+Lx1k/CA8T74kZ9lMpQaBEVh8rIqE8XT0ZAVE88oEUa+pXsvrSVsTf/KsybCAgCF/358/oq852Af7ewO8na1BahxSc5xYTF95+5QpPvOdBtD7WdlrAEpXfp+17PThuuyD2uA0CZlEoXmFGquCp010cThVulCKshGSwxqAQj7Z2o8NddUmZ1xI3ITm4tNwpsZT602JAr9MiKtZoc0RFOYj5I4wd75cDEFHN84PAbOjXr9TrkfJylxNXCAfu5NxcLpECJF6UOdC3r0C2FGI1Mvq2bjkhzUwL40NN3HhDMuyk/kZtaA==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tFOEk-00089Y-4Z for bug-gnu-emacs@gnu.org; Sun, 24 Nov 2024 20:50:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Yuan Fu Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 25 Nov 2024 01:50:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 73310 X-GNU-PR-Package: emacs Original-Received: via spool by 73310-submit@debbugs.gnu.org id=B73310.173249937231276 (code B ref 73310); Mon, 25 Nov 2024 01:50:02 +0000 Original-Received: (at 73310) by debbugs.gnu.org; 25 Nov 2024 01:49:32 +0000 Original-Received: from localhost ([127.0.0.1]:36640 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFOEF-00088O-KN for submit@debbugs.gnu.org; Sun, 24 Nov 2024 20:49:31 -0500 Original-Received: from mail-pl1-f172.google.com ([209.85.214.172]:46483) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tFOED-00088F-2U for 73310@debbugs.gnu.org; Sun, 24 Nov 2024 20:49:30 -0500 Original-Received: by mail-pl1-f172.google.com with SMTP id d9443c01a7336-2126408cf52so33138175ad.1 for <73310@debbugs.gnu.org>; Sun, 24 Nov 2024 17:49:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1732499308; x=1733104108; darn=debbugs.gnu.org; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=fXqGHplyJvRl5bKtf1CEUtU8thmLLOVyA52aNMkS5OI=; b=VAX30vc5Y8IGm0UlZLqzlFGsfEqPfPrzj3M3KV6JDYAT4BYHhaTb7nOLNNQ94ziVtJ pUNonnH7ylaR1rvJvzM2bQU2BxtgjefPS2ZAbE+wE5UWzio+43FqnYRk2pL1b6xHEj7w 6Oh8KKlA8/Isc7AhaM1eZLLMWjrnsVS09cehBMylOwuTNX+lz34sUoSRkoXPX4IjTMeW lTMtfLCX2ph+K9myOPPlQB1Xenlx+tM6/1hcT1W2WJMbpwj8PMAoc9JRE91U0bNegolW dy99f1pSzWOna8RxgeRVcljWyUNCeN7sXGuK4pHM/KqaKxgyyKUGlhdK7u4TuERvEId3 EvZQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1732499308; x=1733104108; h=to:references:message-id:content-transfer-encoding:cc:date :in-reply-to:from:subject:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=fXqGHplyJvRl5bKtf1CEUtU8thmLLOVyA52aNMkS5OI=; b=c51n3CLuMDUCgdCAuqzN3/uYStzfnXutOzl9joROQr0tTY7cSxr3wsin0iDQ8o+5oJ M+SpAOY18A3o9j+xkI0Sbx5WZFrp2CLkvPYNtGx4nNGo2h61wQPLH6I+KR4YIIWyJB6p ArgeAYo2xYfz6pTwzRWEkYdmoFgpx2pDmQujqgrBURLgw5nai4ctTiOniHSKKwGvqJes 5wL6rU1LH5ELW7dlkB1RUJwJR+0s6Y75e8RI16wHY+J+fbtoi2bmQMwvlYvsQgQ7p8dV tbv+8G2jD3EdvWUiGbUQBjgOMP1iSlH+sHq4pHb9+aSMCX0WrW4CQweH4DM3jFjGFX25 i5ZQ== X-Forwarded-Encrypted: i=1; AJvYcCV9leKIN0bqfuqkiZ4uux1WDvH97cVzSOv30rgvCd7h9wq/V67d64Y9kppOynubAG0MBd1h9Q==@debbugs.gnu.org X-Gm-Message-State: AOJu0Yy9k0gOOSM7SqKGUV8pIauuVq6TqT2Qe4Urd/lNPYSFTz+WxuKn IxP19r51Hkz/8U+4//zVy3fJah1MoVdmWLGVT7JZuXKje+XTXoeC X-Gm-Gg: ASbGncuPVttnUn5ymtokIU74Lozn+tDvsZDGg0CDGUgauyPAMHkRrvexcW6OnGi2YDs HqV3uR1ZcdakH6V8IJ2QjGVo0GvrfQNNoINxIHtyN3yW9Xek+eYP5UQ4dW7m4cHH66Qy68kYSbe YLIP7iodGffozrxRr3bxGWqXn2TN7jVerN/ZAkZ8jFF06m0XOZ5Xz8w2e4FPsrcx5+EPygMVFsH hbXWeoxJwWit3r+/vswsp58HwZmJ8w4/Df8Bl4VzlUCGQ3We6Vz+8RxBxiQJ6fDSNytNzU0IA== X-Google-Smtp-Source: AGHT+IGNN3Z6dxZsCImqTPLIgyRcl3v8c81c/ny3EpfEwiyXwtDD3k2qMTq1ci0ZFR2PUFfFHzK3gA== X-Received: by 2002:a17:903:1c1:b0:212:536a:57a6 with SMTP id d9443c01a7336-2129f6b0adfmr154186145ad.19.1732499308260; Sun, 24 Nov 2024 17:48:28 -0800 (PST) Original-Received: from smtpclient.apple ([2601:646:8f81:6120:9db4:d34c:247c:f36b]) by smtp.gmail.com with ESMTPSA id d9443c01a7336-2129dc20bb0sm52880675ad.239.2024.11.24.17.48.27 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Sun, 24 Nov 2024 17:48:27 -0800 (PST) In-Reply-To: X-Mailer: Apple Mail (2.3776.700.51) 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:295927 Archived-At: > On Nov 10, 2024, at 3:35=E2=80=AFAM, vinurs wrote: >=20 > Because I saw Yuan=E2=80=99s response in the tree-sitter issue thread = stating that this bug had already been fixed, so I'm not sure if it=E2=80=99= s the same issue anymore. >=20 > https://github.com/tree-sitter/tree-sitter/issues/3620 >=20 > ------------ > Sincerely, >=20 > Haiyuan Zhang, Vinurs > BinaryBrain LLC Sorry for the late response. I went over the reproduce recipe again, and = at least for me, Emacs doesn=E2=80=99t hang anymore. Maybe your Emacs = isn=E2=80=99t picking up the right tree-sitter library? Yuan=