From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs Subject: bug#21722: 25.0.50; Unexpected point position after undo Date: Wed, 21 Oct 2015 01:14:07 +0200 Message-ID: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1445382938 7053 80.91.229.3 (20 Oct 2015 23:15:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 20 Oct 2015 23:15:38 +0000 (UTC) To: 21722@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Oct 21 01:15:25 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Zog7b-0006sB-Ai for geb-bug-gnu-emacs@m.gmane.org; Wed, 21 Oct 2015 01:15:11 +0200 Original-Received: from localhost ([::1]:48431 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zog7a-0000jE-VT for geb-bug-gnu-emacs@m.gmane.org; Tue, 20 Oct 2015 19:15:10 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35319) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zog7X-0000i1-IP for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 19:15:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zog7T-00075k-DP for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 19:15:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:39546) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zog7T-00075d-A6 for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 19:15:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Zog7S-00032A-Ls for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 19:15:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Markus Triska Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 20 Oct 2015 23:15:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 21722 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: X-Debbugs-Original-To: bug-gnu-emacs@gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.144538286011595 (code B ref -1); Tue, 20 Oct 2015 23:15:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 20 Oct 2015 23:14:20 +0000 Original-Received: from localhost ([127.0.0.1]:58487 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zog6l-00030x-HL for submit@debbugs.gnu.org; Tue, 20 Oct 2015 19:14:19 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:53436) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Zog6k-00030p-1K for submit@debbugs.gnu.org; Tue, 20 Oct 2015 19:14:18 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zog6j-000729-37 for submit@debbugs.gnu.org; Tue, 20 Oct 2015 19:14:17 -0400 Original-Received: from lists.gnu.org ([2001:4830:134:3::11]:42884) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zog6j-000725-08 for submit@debbugs.gnu.org; Tue, 20 Oct 2015 19:14:17 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:35207) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zog6i-0000fq-5a for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 19:14:16 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Zog6e-00071h-4v for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 19:14:16 -0400 Original-Received: from static.59.150.47.78.clients.your-server.de ([78.47.150.59]:34858 helo=metalevel.at) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Zog6d-00071b-Uo for bug-gnu-emacs@gnu.org; Tue, 20 Oct 2015 19:14:12 -0400 Original-Received: from dawn.meta (dawn.metalevel.at [127.0.0.1]) by metalevel.at (Postfix) with ESMTP id 4A528EC103 for ; Wed, 21 Oct 2015 01:14:08 +0200 (CEST) Original-Received: by dawn.meta (Postfix, from userid 501) id 8374B16BB143; Wed, 21 Oct 2015 01:14:07 +0200 (CEST) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address (bad octet value). X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:107792 Archived-At: 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