From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jim Meyering Newsgroups: gmane.emacs.devel Subject: Re: viper-mode undo bug introduced between Nov 10 and Nov 14 Date: Tue, 10 May 2016 21:33:15 -0700 Message-ID: References: <838u0fe3u2.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: ger.gmane.org 1462941225 20252 80.91.229.3 (11 May 2016 04:33:45 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 11 May 2016 04:33:45 +0000 (UTC) Cc: emacs-devel , Phillip Lord To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 11 06:33:44 2016 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 1b0LqC-0004dj-0W for ged-emacs-devel@m.gmane.org; Wed, 11 May 2016 06:33:44 +0200 Original-Received: from localhost ([::1]:50482 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0LqA-0002Vg-8d for ged-emacs-devel@m.gmane.org; Wed, 11 May 2016 00:33:42 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:54007) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Lq6-0002Rs-Ha for emacs-devel@gnu.org; Wed, 11 May 2016 00:33:39 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b0Lq3-0004Ip-W8 for emacs-devel@gnu.org; Wed, 11 May 2016 00:33:37 -0400 Original-Received: from mail-oi0-x231.google.com ([2607:f8b0:4003:c06::231]:34251) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b0Lq3-0004Ik-RV; Wed, 11 May 2016 00:33:35 -0400 Original-Received: by mail-oi0-x231.google.com with SMTP id k142so49469078oib.1; Tue, 10 May 2016 21:33:35 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Ru+xcJe3e1CZPA1wOI9lrmeF3kr1XExXhln7i0K3zJg=; b=Mp//anuTimHseEb/43vB2fdMfdsd1llvFwLL8UdXxsgCl2eRjFylDaLwaeoQpF1vDz BQpjtR6rCqjocJloXtkPzlUJPzzo0SK7OzIVZfdH3ZoLdWGBJLictbRCLcMSgYkZDOK/ w1q0vpDID3GnbDNxfUuQFHGOlsS8KIhpFyzotSARJjKWBh0U1/WT3P30ZdQU+pNTBsNn MpxRKJFFalGGWjPkajIm9z6F63RqJOwLIEkh3XwO1oKCFrLcMiUdLitQNcoVp7z88LUz mrJ/nl6lk2AVzlQoXvdtPIqmJx2w7FtBjghkDwdtEwCJDXh0FoZ1KYvB6DEr4h3JcTf9 dy6g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Ru+xcJe3e1CZPA1wOI9lrmeF3kr1XExXhln7i0K3zJg=; b=EQO/fBzCG7NFurl3Qx64/7sGUPTQhKcfba3Q5m0rhevzEuK+BYdJLFhMIAmTef2VwU OK2ByHpV3H9tMZkJoWseKZN2KDPqMLq4yuiNYwxpjRFTuAY02BY7axjEyNOZScgAT+Fo h2HfqW9kRHcCGJHnkDffElTzNX4lDDQu8e1/CnCRNJugNuUcrFOefNvZ2L6bAnyFW0YT 75L0CTfz+unEFVwXYmjf3CoKCCPCSSm3f/HyP5k2WWgMC8NsGGAXm/HjcvHw0HL69iBE hF5EHtPKSKc7DfnLORhtOPkYn0u59khO243ipjubkxujRUiPMbB04wIAgEV81AJQ/kOF +2cQ== X-Gm-Message-State: AOPr4FUrdyILVnPIX8hKiIQVxV1+yp3R98Oak4MPko9Uln/89h8Z9pD/+OWJNGGqt1LNLW7CuXekID5n6AQFHw== X-Received: by 10.202.83.136 with SMTP id h130mr560984oib.45.1462941214921; Tue, 10 May 2016 21:33:34 -0700 (PDT) Original-Received: by 10.202.175.193 with HTTP; Tue, 10 May 2016 21:33:15 -0700 (PDT) In-Reply-To: <838u0fe3u2.fsf@gnu.org> X-Google-Sender-Auth: NtBsTDASGl4uLp8N2Egj3c5sfnE X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2607:f8b0:4003:c06::231 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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" Xref: news.gmane.org gmane.emacs.devel:203777 Archived-At: On Fri, Apr 15, 2016 at 12:19 AM, Eli Zaretskii wrote: >> From: Jim Meyering >> Date: Thu, 14 Apr 2016 13:46:32 -0700 >> >> Hi, I noticed that "undo" in viper-mode stopped working properly (in >> built-from-git master emacs) back in November and filed a bug for it. >> >> https://bugs.gnu.org/22295 >> >> I still haven't found time to delve into it, so am posting here in the >> hopes that someone else will get to it. > > Phillip, could you please take a look at that bug? Thanks for asking for help. This is still a problem. However, now there is an additional bug in viper mode: When I run e.g., "!!" to tell it to replace the text of the current line with the output of some shell command, I see the usual "!" prompt asking me for that command in the minibuffer. Let's say I type "cat" then enter. So far so good. However, if I type "!!" again, this time I see "!(default cat) ", and let's say I want to accept that default and hit return. Then emacs attempts to run the command "(default cat)". Oops. Even if I type something, it is only appended, so if I type "cat" again, emacs runs "(default cat) cat". This appears to have been introduced some time on or before May 6th.