From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 979 invoked from network); 19 Apr 2008 15:21:56 -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; 19 Apr 2008 15:21:56 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 86738 invoked from network); 19 Apr 2008 15:21:53 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 19 Apr 2008 15:21:53 -0000 Received: (qmail 8154 invoked by alias); 19 Apr 2008 15:21:49 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24849 Received: (qmail 8138 invoked from network); 19 Apr 2008 15:21:49 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 19 Apr 2008 15:21:49 -0000 Received: from rcpt-expgw.biglobe.ne.jp (rcpt-expgw.biglobe.ne.jp [133.205.19.68]) by bifrost.dotsrc.org (Postfix) with ESMTP id C038B808A379 for ; Sat, 19 Apr 2008 17:21:45 +0200 (CEST) Received: from smtp-gw.biglobe.ne.jp by rcpt-expgw.biglobe.ne.jp (kbkr/0208160408) with ESMTP id m3JFLhXR020602 for ; Sun, 20 Apr 2008 00:21:43 +0900 X-Biglobe-Sender: Received: from [192.168.0.3] (221.171.153.132 [221.171.153.132]) by smtp-gw.biglobe.ne.jp id AFCKAC15AFDB; Sun, 20 Apr 2008 00:21:43 +0900 (JST) Message-Id: <9038EB93-1E0B-4870-986A-CECD34805580@kba.biglobe.ne.jp> From: "Jun T." To: zsh-workers@sunsite.dk Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Apple Message framework v919.2) Subject: combining char in vi-keybinding Date: Sun, 20 Apr 2008 00:21:43 +0900 X-Mailer: Apple Mail (2.919.2) X-Virus-Scanned: ClamAV 0.91.2/6834/Fri Apr 18 23:09:50 2008 on bifrost X-Virus-Status: Clean Hre are two minor bugs related with the combining character support in vi-keybinding. (1) If the last character on the command line is a combining character, and if I try to move the cursor to the end of line by vi commands "l", "w", "$", etc., then cursor goes to the begining of the previous line. This may be fixed by repacing line 1054 of zle_main.c zlecs--; by DECCS(); (2) If the cursor is on a combined character, vi command "x" (vi-delete-char) deletes only the base character, leaving the combining character (which is combined with the previous char). It seems this can be fixed by replacing line 359 of zle_vi.c forekill(n, CUT_RAW); by forekill(n, 0); but I don't know what the side effect of this is. Similar change may be needed in vibackwarddeletechar(). Jun