GNU bug report logs - #25433
undo should restore cursor position too

Previous Next

Package: emacs;

Reported by: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Date: Fri, 13 Jan 2017 00:22:02 UTC

Severity: wishlist

Done: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: 積丹尼 Dan Jacobson <jidanni <at> jidanni.org>
Cc: 25433 <at> debbugs.gnu.org
Subject: bug#25433: undo should restore cursor position too
Date: Fri, 13 Jan 2017 10:36:52 +0200
> From: 積丹尼 Dan Jacobson
> 	<jidanni <at> jidanni.org>
> Date: Fri, 13 Jan 2017 08:20:47 +0800
> 
> 1. Accidentally paste (C-y) many many lines into the middle of the file
> on the middle of your screen.
> 
> 2. Your first reaction of course is to hit undo (C-/).
> 
> 3. What you are looking at still leaves you worried. It sure doesn't
> look like what you were looking at before the accident happened.
> 
> 4. Your second reaction might be to hit undo again. Ahh, but that will
> only make things worse!
> 
> Actually the first undo fixed everything back up. It just left the
> cursor at a different position on the screen leaving you disoriented! It
> shouldn't do that. Undo should restore cursor position too.

I cannot reproduce this here: undo does restore the position of point
for me, as it should.  Do you see this in "emacs -Q"?  If so, please
provide a more detailed recipe, including the lines one needs to yank.




This bug report was last modified 8 years and 1 day ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.