Closed Armael closed 1 year ago
(I hit enter too fast initially submitting an issue with empty text, so apologies in advance for anyone who received an empty mail. I've now edited the text of the initial post.)
bump
Same issue, manifesting in utop, a lambda-term based app.
This bug comes from when switching from camomile to uuseg,
was replaced by https://github.com/ocaml-community/zed/blob/bb78fec8999a7c205fd060288544a0065dc1cc14/src/zed_edit.ml#L86-L106
This new function doesn't deal with some conditions well.
And because the previous function do word matching by regexp `Alphabetic plus 1 2 3 4 5 6 7 8 9 0, but the new function do it by uuseg's word segmentation algorithm. Other depending functions also need some tweaks.
Lambda-term version 3.3.x seems to have broken the behavior of the alt-b / alt-f keybindings for moving with word-level granularity.
Minimal (?) example:
With lambda-term 3.2.0 (modulo tweaking the relevant line), everything works fine. With lambda-term 3.3.0, hitting alt-b then alt-f repeatedly jumps between the
e
ando
letters ofhello
, instead of behaving as expected.