From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22767 invoked from network); 17 Apr 2008 16:20:34 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.4 (2008-01-01) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.3 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.4 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 17 Apr 2008 16:20:34 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 38093 invoked from network); 17 Apr 2008 16:20:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 17 Apr 2008 16:20:28 -0000 Received: (qmail 3927 invoked by alias); 17 Apr 2008 16:20:26 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24830 Received: (qmail 3914 invoked from network); 17 Apr 2008 16:20:25 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 17 Apr 2008 16:20:25 -0000 Received: from cluster-d.mailcontrol.com (cluster-d.mailcontrol.com [217.69.20.190]) by bifrost.dotsrc.org (Postfix) with ESMTP id A6E8C8043AC7 for ; Thu, 17 Apr 2008 18:20:19 +0200 (CEST) Received: from cameurexb01.EUROPE.ROOT.PRI ([62.189.241.200]) by rly16d.srv.mailcontrol.com (MailControl) with ESMTP id m3HGKGba018917 for ; Thu, 17 Apr 2008 17:20:18 +0100 Received: from news01.csr.com ([10.103.143.38]) by cameurexb01.EUROPE.ROOT.PRI with Microsoft SMTPSVC(6.0.3790.3959); Thu, 17 Apr 2008 17:20:04 +0100 Received: from news01.csr.com (localhost.localdomain [127.0.0.1]) by news01.csr.com (8.14.2/8.13.4) with ESMTP id m3HGK5XY007552 for ; Thu, 17 Apr 2008 17:20:05 +0100 Received: from csr.com (pws@localhost) by news01.csr.com (8.14.2/8.14.2/Submit) with ESMTP id m3HGK4vp007549 for ; Thu, 17 Apr 2008 17:20:04 +0100 Message-Id: <200804171620.m3HGK4vp007549@news01.csr.com> X-Authentication-Warning: news01.csr.com: pws owned process doing -bs To: zsh-workers@sunsite.dk Subject: Re: vi-replace-chars broken after the "combining char" patch In-reply-to: References: Comments: In-reply-to "Jun T." message dated "Fri, 18 Apr 2008 01:11:53 +0900." Date: Thu, 17 Apr 2008 17:20:04 +0100 From: Peter Stephenson X-OriginalArrivalTime: 17 Apr 2008 16:20:05.0007 (UTC) FILETIME=[E52DF9F0:01C8A0A6] X-Scanned-By: MailControl A-08-00-04 (www.mailcontrol.com) on 10.68.0.126 X-Virus-Scanned: ClamAV 0.91.2/6810/Thu Apr 17 13:25:25 2008 on bifrost X-Virus-Status: Clean "Jun T." wrote: > vi-replace-chars, which is bound to "r" in the vicmd keymap, > has stopped working after the "combining char" patch. > I guess line 500 of zle_vi.c > while (n > 0) { > should be > while (n-- > 0) { Thanks, I've fixed it. -- Peter Stephenson Software Engineer CSR PLC, Churchill House, Cambridge Business Park, Cowley Road Cambridge, CB4 0WZ, UK Tel: +44 (0)1223 692070