|
From: | Dmitry Gutov |
Subject: | bug#60894: 30.0.50; [PATCH] Add treesit-forward-sexp |
Date: | Wed, 18 Jan 2023 23:59:44 +0200 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.4.2 |
On 18/01/2023 21:01, Stefan Monnier wrote:
backward-up-list might even work automatically with a sufficiently conforming forward-sexp-function (it does with SMIE);I'm happy to hear that opinion, but it's a bit too optimistic: `backward-up-list` doesn't really work sufficiently well (IMO) just using `forward-sexp-function`.
It does work fairly well in my experience.
My SMIE experience with it is that we really need a specific hook for that if we want to avoid wonky behaviors in "corner" cases.
A bug report with repro would probably help, I guess. Or you could start on that hook yourself.
Do you mean a hook like backward-up-list-function, or something smaller?
[Prev in Thread] | Current Thread | [Next in Thread] |