From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26473 invoked by alias); 17 Mar 2014 13:55: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: 32492 Received: (qmail 4533 invoked from network); 17 Mar 2014 13:54:56 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.2 X-Biglobe-Sender: Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Re: Damn race conditions ... From: "Jun T." In-Reply-To: <140316141559.ZM2558@torch.brasslantern.com> Date: Mon, 17 Mar 2014 22:54:51 +0900 Content-Transfer-Encoding: 7bit Message-Id: References: <140316141559.ZM2558@torch.brasslantern.com> To: zsh-workers@zsh.org X-Mailer: Apple Mail (2.1874) 2014/03/17 06:15, Bart Schaefer wrote: > This is still happening sporadically: What OS (and hardware) are you using? I'm not getting this on my Macs (10.8 and 10.9) an FreeBSD and can't test any fix by myself. What happens if you modify the test as follows (i.e., add a text after 'redo') ? (I guess you have already tried uncommenting all of zpty_flush) diff --git a/Test/X02zlevi.ztst b/Test/X02zlevi.ztst index 60f878e..d81cf16 100644 --- a/Test/X02zlevi.ztst +++ b/Test/X02zlevi.ztst @@ -50,10 +50,10 @@ >CURSOR: 1 comptesteval 'bindkey -a "^K" redo' - zletest $'123\C-_\e\C-k' + zletest $'123\C-_\e\C-ka4' 0:undo in insert mode, redo in command ->BUFFER: 123 ->CURSOR: 2 +>BUFFER: 1234 +>CURSOR: 4 comptesteval 'bindkey "^Y" redo' zletest $'pre\eA123\C-_\C-y\eu'