Steps to reproduce: with the buffer as above, enter symex mode and press x (symex-delete)
Expected result:
(list <thing1>)
Actual result:
(list <thing>)
Note the missing 1 at the end of thing1.
Stepping through with edebug, it seems like the problem is caused by evil-find-char in symex-lisp--delete at line 72 which causes the cursor to move one character to the left: maybe a save-excursion is needed here?
I've noticed that in the following situation,
symex-delete
deletes an extra character at the end of a line:Steps to reproduce: with the buffer as above, enter
symex
mode and pressx
(symex-delete
)Expected result:
Actual result:
Note the missing
1
at the end ofthing1
.Stepping through with edebug, it seems like the problem is caused by
evil-find-char
insymex-lisp--delete
at line 72 which causes the cursor to move one character to the left: maybe asave-excursion
is needed here?