Subject: bug#21968: 25.0.50; Undo boundary change / problem with point after undo

From: [email-masked] (Phillip Lord)
Date: Sat, 21 Nov 2015 10:04:32 +0000

Thanks for the report.

I believe I have a fix for this (currently on branch
fix/undo-point-in-wrong-place).

Phil

David Reitter <[email-masked]> writes:

> X-Debbugs-CC: [email-masked]
>
>
> Emacs -Q
>
> Paste or enter the following text into the scratch buffer:
>
> Hello World. Hello world how are you?
>
> Move cursor to the beginning of a word, such as "world".
>
> Hit M-DEL  (backward-kill-word).  Word is killed as it should be, and point remains on "world".
> Then, C-_ (undo).
>
> Now, point is not where it should be (on "world", as before the change), but in the next line.
>
>
> The problem was introduced in 44dfa86 (Aug 6, 2015).
>
>
> (This was seen is on the emacs-25 branch.)