all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Markus Triska <triska@metalevel.at>
To: 21722@debbugs.gnu.org
Subject: bug#21722: 25.0.50; Unexpected point position after undo
Date: Wed, 21 Oct 2015 01:14:07 +0200	[thread overview]
Message-ID: <m24mhlgmkg.fsf@metalevel.at> (raw)


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.

For comparison: In Emacs 22.2, point remains on the "g" in all these
cases. This is more consistent, and, in my view, therefore preferable.


In GNU Emacs 25.0.50.5 (x86_64-apple-darwin14.1.0, X toolkit, Xaw3d scroll bars)
 of 2015-10-04
Repository revision: acfb5cd0353406784f085ddb6edfb0d0587048c8
Windowing system distributor 'The X.Org Foundation', version 11.0.11502000
Configured using:
 'configure --without-ns CFLAGS=-I/opt/local/include
 LDFLAGS=-L/opt/local/lib'

Configured features:
XAW3D XPM JPEG TIFF GIF PNG IMAGEMAGICK GSETTINGS NOTIFY ACL GNUTLS
LIBXML2 FREETYPE XFT ZLIB TOOLKIT_SCROLL_BARS LUCID X11

Important settings:
  value of $LANG: en_US.UTF-8
  locale-coding-system: utf-8-unix






             reply	other threads:[~2015-10-20 23:14 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-10-20 23:14 Markus Triska [this message]
2016-07-03 15:19 ` bug#21722: 25.0.50; Unexpected point position after undo Eli Zaretskii
2016-08-11  1:16 ` npostavs
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

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

  git send-email \
    --in-reply-to=m24mhlgmkg.fsf@metalevel.at \
    --to=triska@metalevel.at \
    --cc=21722@debbugs.gnu.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.