From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10789 invoked from network); 22 Apr 2008 17:56:30 -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.6 required=5.0 tests=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; 22 Apr 2008 17:56:30 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 28052 invoked from network); 22 Apr 2008 17:56:24 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Apr 2008 17:56:24 -0000 Received: (qmail 13433 invoked by alias); 22 Apr 2008 17:56:21 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24863 Received: (qmail 13416 invoked from network); 22 Apr 2008 17:56:20 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Apr 2008 17:56:20 -0000 Received: from rcpt-expgw.biglobe.ne.jp (rcpt-expgw.biglobe.ne.jp [133.205.19.66]) by bifrost.dotsrc.org (Postfix) with ESMTP id 1C69A808A37A for ; Tue, 22 Apr 2008 19:56:09 +0200 (CEST) Received: from smtp-gw.biglobe.ne.jp by rcpt-expgw.biglobe.ne.jp (kbkr/0208160408) with ESMTP id m3MHu3YB025686 for ; Wed, 23 Apr 2008 02:56:03 +0900 X-Biglobe-Sender: Received: from [192.168.0.3] (125.197.59.144 [125.197.59.144]) by smtp-gw.biglobe.ne.jp id CAICAC15AFDC; Wed, 23 Apr 2008 02:56:03 +0900 (JST) Message-Id: From: "Jun T." To: zsh-workers@sunsite.dk In-Reply-To: <20080421182728.3450104d@news01> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Mime-Version: 1.0 (Apple Message framework v919.2) Subject: Re: vi-backward-kill-word Date: Wed, 23 Apr 2008 02:56:02 +0900 References: <20080421182728.3450104d@news01> X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: ClamAV 0.91.2/6882/Tue Apr 22 19:33:01 2008 on bifrost X-Virus-Status: Clean Vi "r" seems to still have some problems. Suppose you have a command line like: echo a=C3=A9o and move the cursor to =C3=A9 and type "rb". Then the command line will become echo =C3=A1b In vireplacechars(), line 545 (zle_vi.c), foredel(n - newchars, CUT_RAW); this will remove the base character "e" at zlecs, shift the combining character, and move zlecs to the next base char "o". a e comb o | zlecs will become a comb o | zlecs and then "o" is replaced by "b".=