GNU bug report logs - #71679
29.3; treesit-node-child function chokes and crashes emacs for nodes with large number of child nodes

Previous Next

Package: emacs;

Reported by: Mauritz Stenek <mstenek <at> disroot.org>

Date: Thu, 20 Jun 2024 15:09:01 UTC

Severity: normal

Found in version 29.3

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #11 received at 71679 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Mauritz Stenek <mstenek <at> disroot.org>
Cc: 71679 <at> debbugs.gnu.org
Subject: Re: 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 19:50:05 +0300
[Please use Reply All to keep the bug tracker CC'ed.]

> From: Mauritz Stenek <mstenek <at> disroot.org>
> 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?

Or maybe it will be easier for everyone if you show a recipe with
java-ts-mode?




This bug report was last modified 1 year and 28 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.