unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: npostavs@users.sourceforge.net
To: Markus Triska <triska@metalevel.at>
Cc: 21722@debbugs.gnu.org, 1095@debbugs.gnu.org
Subject: bug#21722: 25.0.50; Unexpected point position after undo
Date: Wed, 10 Aug 2016 21:16:56 -0400	[thread overview]
Message-ID: <87popgxfxz.fsf@users.sourceforge.net> (raw)
In-Reply-To: <m24mhlgmkg.fsf@metalevel.at> (Markus Triska's message of "Wed, 21 Oct 2015 01:14:07 +0200")

Markus Triska <triska@metalevel.at> writes:

> In "emacs -Q", when I insert into *scratch* the form:
>
>    (progn (end-of-line) (insert "\nhi"))
>
> then place point on the "g" and press C-M-x C-/, then the insertion is
> undone, and point remains on the "g", as expected. When I then press:
>
>    C-h f C-g C-M-x C-/
>
> the insertion is undone, and point is unexpectedly placed at the end of
> the form instead of remaining on the "g". When I then place point on the
> "g" again, and again press C-M-x C-/, point again stays on the "g".
>
> Thus, point position after undo is sometimes unexpected.

In 25.1-rc1 the point position stays in place for both cases.  So I
guess this can be considered fixed?

(In 25.0.93 (which I happened to have lying around), it moves in both
cases)





  parent reply	other threads:[~2016-08-11  1:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 23:14 bug#21722: 25.0.50; Unexpected point position after undo Markus Triska
2016-07-03 15:19 ` Eli Zaretskii
2016-08-11  1:16 ` npostavs [this message]
2016-08-12  6:37   ` bug#1095: " Markus Triska
2016-08-19 15:45   ` Phillip Lord

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=87popgxfxz.fsf@users.sourceforge.net \
    --to=npostavs@users.sourceforge.net \
    --cc=1095@debbugs.gnu.org \
    --cc=21722@debbugs.gnu.org \
    --cc=triska@metalevel.at \
    /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 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).