From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29846 invoked by alias); 3 Nov 2016 17:54:11 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 39824 Received: (qmail 22315 invoked from network); 3 Nov 2016 17:54:11 -0000 X-Qmail-Scanner-Diagnostics: from mail-ua0-f178.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.217.178):SA:0(0.0/5.0):. Processed in 0.753871 secs); 03 Nov 2016 17:54:11 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=SPF_PASS,T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.217.178 as permitted sender) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=qUY3JAeU5MCEonSgxhYaEHsaoJH7ZwCwDNWT877Q4Aw=; b=uNxWGbRsJTjkH6NxXQL2oRU5O1+VYT08MGdc8oP+XctRQeaaYaDsAA7v72rlvbHdlC bJGAo6tRsiJQux4pUlh98/xGgYNu42g59ucEv/jXe3UQtjl0AXAJjGfYM14HIHvVcHMO CFojzwQ78Q3NIKbwh5u2l7CxxU2cHAkKYvw5kzk3P21cr2n9N2FYgDnjosq8iN55CYdD zVLW2sfPbswEpYAFi9jIK9K8ijuT6ivA51wsHEuxnsvAGjl1TjCQ4zhx6MPVppuQ2c4z nOcRX01uamL577lRvgF28BT0y4MKyd8s3cWX+JLav8r4Y1rW8vGU08eGXwoSBvAu32cq ze0Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=qUY3JAeU5MCEonSgxhYaEHsaoJH7ZwCwDNWT877Q4Aw=; b=g8Wfqs4Jd8bFT8c9aDKJyRXevlKhKunIBJG9et0fBStpfCG+oJfM+ruCD6ZkV2TZWJ 08aO0hGuay0ra1LcY3QXQZ6LCjSKuE8RJSfQIRSoyFR3X7bx1HlWEimeu1pBBmTiXxtX r1VIa+CGfCBQvCMbRhbtTDGXES6ROviMN3fb6xhjTCSdAbkljtDriTKx6M5tLvKf1LO1 vJ1nSBBIY7CfagSkUm3QzFJggssHbkj9kDJUFC6L8Q7I39+mMUEe2a3O2X8219dMvp39 fAaqJyWCSPgvDXKG5syk8L3w4r+h1XXOaWA8dt+lx6zdvPgKCDkMh31yXATzK9ODOmrf oWoA== X-Gm-Message-State: ABUngvcNIoTl70Ml6uUag/cEPeOHqErOD3KwikmM5Sopi4fDBfSL7DeTPOrljgJQCQ7XLA== X-Received: by 10.159.39.104 with SMTP id a95mr6924191uaa.104.1478189135085; Thu, 03 Nov 2016 09:05:35 -0700 (PDT) From: Bart Schaefer Message-Id: <161103090602.ZM29428@torch.brasslantern.com> Date: Thu, 3 Nov 2016 09:06:02 -0700 In-Reply-To: <37864.1478176981@hydra.kiddle.eu> Comments: In reply to Oliver Kiddle "Re: Bug in ZSH's vi emulation" (Nov 3, 1:43pm) References: <20161005080921.GB26647@raspi> <161005101938.ZM12590@torch.brasslantern.com> <20161102045925.GA6763@fujitsu.shahaf.local2> <11719.1478105483@hydra.kiddle.eu> <161102214418.ZM12525@torch.brasslantern.com> <37864.1478176981@hydra.kiddle.eu> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Bug in ZSH's vi emulation MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Nov 3, 1:43pm, Oliver Kiddle wrote: } } Works well in my testing too. We should add a new testcase too such } as that below. Revised somewhat: diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst index ced7030..70fef4c 100644 --- a/Test/X02zlevi.ztst +++ b/Test/X02zlevi.ztst @@ -244,6 +244,14 @@ >BUFFER: binging >CURSOR: 3 + print -u $ZTST_fd 'This test may hang the shell when it fails...' + zletest $'worm\erdhd..' +0:use of vi-repeat as the motion and repeat after a failed change +>BUFFER: word +>CURSOR: 2 +F:For vi compatibility, "." should repeat the "rd" change after "d." +F:Update result to ">BUFFER: wodd" if compatibility is repaired. + zpty_run 'bindkey "^_" undo' zletest $'undoc\037e' 0:use of undo in vi insert mode