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

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

bug#60894: 30.0.50; [PATCH] Add treesit-forward-sexp


From: Dmitry Gutov
Subject: bug#60894: 30.0.50; [PATCH] Add treesit-forward-sexp
Date: Wed, 18 Jan 2023 15:39:07 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2

On 18/01/2023 07:35, Theodor Thornhill wrote:
Yeah, it's not the easiest problem, but we can wait until we get more
experience in other modes too to solidify this design.  It is not for
pemacs-29 anyway, so we have time.

Added some words to the manual and your node types to ruby-ts-mode

Thanks! As far as I'm concerned, this is good for master, thank you.

Consider looking into an additional couple of commands which (probably) could be implemented using the same starting data: backward-up-list and down-list. These have been pretty useful to me.

backward-up-list might even work automatically with a sufficiently conforming forward-sexp-function (it does with SMIE); not sure about down-list -- SMIE has a dedicated implementation of it.

And show-paren-mode support would be nice to have too -- though it'll probably require a separate defcustom with node types.





reply via email to

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