GNU bug report logs - #68824
treesitter support for outline-minor-mode

Previous Next

Package: emacs;

Reported by: Juri Linkov <juri <at> linkov.net>

Date: Tue, 30 Jan 2024 17:42:02 UTC

Severity: wishlist

Tags: patch

Fixed in version 30.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Juri Linkov <juri <at> linkov.net>
To: Yuan Fu <casouri <at> gmail.com>
Cc: Eli Zaretskii <eliz <at> gnu.org>, 68824 <at> debbugs.gnu.org
Subject: bug#68824: treesitter support for outline-minor-mode
Date: Fri, 02 Feb 2024 09:53:27 +0200
> 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.

I don't understand yet how this would change the traversal order
from post-order to pre-order.  But I will try to use
treesit-beginning-of-thing and treesit--navigate-thing
Thanks for suggestion.

Eli, currently I don't need documentation
since I will check source code anyway.
But I agree this should documented at some time.




This bug report was last modified 1 year and 176 days ago.

Previous Next


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