From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: don@donarmstrong.com (Emacs bug Tracking System) Newsgroups: gmane.emacs.bugs Subject: bug#731: marked as done (23.0.60; Varying point position after undo) Date: Mon, 22 Sep 2008 23:45:04 -0700 Message-ID: References: <48D88DBB.2080905@gmx.at> <20080816165905.644A7A32727@mt-computer.local> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="----------=_1222152304-13708-0" X-Trace: ger.gmane.org 1222153216 14951 80.91.229.12 (23 Sep 2008 07:00:16 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Sep 2008 07:00:16 +0000 (UTC) To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Sep 23 09:01:12 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 1Ki1tP-0001iG-Vd for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 09:01:04 +0200 Original-Received: from localhost ([127.0.0.1]:36008 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ki1sO-0008P5-4Y for geb-bug-gnu-emacs@m.gmane.org; Tue, 23 Sep 2008 03:00:00 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ki1sL-0008Os-2F for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 02:59:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ki1sI-0008Oc-GS for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 02:59:55 -0400 Original-Received: from [199.232.76.173] (port=58878 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ki1sI-0008OZ-Ah for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 02:59:54 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]:22182) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ki1sH-0003CG-Mf for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 02:59:53 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ki1sG-0003A9-Ku for bug-gnu-emacs@gnu.org; Tue, 23 Sep 2008 02:59:53 -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 m8N6nrlY014914; Mon, 22 Sep 2008 23:49:53 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m8N6j43Z013731; Mon, 22 Sep 2008 23:45:04 -0700 X-Mailer: MIME-tools 5.420 (Entity 5.420) X-Loop: don@donarmstrong.com X-Emacs-PR-Message: closed 731 X-Emacs-PR-Package: emacs X-detected-kernel: by mx20.gnu.org: Linux 2.6 (newer, 3) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6, seldom 2.4 (older, 4) 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:20706 Archived-At: This is a multi-part message in MIME format... ------------=_1222152304-13708-0 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=utf-8 Your message dated Tue, 23 Sep 2008 08:33:31 +0200 with message-id <48D88DBB.2080905@gmx.at> and subject line Re: bug#731: 23.0.60; Varying point position after undo has caused the Emacs bug report #731, regarding 23.0.60; Varying point position after undo to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what this message is talking about, this may indicate a serious mail system misconfiguration somewhere. Please contact don@donarmstrong.com immediately.) --=20 731: http://emacsbugs.donarmstrong.com/cgi-bin/bugreport.cgi?bug=3D731 Emacs Bug Tracking System Contact don@donarmstrong.com with problems ------------=_1222152304-13708-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.5 required=4.0 tests=AWL,BAYES_00,FOURLA, RCVD_IN_DNSWL_MED autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at submit) by emacsbugs.donarmstrong.com; 16 Aug 2008 16:59:17 +0000 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 m7GGxDsp029257 for ; Sat, 16 Aug 2008 09:59:15 -0700 Received: from mx10.gnu.org ([199.232.76.166]:39605) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KUP6E-0008Kh-Fu for emacs-pretest-bug@gnu.org; Sat, 16 Aug 2008 12:57:58 -0400 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KUP7M-0002HL-H6 for emacs-pretest-bug@gnu.org; Sat, 16 Aug 2008 12:59:12 -0400 Received: from mail.gmx.net ([213.165.64.20]:33377) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1KUP7L-0002Gx-R5 for emacs-pretest-bug@gnu.org; Sat, 16 Aug 2008 12:59:08 -0400 Received: (qmail invoked by alias); 16 Aug 2008 16:59:06 -0000 Received: from chello062178240212.3.14.tuwien.teleweb.at (EHLO mt-computer.local) [62.178.240.212] by mail.gmx.net (mp032) with SMTP; 16 Aug 2008 18:59:06 +0200 X-Authenticated: #4064391 X-Provags-ID: V01U2FsdGVkX190+XZPgXJ0RQTwZhbU+wK7VlAJcQn6WGv9474/oo ZGjXXELfd77xrD Received: by mt-computer.local (Postfix, from userid 502) id 644A7A32727; Sat, 16 Aug 2008 18:59:05 +0200 (CEST) From: Markus Triska To: emacs-pretest-bug@gnu.org Subject: 23.0.60; Varying point position after undo Message-Id: <20080816165905.644A7A32727@mt-computer.local> Date: Sat, 16 Aug 2008 18:59:05 +0200 (CEST) X-Y-GMX-Trusted: 0 X-FuHaFi: 0.54 X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) When you put the following two forms in undo1.el: (progn (goto-char (point-max)) (insert "test line\n")) (defun mytest () (message "hi")) then do "$ emacs -Q undo1.el", place point after the first form, press C-x C-e then C-_, point is placed at the original end of buffer. In contrast, every further time you do the same, point is placed at the end of the second form after the insertion is undone. When you then switch to the *scratch* buffer and then switch back and do the same, point is again placed at the original end of the buffer exactly the first time you do it, and placed at the other spot every further time. I find it desirable that point position after undo become more predictable in this case. I have also seen cases where point after undo is completely misplaced (i.e., neither at the place where point originally was, nor where the inserted text started), though I cannot yet reproduce it reliably. In GNU Emacs 23.0.60.1 (i386-apple-darwin8.11.1, GTK+ Version 2.12.9) of 2008-08-15 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.UTF-8 value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t ------------=_1222152304-13708-0 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit X-Spam-Checker-Version: SpamAssassin 3.2.3-bugs.debian.org_2005_01_02 (2007-08-08) on rzlab.ucr.edu X-Spam-Level: X-Spam-Status: No, score=-6.6 required=4.0 tests=AWL,BAYES_00,HAS_BUG_NUMBER autolearn=ham version=3.2.3-bugs.debian.org_2005_01_02 Received: (at 731-done) by emacsbugs.donarmstrong.com; 23 Sep 2008 06:36:26 +0000 Received: from mail.gmx.net (mail.gmx.net [213.165.64.20]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with SMTP id m8N6aMfU012408 for <731-done@emacsbugs.donarmstrong.com>; Mon, 22 Sep 2008 23:36:24 -0700 Received: (qmail invoked by alias); 23 Sep 2008 06:36:17 -0000 Received: from 62-47-58-101.adsl.highway.telekom.at (EHLO [62.47.58.101]) [62.47.58.101] by mail.gmx.net (mp052) with SMTP; 23 Sep 2008 08:36:17 +0200 X-Authenticated: #14592706 X-Provags-ID: V01U2FsdGVkX18N2sZ5dA4NNvQHSM93ZdLcYyEzbE8WNnxoEO/iR+ c4FiNVYP7wMmQr Message-ID: <48D88DBB.2080905@gmx.at> Date: Tue, 23 Sep 2008 08:33:31 +0200 From: martin rudalics User-Agent: Thunderbird 2.0.0.16 (Windows/20080708) MIME-Version: 1.0 To: Stefan Monnier CC: 731-done@emacsbugs.donarmstrong.com, Markus Triska , cyd@MIT.EDU Subject: Re: bug#731: 23.0.60; Varying point position after undo References: <20080918232637.dyy4dg5nhiwgs4s4@webmail.mit.edu> <48D36604.7020702@gmx.at> <48D636ED.3020103@gmx.at> <48D7C0D2.7030804@gmx.at> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Y-GMX-Trusted: 0 X-FuHaFi: 0.73 Fixed as 2008-09-22 Martin Rudalics * undo.c (record_point): Don't call Fundo_boundary for first change. (Bug#731) martin ------------=_1222152304-13708-0--