From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Markus Triska Newsgroups: gmane.emacs.devel Subject: Re: Apparent regression on the undo command Date: Wed, 18 Nov 2015 23:50:18 +0100 Message-ID: References: NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447890506 26850 80.91.229.3 (18 Nov 2015 23:48:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 Nov 2015 23:48:26 +0000 (UTC) Cc: emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Nov 19 00:48:19 2015 Return-path: Envelope-to: ged-emacs-devel@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 1ZzCSV-0003N6-Ph for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2015 00:48:15 +0100 Original-Received: from localhost ([::1]:38809 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzCSU-0001Y2-Tn for ged-emacs-devel@m.gmane.org; Wed, 18 Nov 2015 18:48:14 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzBYd-0003tE-KG for emacs-devel@gnu.org; Wed, 18 Nov 2015 17:50:32 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzBYa-0001OL-EK for emacs-devel@gnu.org; Wed, 18 Nov 2015 17:50:31 -0500 Original-Received: from static.59.150.47.78.clients.your-server.de ([78.47.150.59]:38698 helo=metalevel.at) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzBYa-0001NJ-8r for emacs-devel@gnu.org; Wed, 18 Nov 2015 17:50:28 -0500 Original-Received: from dawn.meta (dawn.metalevel.at [127.0.0.1]) by metalevel.at (Postfix) with ESMTP id 59621EC105; Wed, 18 Nov 2015 23:50:25 +0100 (CET) Original-Received: by dawn.meta (Postfix, from userid 501) id 6B816173632D; Wed, 18 Nov 2015 23:50:18 +0100 (CET) In-Reply-To: (Artur Malabarba's message of "Wed, 18 Nov 2015 11:50:48 +0000") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 78.47.150.59 X-Mailman-Approved-At: Wed, 18 Nov 2015 18:48:12 -0500 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:194760 Archived-At: Hi Artur, Artur Malabarba writes: > I've been noticing this for days now. Whenever I invoke `undo' (C-/), > the last change is correctly undone but then sometimes the cursor gets > moved apparently random places in the buffer. > > It took me a couple of days to realise it was moving point to the > position of my "penultimate" change (the change before the one I just > undid). Issue #21722 may be related to this: https://debbugs.gnu.org/cgi/bugreport.cgi?bug=21722 I began noticing unexpected point positions after undo starting with Emacs 23.1. I cannot reproduce the regression consistently, and it only occurs sporadically, but I hope that this helps to get to the root cause of such problems. All the best! Markus