From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#1095: 23.0.60; Unexpected point position after undo Date: Mon, 6 Oct 2008 03:14:40 +0200 (CEST) Message-ID: <20081006011440.CECCAB181FA@mt-computer.local> Reply-To: Markus Triska , 1095@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org X-Trace: ger.gmane.org 1223256669 14966 80.91.229.12 (6 Oct 2008 01:31:09 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 6 Oct 2008 01:31:09 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Oct 06 03:32:05 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1Kmex4-00007K-MZ for geb-bug-gnu-emacs@m.gmane.org; Mon, 06 Oct 2008 03:31:58 +0200 Original-Received: from localhost ([127.0.0.1]:40857 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kmew1-0004OP-8z for geb-bug-gnu-emacs@m.gmane.org; Sun, 05 Oct 2008 21:30:53 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KmevC-0003y7-4M for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 21:30:02 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Kmev9-0003x4-Se for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 21:30:01 -0400 Original-Received: from [199.232.76.173] (port=59270 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Kmev9-0003ww-Lb for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 21:29:59 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:44376) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Kmev8-0004PH-Ti for bug-gnu-emacs@gnu.org; Sun, 05 Oct 2008 21:29:59 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m961TvQI013531; Sun, 5 Oct 2008 18:29:57 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m961P48I012484; Sun, 5 Oct 2008 18:25:04 -0700 X-Loop: don@donarmstrong.com Resent-From: Markus Triska Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Mon, 06 Oct 2008 01:25:04 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 1095 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.122325570510164 (code B ref -1); Mon, 06 Oct 2008 01:25:04 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 6 Oct 2008 01:15:05 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m961F1It009964 for ; Sun, 5 Oct 2008 18:15:02 -0700 Original-Received: from mail.gnu.org ([199.232.76.166]:55484 helo=mx10.gnu.org) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KmeeP-0006Hr-0N for emacs-pretest-bug@gnu.org; Sun, 05 Oct 2008 21:12:41 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Kmegd-0008CJ-9u for emacs-pretest-bug@gnu.org; Sun, 05 Oct 2008 21:15:00 -0400 Original-Received: from mail.gmx.net ([213.165.64.20]:45148) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Kmegc-0008BC-Pz for emacs-pretest-bug@gnu.org; Sun, 05 Oct 2008 21:14:59 -0400 Original-Received: (qmail invoked by alias); 06 Oct 2008 01:14:56 -0000 Original-Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp044) with SMTP; 06 Oct 2008 03:14:56 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX1+rpwlAr2urr++sFDNgx2xh6eaGrmufGwBIRVymoT hvXaqFRXhAxEtk Original-Received: by mt-computer.local (Postfix, from userid 502) id CECCAB181FA; Mon, 6 Oct 2008 03:14:40 +0200 (CEST) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.53 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) Resent-Date: Sun, 05 Oct 2008 21:30:01 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:21149 gmane.emacs.pretest.bugs:23155 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. When I then place point on the "g" again, and again press C-M-x C-/, point again stays put. In Emacs 22.2, point remains on the "g" in all these cases. In CVS Emacs, `buffer-undo-list' after the first C-M-x on "g" is: (nil (229 . 232) 196 nil (nil rear-nonsticky nil 228 . 229) (nil fontified nil 192 . 229) (192 . 229) (t 0 . 0) nil (1 . 192) (t 0 . 0)) Again in CVS Emacs, `buffer-undo-list' after C-h f C-g C-M-x (in "emacs -Q") on the form above, with point on its "g", is: (nil (229 . 232) nil (nil rear-nonsticky nil 228 . 229) (nil fontified nil 192 . 229) (192 . 229) (t 0 . 0) nil (1 . 192) (t 0 . 0)) In Emacs 22.2.92, `buffer-undo-list' in both cases is: (nil (38 . 41) 5 nil (nil rear-nonsticky nil 37 . 38) (nil fontified nil 1 . 38) (1 . 38) (t 0 . 0)) In GNU Emacs 23.0.60.3 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9) of 2008-10-05 on mt-computer.local Windowing system distributor `The XFree86 Project, Inc', version 11.0.40400000 Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: en_GB.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t