* bug#25433: undo should restore cursor position too @ 2017-01-13 0:20 積丹尼 Dan Jacobson 2017-01-13 8:36 ` Eli Zaretskii 2017-07-18 0:07 ` 積丹尼 Dan Jacobson 0 siblings, 2 replies; 3+ messages in thread From: 積丹尼 Dan Jacobson @ 2017-01-13 0:20 UTC (permalink / raw) To: 25433 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 bet that's how the undo found in browser menus works. OK it might restore the cursor position, but does it restore the file position in the whole window? ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#25433: undo should restore cursor position too 2017-01-13 0:20 bug#25433: undo should restore cursor position too 積丹尼 Dan Jacobson @ 2017-01-13 8:36 ` Eli Zaretskii 2017-07-18 0:07 ` 積丹尼 Dan Jacobson 1 sibling, 0 replies; 3+ messages in thread From: Eli Zaretskii @ 2017-01-13 8:36 UTC (permalink / raw) To: 積丹尼 Dan Jacobson; +Cc: 25433 > From: 積丹尼 Dan Jacobson > <jidanni@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. ^ permalink raw reply [flat|nested] 3+ messages in thread
* bug#25433: undo should restore cursor position too 2017-01-13 0:20 bug#25433: undo should restore cursor position too 積丹尼 Dan Jacobson 2017-01-13 8:36 ` Eli Zaretskii @ 2017-07-18 0:07 ` 積丹尼 Dan Jacobson 1 sibling, 0 replies; 3+ messages in thread From: 積丹尼 Dan Jacobson @ 2017-07-18 0:07 UTC (permalink / raw) To: Eli Zaretskii; +Cc: 25433-done Indeed this is hard to reproduce. So I'll close it. Instead I'll open a similar bug: http://debbugs.gnu.org/27745 . ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-07-18 0:07 UTC | newest] Thread overview: 3+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2017-01-13 0:20 bug#25433: undo should restore cursor position too 積丹尼 Dan Jacobson 2017-01-13 8:36 ` Eli Zaretskii 2017-07-18 0:07 ` 積丹尼 Dan Jacobson
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).