# Help testing Julia tree-sitter mode in Emacs

**URL:** https://discourse.julialang.org/t/help-testing-julia-tree-sitter-mode-in-emacs/92819
**Category:** Tooling
**Created:** [January 11, 2023, 7:06pm UTC](https://discourse.julialang.org/t/help-testing-julia-tree-sitter-mode-in-emacs/92819 "2023-01-11T19:06:15Z")
**Posts on this page:** 2
**Page:** 3

<div class="post-metadata">

### Author: ![Ronis\_BR](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ronis_br/32/50999_2.png) [@Ronis\_BR](https://discourse.julialang.org/u/Ronis_BR)
#### Post date: [May 2, 2024, 12:31pm UTC](https://discourse.julialang.org/t/help-testing-julia-tree-sitter-mode-in-emacs/92819/41 "2024-05-02T12:31:33Z")

</div>

When I first developed `julia-ts-mode`, I did not find any way to manage the grammar version in Emacs. The first time I saw this problem was a C grammar update that completely broke C development in Emacs. At that time, someone in the mailing list said that Emacs did not have a way to create this dependency and the user should verify it. I have no idea if things have changed.

---

<div class="post-metadata">

### Author: ![gdkrmr](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/gdkrmr/32/2791_2.png) [@gdkrmr](https://discourse.julialang.org/u/gdkrmr)
#### Post date: [May 21, 2024, 7:09pm UTC](https://discourse.julialang.org/t/help-testing-julia-tree-sitter-mode-in-emacs/92819/42 "2024-05-21T19:09:44Z")

</div>

I am using Spacemacs and had Emacs crash every time it tried to open a .jl file two days ago. For me the solution was to delete the self compiled “.so” file of the tree sitter grammar (I think it was in “~/.emacs.d/tree-sitter/”) and rely on the one provided by `tree-sitter-langs-install-latest-grammar`. Because I am on a rolling release distro, I guess some system dependency changed, `gdb` said it was the C or C++ standard library iirc.

Sorry that I cannot be more specific I cannot find the file in my trash any more and I am not 100% sure what packages spacemacs uses in the background.

[Previous page](https://discourse.julialang.org/t/help-testing-julia-tree-sitter-mode-in-emacs/92819.md?page=2)
