From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23262 invoked from network); 22 Sep 2008 18:36:29 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 22 Sep 2008 18:36:29 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 70065 invoked from network); 22 Sep 2008 18:36:24 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 22 Sep 2008 18:36:24 -0000 Received: (qmail 28288 invoked by alias); 22 Sep 2008 18:36:16 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 25723 Received: (qmail 28271 invoked from network); 22 Sep 2008 18:36:15 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 22 Sep 2008 18:36:15 -0000 Received: from mtaout01-winn.ispmail.ntl.com (mtaout01-winn.ispmail.ntl.com [81.103.221.47]) by bifrost.dotsrc.org (Postfix) with ESMTP id 9884380309A6 for ; Mon, 22 Sep 2008 20:36:09 +0200 (CEST) Received: from aamtaout03-winn.ispmail.ntl.com ([81.103.221.35]) by mtaout01-winn.ispmail.ntl.com with ESMTP id <20080922183609.QRBH2285.mtaout01-winn.ispmail.ntl.com@aamtaout03-winn.ispmail.ntl.com> for ; Mon, 22 Sep 2008 19:36:09 +0100 Received: from pws-pc.ntlworld.com ([81.107.43.40]) by aamtaout03-winn.ispmail.ntl.com with ESMTP id <20080922183609.FYZN29597.aamtaout03-winn.ispmail.ntl.com@pws-pc.ntlworld.com> for ; Mon, 22 Sep 2008 19:36:09 +0100 Received: from pws-pc (pws-pc [127.0.0.1]) by pws-pc.ntlworld.com (8.14.2/8.14.2) with ESMTP id m8MIa4Ww006503 for ; Mon, 22 Sep 2008 19:36:04 +0100 Message-Id: <200809221836.m8MIa4Ww006503@pws-pc.ntlworld.com> From: Peter Stephenson To: "Zsh Hackers' List" Subject: Re: PATCH: (large) initial support for combining characters in ZLE. In-Reply-To: Message from "Mikael Magnusson" of "Mon, 22 Sep 2008 20:16:58 +0200." <237967ef0809221116y33cba57cj9c3654eb2410cb95@mail.gmail.com> Date: Mon, 22 Sep 2008 19:36:04 +0100 X-Cloudmark-Analysis: v=1.0 c=1 a=6F1y3PNh0ecA:10 a=GHxTqLeiHegA:10 a=NLZqzBF-AAAA:8 a=f-ZpfqNPfTIJrNHX-6EA:9 a=SILecB_g3SNP5yJ-t98A:7 a=aMPTX5p1DQUXqaGIU3JP2W6SrjcA:4 a=_dQi-Dcv4p4A:10 a=aFdSZ05Rf_QA:10 X-Virus-Scanned: ClamAV 0.92.1/8309/Mon Sep 22 19:31:30 2008 on bifrost X-Virus-Status: Clean "Mikael Magnusson" wrote: > zsh -f > print -z $'a\u0342' > push-input > setopt combiningchars > boom I can get something untoward to happen if I move the cursor on top of the combining tilde first, if that's what you mean. Index: Src/Zle/zle_main.c =================================================================== RCS file: /cvsroot/zsh/zsh/Src/Zle/zle_main.c,v retrieving revision 1.116 diff -u -r1.116 zle_main.c --- Src/Zle/zle_main.c 16 Sep 2008 15:12:17 -0000 1.116 +++ Src/Zle/zle_main.c 22 Sep 2008 18:33:21 -0000 @@ -1173,6 +1173,7 @@ stackcs = -1; if (zlecs > zlell) zlecs = zlell; + CCLEFT(); } if (stackhist != -1) { histline = stackhist; -- Peter Stephenson Web page now at http://homepage.ntlworld.com/p.w.stephenson/