From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1979 invoked by alias); 28 Oct 2013 18:02:29 -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: 31924 Received: (qmail 14020 invoked from network); 28 Oct 2013 18:02:23 -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=-2.7 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=UAvU8jevc+aMcSK4Usg1Mn6LOH7RQBIRLBjKVLRTq0o=; b=CzNqbVN7jTee08bbdnzlItAf85IMjGYmcLuIq9UvKtQtA+5kVgXdH1zP2KiiCsA4bn AEKpK4rLr43/1m4lB3ibz+dA5vMuOzsQEvNPFgP1sqda6EG6nNsi5dBIoLxYr23AC1AL H40s5hLxwT3XnwQaamQSNRdZXubXVNaWuyAFEU1f1hW7YHiqxmrYQkyy5DySrsb769rG mc+OaGTXk4wPm1jpQ09/pbIMb0wGsonjoD7WMUbvwc7cpeVWmnc8OkoqLPredByRp63G SWWkOQFCMUpJC53FEyEquYZW0tZYHCqFqAFgRdrkP6Wq6xhdadceCxk1U1zA0rX/bXUx hDEg== X-Received: by 10.180.187.175 with SMTP id ft15mr10248462wic.20.1382982841550; Mon, 28 Oct 2013 10:54:01 -0700 (PDT) MIME-Version: 1.0 In-Reply-To: <20131028173134.5a62ee5f@pwslap01u.europe.root.pri> References: <20131028173134.5a62ee5f@pwslap01u.europe.root.pri> From: Yichao Yu Date: Mon, 28 Oct 2013 13:53:41 -0400 Message-ID: Subject: Re: zsh bug: isearch doesn't support unicode properly To: Peter Stephenson Cc: zsh-workers@zsh.org Content-Type: text/plain; charset=ISO-8859-1 >> I'm not yet sure what's wrong with these characters but at least the >> meta character processing looks suspicious. > > Yes --- how about this? > > diff --git a/Src/Zle/zle_utils.c b/Src/Zle/zle_utils.c > index d0e7b55..b84d253 100644 > --- a/Src/Zle/zle_utils.c > +++ b/Src/Zle/zle_utils.c > @@ -145,6 +145,7 @@ zlecharasstring(ZLE_CHAR_T inchar, char *buf) > ptr2--; > } > *ptr = Meta; > + ptr[1] ^= 32; > ret++; > } Yep, patched it on the 5.0.2 release, tested with a few inputs that used to have problems and it seems to fix the problem. Thanks for the fast patch. BTW, will this be included in the next release (5.0.3?). (Just want to know if I still need to compile zsh myself on the next ArchLinux update) > > pws