[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#68824: treesitter support for outline-minor-mode
From: |
Eli Zaretskii |
Subject: |
bug#68824: treesitter support for outline-minor-mode |
Date: |
Fri, 02 Feb 2024 09:05:52 +0200 |
> Cc: 68824@debbugs.gnu.org
> From: Yuan Fu <casouri@gmail.com>
> Date: Thu, 1 Feb 2024 16:34:47 -0800
>
> Instead of using treesit-search-forward, can you use
> treesit-beginning-of-thing or treesit--navigate-thing to do what you want?
> They handle the “child before parent” problem for you, and handles some other
> edge cases.
If the above helps Juri accomplish his goal, I think we should reflect
that somehow in the ELisp manual, at least. I see that
treesit-beginning-of-thing is not even documented in the ELisp manual,
and treesit--navigate-thing is an internal function that is not
supposed to be called from outside of treesit.el.
Thanks.