Subject: Re: bug#71679: 29.3; treesit-node-child function chokes and crashes emacs for nodes with large number of child nodes

From: Eli Zaretskii <[email-masked]>
Date: Thu, 20 Jun 2024 19:50:05 +0300

[Please use Reply All to keep the bug tracker CC'ed.]

> From: Mauritz Stenek <[email-masked]>
> 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?