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.bugs Subject: bug#22295: viper-mode undo bug introduced between Nov 10 and Nov 14 Date: Wed, 18 May 2016 10:15:28 +0100 Message-ID: <87wpmrvia7.fsf@russet.org.uk> References: <83vb2h6lfq.fsf@gnu.org> <83r3d56jrg.fsf@gnu.org> <87poso7nf5.fsf@russet.org.uk> <878tzatbte.fsf@russet.org.uk> <87k2it5bgh.fsf@russet.org.uk> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1463563102 16974 80.91.229.3 (18 May 2016 09:18:22 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 May 2016 09:18:22 +0000 (UTC) Cc: 22295@debbugs.gnu.org To: Jim Meyering Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 18 11:18:06 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1b2xcD-0006LY-N9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 May 2016 11:18:05 +0200 Original-Received: from localhost ([::1]:43815 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2xc9-0005GM-Td for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 May 2016 05:18:01 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:51008) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2xbH-0004p4-0L for bug-gnu-emacs@gnu.org; Wed, 18 May 2016 05:17:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2xbC-0004T9-T0 for bug-gnu-emacs@gnu.org; Wed, 18 May 2016 05:17:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:44195) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2xbC-0004T5-MW for bug-gnu-emacs@gnu.org; Wed, 18 May 2016 05:17:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b2xbC-0000sy-Cx for bug-gnu-emacs@gnu.org; Wed, 18 May 2016 05:17:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: phillip.lord@russet.org.uk (Phillip Lord) Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 18 May 2016 09:17:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 22295 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 22295-submit@debbugs.gnu.org id=B22295.14635629953367 (code B ref 22295); Wed, 18 May 2016 09:17:02 +0000 Original-Received: (at 22295) by debbugs.gnu.org; 18 May 2016 09:16:35 +0000 Original-Received: from localhost ([127.0.0.1]:56532 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2xal-0000sE-2O for submit@debbugs.gnu.org; Wed, 18 May 2016 05:16:35 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:49045) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2xai-0000s0-LC for 22295@debbugs.gnu.org; Wed, 18 May 2016 05:16:33 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=russet.org.uk; s=default; h=Content-Type:MIME-Version:References:Message-ID :Date:In-Reply-To:Subject:Cc:To:From; bh=TEs2fIfztqgl76Y1zRuvk6/bDzfgsr1xKSU4RMmkzi4=; b=O4ZzTCB82N6EADGfp1qoxQq/TN mfj+Izsj2/hyjFWY/Dtk5Tep+YuDEyvvlFJa3tSnhkC3stKqK4JzCgAlWtFoXDGNCqbGLWHw4UuEX zT8u55gfuoIotMZ5FM7tZFTRe0n4pRa777pTv1vcZtr+K2Fcyn6UrUdoJT41ds5JqHZIt1//Fqpbj LO+Px2Cb3e8iO55uunhaE84XfOyhsCPnaeobFD5WFxpLNoafZAbcpDq2fedm8/n82vustccMnCEM8 XZ+GNPNkL0HBcDTcNYSFZ28Ck575ahjuT6wcb8TNvx6sUzYDwABCqWdBEp+/mWU3GXrXia92PvrOO 26Uga5tw==; Original-Received: from janus-nat-128-240-225-60.ncl.ac.uk ([128.240.225.60]:32701 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1b2xac-004L7a-EM; Wed, 18 May 2016 10:16:26 +0100 In-Reply-To: (Jim Meyering's message of "Tue, 17 May 2016 06:44:28 -0700") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.94 (gnu/linux) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - cloud103.planethippo.com X-AntiAbuse: Original Domain - debbugs.gnu.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - russet.org.uk X-Get-Message-Sender-Via: cloud103.planethippo.com: authenticated_id: phillip.lord@russet.org.uk X-Authenticated-Sender: cloud103.planethippo.com: phillip.lord@russet.org.uk X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118383 Archived-At: Jim Meyering writes: > Thank you! > I've updated and built with that. It is much better. > So far, I have noticed only one anomaly: > > Starting with an empty file, add three lines of text, terminating each > addition with ESC. > E.g., i1ESC then o2ESC and o3ESC > Then, "u.." should restore to the original, empty file. > The first "u" works fine and removes the "3" line, but the following > "." has no visual effect, and I have to hit it again to remove the > "2". Same story for the "1". Yeah, I was adding two undo-boundaries to rather than just one. For no readily apparent reason I was directly changing the buffer-undo-list, rather than calling undo-boundary. Anyway, that should be fixed. Phil