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: Thu, 19 Nov 2015 13:12:08 +0000 Message-ID: <87wpte6slz.fsf@russet.org.uk> References: <87bnarsdfy.fsf@russet.org.uk> <871tbm9v83.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1447938780 27899 80.91.229.3 (19 Nov 2015 13:13:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 19 Nov 2015 13:13:00 +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 14:12:45 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 1ZzP0h-0007VM-Un for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2015 14:12:24 +0100 Original-Received: from localhost ([::1]:41558 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzP0h-00088L-2Z for ged-emacs-devel@m.gmane.org; Thu, 19 Nov 2015 08:12:23 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:56650) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzP0b-00085n-Ul for emacs-devel@gnu.org; Thu, 19 Nov 2015 08:12:18 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZzP0X-0006Y7-Pd for emacs-devel@gnu.org; Thu, 19 Nov 2015 08:12:17 -0500 Original-Received: from cheviot22.ncl.ac.uk ([128.240.234.22]:59913) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZzP0X-0006Xh-J9 for emacs-devel@gnu.org; Thu, 19 Nov 2015 08:12:13 -0500 Original-Received: from smtpauth-vm.ncl.ac.uk ([10.8.233.129] helo=smtpauth.ncl.ac.uk) by cheviot22.ncl.ac.uk with esmtp (Exim 4.63) (envelope-from ) id 1ZzP0S-0003VI-Eb; Thu, 19 Nov 2015 13:12:08 +0000 Original-Received: from jangai.ncl.ac.uk ([10.66.67.223] helo=localhost) by smtpauth.ncl.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.63) (envelope-from ) id 1ZzP0S-0001wg-BY; Thu, 19 Nov 2015 13:12:08 +0000 In-Reply-To: (Artur Malabarba's message of "Thu, 19 Nov 2015 12:11:32 +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.22 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:194784 Archived-At: 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. Phil