Re: emacs-31 29bbd02347d: Fix treesit_cursor_helper_1 for zero-width nodes (bug#81436)

Eli Zaretskii <[email protected]> Tue, 28 Jul 2026 15:15:13 +0300
Newsgroups gmane.emacs.devel
Message-ID <[email protected]>
> From: Yuan Fu <[email protected]>
> Date: Tue, 28 Jul 2026 03:15:12 -0700
> Cc: Michael Albinus <[email protected]>,
>  [email protected]
> 
> > I tried to fix that now.  Yuan, please see if I got the logic right.
> 
> Thanks Eli! Your fix is right, the idea is that we try the for_byte variant (skipped if start = end), and if that didn’t find a child, try the normal variant. And here’s a trivial patch that hopefully further explains why we need to skip the call to for_byte variant.

Thanks, installed.