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

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

bug#60143: 29.0.60; command `undo-redo` don't restore cursor position


From: yinz Liu
Subject: bug#60143: 29.0.60; command `undo-redo` don't restore cursor position
Date: Sat, 17 Dec 2022 09:42:28 +0800

aaaa ! bbbb @ cccc #


1. when cursor at position "#", call `undo', cursor jump to "@"

2. when cursor at position "@", call `undo-redo', text "cccc" restore,

   but cursor still remain in "@", don't move to "#".


my workaround fow now:


in function primitive-undo :


change L3624 to : `(goto-char (+ pos (length string)))`


reply via email to

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