From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: phillip.lord@russet.org.uk (Phillip Lord) Newsgroups: gmane.emacs.devel Subject: Re: Apparent regression on the undo command Date: Sat, 21 Nov 2015 10:02:15 +0000 Message-ID: <87y4drllg8.fsf@russet.org.uk> References: <87bnarsdfy.fsf@russet.org.uk> <871tbm9v83.fsf@russet.org.uk> <87wpte6slz.fsf@russet.org.uk> <87io4xpio3.fsf@red-bean.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1448100161 28719 80.91.229.3 (21 Nov 2015 10:02:41 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sat, 21 Nov 2015 10:02:41 +0000 (UTC) Cc: Karl Fogel , emacs-devel To: Artur Malabarba Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sat Nov 21 11:02:29 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 1a0501-0005ff-2g for ged-emacs-devel@m.gmane.org; Sat, 21 Nov 2015 11:02:29 +0100 Original-Received: from localhost ([::1]:51716 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a0500-0002bz-La for ged-emacs-devel@m.gmane.org; Sat, 21 Nov 2015 05:02:28 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:34337) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a04zx-0002bi-6h for emacs-devel@gnu.org; Sat, 21 Nov 2015 05:02:26 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1a04zs-0008LE-Jw for emacs-devel@gnu.org; Sat, 21 Nov 2015 05:02:25 -0500 Original-Received: from cheviot12.ncl.ac.uk ([128.240.234.12]:37945) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1a04zs-0008L6-E7 for emacs-devel@gnu.org; Sat, 21 Nov 2015 05:02:20 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot12.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1a04zo-0000eR-9h; Sat, 21 Nov 2015 10:02:16 +0000 Original-Received: from cpc6-benw10-2-0-cust45.gate.cable.virginm.net ([92.238.179.46] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1a04zn-0006S7-FM; Sat, 21 Nov 2015 10:02:15 +0000 In-Reply-To: (Artur Malabarba's message of "Fri, 20 Nov 2015 10:06:49 +0000") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 128.240.234.12 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:194935 Archived-At: I have a possible fix for this now, currently on the branch fix/undo-point-in-wrong-place. I waiting for some other feedback on my code before I squash and merge it, but if you have the chance it would be good to know if it works. Phil Artur Malabarba writes: > No problem Phil. > Thanks for looking into this. > On 20 Nov 2015 7:51 am, "Phillip Lord" wrote: > >> >> It is my commit after all. I will work on it as soon as I can. Had a nasty >> cold for the last few days. >> >> Phil >> ________________________________________ >> From: emacs-devel-bounces+phillip.lord=newcastle.ac.uk@gnu.org >> [emacs-devel-bounces+phillip.lord=newcastle.ac.uk@gnu.org] on behalf of >> Karl Fogel [kfogel@red-bean.com] >> Sent: 20 November 2015 01:24 >> To: Phillip Lord >> Cc: Artur Malabarba; emacs-devel >> Subject: Re: Apparent regression on the undo command >> >> phillip.lord@russet.org.uk (Phillip Lord) writes: >> >Artur Malabarba writes: >> >> 2015-11-19 9:47 GMT+00:00 Phillip Lord : >> >>> I'll try and see if I can automate the problem and >> >>> run a bisect. >> >> >> >> The following works for me. When called on the *scratch* buffer it >> >> returns non-nil if the problem occurs. >> >> >> >> (progn >> >> (kmacro-call-macro nil nil nil [134217788 11 14 14 11 67108911]) >> >> (equal (point-min) (point))) >> >> >> >> That macro simply calls M-< C-k C-n C-n C-k C-/ >> > >> > >> >I tried various combinations -- works interactively but fails in batch >> >either because *scratch* hasn't been initialized, or undo appears to >> >work wrongly. >> > >> >No worries, it's easy enough to test by hand, and am doing so. >> >> Any luck? FWIW I'm noticing the bug too, in emacs-25 branch built from >> commit c210b8b128c. >> >> Best regards, >> -Karl >> >>