On Wed, Aug 30, 2023 at 11:24 PM Yuan Fu wrote: > > branch: emacs-29 > commit ec4d29c4494f32acf0ff7c5632a1d951d957f084 > Author: Yuan Fu > Commit: Yuan Fu > > Improve performance of treesit_cursor_helper_1 > > * src/treesit.c: (treesit_cursor_helper_1): Use > - if (!ts_tree_cursor_goto_first_child (cursor)) > + if (ts_tree_cursor_goto_first_child_for_byte (cursor, start_pos) == -1) Hi Yuan, I think this commit may have broken things for the Windows port. Running configure I now get: C:/msys2/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/11.3.0/../../../../x86_64-w64-mingw32/bin/ld.exe: treesit.o:treesit.c:(.text+0xce2): undefined reference to `ts_tree_cursor_goto_first_child_for_byte' Interestingly, it does seem to exist in mingw32/mingw-w64-i686-tree-sitter 0.20.6-1 (current, according to pacman -Ss tree-sitter): Function Name Address Relative Address Ordinal Filename Full Path Type ts_tree_cursor_goto_first_child_for_byte 0x00000002c62ef550 0x0001f550 179 (0xb3) libtree-sitter.dll C:\msys2\mingw64\bin\libtree-sitter.dll Exported Function I've attached the complete log, here's my configure command. which followed a git clean -xf && ./autogen.sh: ./configure --enable-checking='yes,glyphs' --enable-check-lisp-object-type --with-modules --without-dbus --with-native-compilation=aot --without-compress-install --with-tree-sitter CFLAGS='-O0 -g3' | tee /g/quick.log