From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Mauritz Stenek via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#71679: 29.3; treesit-node-child function chokes and crashes emacs for nodes with large number of child nodes Date: Thu, 20 Jun 2024 11:07:28 -0600 Message-ID: <87zfrflezz.fsf@disroot.org> References: <87bk3vmz2o.fsf@disroot.org> <86zfrfmwke.fsf@gnu.org> <877cejmv0m.fsf@disroot.org> <86sex7mude.fsf@gnu.org> Reply-To: Mauritz Stenek Mime-Version: 1.0 Content-Type: text/plain; format=flowed Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13156"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 71679@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 20 19:08:28 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 1sKLGt-0003D5-Ii for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 20 Jun 2024 19:08:27 +0200 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sKLGc-0004XB-1V; Thu, 20 Jun 2024 13:08:10 -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 1sKLGZ-0004WS-1o for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 13:08:07 -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 1sKLGQ-00035c-9X for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 13:08:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1sKLGT-0002ZW-Rs for bug-gnu-emacs@gnu.org; Thu, 20 Jun 2024 13:08:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Mauritz Stenek Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 20 Jun 2024 17:08:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 71679 X-GNU-PR-Package: emacs Original-Received: via spool by 71679-submit@debbugs.gnu.org id=B71679.17189032619848 (code B ref 71679); Thu, 20 Jun 2024 17:08:01 +0000 Original-Received: (at 71679) by debbugs.gnu.org; 20 Jun 2024 17:07:41 +0000 Original-Received: from localhost ([127.0.0.1]:36763 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKLG8-0002Ym-Hv for submit@debbugs.gnu.org; Thu, 20 Jun 2024 13:07:40 -0400 Original-Received: from layka.disroot.org ([178.21.23.139]:58322) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1sKLG6-0002Ya-9U for 71679@debbugs.gnu.org; Thu, 20 Jun 2024 13:07:39 -0400 X-Virus-Scanned: SPAM Filter at disroot.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=disroot.org; s=mail; t=1718903251; bh=m6iKg2+uSPF1UHcoih9FcArNV7z5+ue892DIwFQYKMk=; h=From:To:Cc:Subject:In-Reply-To:References:Date; b=D4GgVrt6rJfqtxBFmCFk0vQO16NeFQtWQ3PUGQXreWPXoT0jHaAg0dyQSzVvb7XGV 7cdeH4tLnPTohyq4ozZgmSklh3uEMPBbDzqNfWv282+aEDyeh8y/se9gTqE9ziFWOO QcD3xwhUQRBtJGRGzbJ9GO/BYJb0rQE9cRrK4qbrf/ymLBX3wHq8JldDYLGCOjUqEP 2GLfaQqLVdZ/8wYnF3qqKxxzI/ofJtnodtvg5hPRPPEllQnBuYZHC15tUerVPf1PsR Ih8uv/5k85PY4qD3G0aFPdwtnto0pC9xKQzQVuL38+rHih8DjX8oIWJCzbhWyjt1ZE /nvxUrnRca3Lw== In-Reply-To: <86sex7mude.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 20 Jun 2024 19:50:05 +0300") 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:287578 Archived-At: On 2024-06-20 at 10:50, Eli Zaretskii wrote: > [Please use Reply All to keep the bug tracker CC'ed.] Will do -- I'm new at this. >> From: Mauritz Stenek >> Date: Thu, 20 Jun 2024 10:36:09 -0600 >> >> Here's the recipe: >> >> 1) launch emacs -q >> >> 2) Execute the following: >> >> ``` >> (setq treesit-language-source-alist >> '((julia >> "https://github.com/tree-sitter/tree-sitter-julia"))) >> >> (setq major-mode-remap-alist >> '((julia-mode . julia-ts-mode))) >> >> (treesit-install-language-grammar 'julia) >> ``` > > Thanks, but which julia-mode and julia-ts-mode are you using? Julia mode: https://github.com/JuliaEditorSupport/julia-emacs Julia ts mode: https://github.com/nick4f42/julia-ts-mode > Or maybe it will be easier for everyone if you show a recipe > with > java-ts-mode? Its basically the same as the julia example, just replace the references to julia with java. -- Mauritz Stenek