unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#21968: 25.0.50; Undo boundary change / problem with point after undo
@ 2015-11-21  3:06 David Reitter
  2015-11-21 10:04 ` Phillip Lord
  0 siblings, 1 reply; 2+ messages in thread
From: David Reitter @ 2015-11-21  3:06 UTC (permalink / raw)
  To: 21968; +Cc: phillip.lord

X-Debbugs-CC: phillip.lord@newcastle.ac.uk


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.)




^ permalink raw reply	[flat|nested] 2+ messages in thread

* bug#21968: 25.0.50; Undo boundary change / problem with point after undo
  2015-11-21  3:06 bug#21968: 25.0.50; Undo boundary change / problem with point after undo David Reitter
@ 2015-11-21 10:04 ` Phillip Lord
  0 siblings, 0 replies; 2+ messages in thread
From: Phillip Lord @ 2015-11-21 10:04 UTC (permalink / raw)
  To: David Reitter; +Cc: 21968


Thanks for the report.

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

Phil


David Reitter <david.reitter@gmail.com> writes:

> X-Debbugs-CC: phillip.lord@newcastle.ac.uk
>
>
> 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.)





^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2015-11-21 10:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-11-21  3:06 bug#21968: 25.0.50; Undo boundary change / problem with point after undo David Reitter
2015-11-21 10:04 ` Phillip Lord

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).