bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#70789: treesit navigate for outlines at bobp


From: Yuan Fu
Subject: bug#70789: treesit navigate for outlines at bobp
Date: Sun, 5 May 2024 20:11:56 -0700


> On May 5, 2024, at 9:52 AM, Juri Linkov <juri@linkov.net> wrote:
> 
> 'treesit-outline-search' didn't match outlines at the beginning of
> the buffer because unlike 're-search-forward' (used by outline-mode)
> that matches the text that immediately follows point,
> 'treesit-navigate-thing' misses text at point and stars the search
> after point.
> 
> So there is a need to handle this difference specially.  Therefore this
> patch adds such special-handling of bobp to 'treesit-outline-search’:

Thanks. Just for me to understand it better, could you show an example where 
treesit-navigate-thing misses text at point? If it does, that should be a bug 
that treesit-navigate-thing should fix, right?

Yuan







reply via email to

[Prev in Thread] Current Thread [Next in Thread]