GNU bug report logs - #62875
28.2; Crash on MacOS/M1 with treesitter enabled

Previous Next

Package: emacs;

Reported by: Drew Moseley <drew.moseley <at> gmail.com>

Date: Sun, 16 Apr 2023 04:33:02 UTC

Severity: normal

Found in version 28.2

Full log


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

From: Yuan Fu <casouri <at> gmail.com>
To: Ruijie Yu <ruijie <at> netyu.xyz>
Cc: drew.moseley <at> gmail.com, 62875 <at> debbugs.gnu.org
Subject: Re: bug#62875: 28.2; Crash on MacOS/M1 with treesitter enabled
Date: Sat, 15 Apr 2023 22:33:31 -0700

Thanks for notifying me

Ruijie Yu <ruijie <at> netyu.xyz> writes:

>> [...]
>> Although, please take that with a grain of salt, because I noticed that
>> tree-sitter is not mentioned in configure, nor the configured features.
>> If I'm not mistaken, tree-sitter feature is automatically enabled when
>> the executable "tree-sitter" is found.  Did you install it from your
>> package manager like brew?
>
> Clarification: "Did you install *tree-sitter* from your package manager
> like brew?".

A couple of things: you are using the third-party tree-sitter package,
not the builtin one, so what Ruijie said doesn’t apply in this
particular case. Let’s see the log and check out what’s going on.

Emacs 29 (and nightly) comes with a builtin support for tree-sitter.
Looking at emacsformacosx, all nightly builds since 2023/3/10 have
tree-sitter builtin. To try that out, you can follow this guide:

https://archive.casouri.cc/note/2023/tree-sitter-in-emacs-29/index.html

A easy way to distinguish between the third-party package and the
builtin support is to look at the prefix, tree-sitter-xxx is the
third-party one, treesit-xxx is the builtin one.


Yuan




This bug report was last modified 2 years and 55 days ago.

Previous Next


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