all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: "積丹尼 Dan Jacobson" <jidanni@jidanni.org>
Cc: 25433@debbugs.gnu.org
Subject: bug#25433: undo should restore cursor position too
Date: Fri, 13 Jan 2017 10:36:52 +0200	[thread overview]
Message-ID: <83bmvbcq57.fsf@gnu.org> (raw)
In-Reply-To: <87a8av95eo.fsf@jidanni.org>

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





  reply	other threads:[~2017-01-13  8:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-01-13  0:20 bug#25433: undo should restore cursor position too 積丹尼 Dan Jacobson
2017-01-13  8:36 ` Eli Zaretskii [this message]
2017-07-18  0:07 ` 積丹尼 Dan Jacobson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=83bmvbcq57.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=25433@debbugs.gnu.org \
    --cc=jidanni@jidanni.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

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

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.