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, 01 Jun 2016 23:41:38 +0100 Message-ID: <8737ow5y71.fsf@russet.org.uk> References: <83vb2h6lfq.fsf@gnu.org> <83r3d56jrg.fsf@gnu.org> <87poso7nf5.fsf@russet.org.uk> <878tzatbte.fsf@russet.org.uk> <877fe85z1e.fsf@russet.org.uk> <574F62DD.4000506@cs.stonybrook.edu> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1464820946 27801 80.91.229.3 (1 Jun 2016 22:42:26 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 1 Jun 2016 22:42:26 +0000 (UTC) Cc: 22295@debbugs.gnu.org, Stefan Monnier , Jim Meyering To: Michael Kifer Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Jun 02 00:42:14 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 1b8Eq6-0001Zi-9A for geb-bug-gnu-emacs@m.gmane.org; Thu, 02 Jun 2016 00:42:14 +0200 Original-Received: from localhost ([::1]:44428 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Eq5-0006JM-F9 for geb-bug-gnu-emacs@m.gmane.org; Wed, 01 Jun 2016 18:42:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:44945) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Epz-0006J5-36 for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 18:42:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b8Epu-0000q7-QW for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 18:42:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:37916) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b8Epu-0000py-NS for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 18:42:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b8Epu-0003U2-Hv for bug-gnu-emacs@gnu.org; Wed, 01 Jun 2016 18:42: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, 01 Jun 2016 22:42: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.146482090613369 (code B ref 22295); Wed, 01 Jun 2016 22:42:02 +0000 Original-Received: (at 22295) by debbugs.gnu.org; 1 Jun 2016 22:41:46 +0000 Original-Received: from localhost ([127.0.0.1]:50253 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8Epe-0003TZ-E7 for submit@debbugs.gnu.org; Wed, 01 Jun 2016 18:41:46 -0400 Original-Received: from cloud103.planethippo.com ([31.216.48.48]:34542) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b8Epd-0003TL-6j for 22295@debbugs.gnu.org; Wed, 01 Jun 2016 18:41:45 -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:Message-ID: In-Reply-To:Date:References:Subject:Cc:To:From; bh=AVMeDffdl0FVGAvN6lHefXy+GGafyOuQhBGAU+lxiFI=; b=UXdL86IteZsaH6CQSNrY0orspo /w32xIFoUaDS69d3Dkb9SiVKZifOMUc06n4dtyG1kIR3rpGD2oZTxSl7F6j2B2FVKVNJvjb5bFiBo djwpPnCOEclJiDw6ZQX/jR3eZkBc8pW2ZC+3J+ruOOt8XwcpSTqhlenLwXMUGLsodr4my0fykDXpi C3J4cn7LWl9pzxw89qemw73yDn7MEWbLBImqTrrsUJIzIwAwXWhXW7iQitmnsJ99TzK1F+XoQ8045 ac6Gj6ztqhkoRYjykp3z670ZE8gcmlUotag3YqYZD5/anh1bwfTidcuQwsZAZaC0ytPp8/JtLcE+E p+M0szAw==; Original-Received: from cpc1-benw10-2-0-cust373.gate.cable.virginm.net ([77.98.219.118]:53771 helo=russet.org.uk) by cloud103.planethippo.com with esmtpsa (TLSv1.2:DHE-RSA-AES128-SHA:128) (Exim 4.86_1) (envelope-from ) id 1b8EpW-0041wp-UY; Wed, 01 Jun 2016 23:41:39 +0100 In-Reply-To: <574F62DD.4000506@cs.stonybrook.edu> (Michael Kifer's message of "Wed, 1 Jun 2016 18:34:05 -0400") 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:118960 Archived-At: Michael Kifer writes: > On 06/01/2016 06:23 PM, Phillip Lord wrote: >> Viper's solution of introducing a 'viper symbol is a nice one, but has >> it's problems. If you do, for example >> >> i helo C-b k C-/ C-/ >> >> We get an error from the undo system. >> >> primitive-undo: Unrecognized entry in undo list viper > > not in 25.0.50 > viper worked fine with this for 20 years and I'd say it is Emacs breakage, not > Viper's. Okay, will check on that and see what has changed. I was surprised no one had complained about it. >> we should now already have the cons cell that represents the tail of the >> buffer-undo-list. >> >> This is also quite a big change, and I worry about buffer compaction -- >> viper-old-buffer-undo-list would not be open for GC. > > Do you know who made the changes to the emacs undo list? Maybe complain to > him? Sadly, that would be me. This is the reason I am trying to fix a mode that I don't use! Although, by the time I have finished this, maybe I will know the keystrokes well enough that I will switch. Phil