Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh bug: isearch doesn't support unicode properly
- X-seq: zsh-workers 31924
- From: Yichao Yu <yyc1992@xxxxxxxxx>
- To: Peter Stephenson <p.stephenson@xxxxxxxxxxx>
- Subject: Re: zsh bug: isearch doesn't support unicode properly
- Date: Mon, 28 Oct 2013 13:53:41 -0400
- Cc: zsh-workers@xxxxxxx
- 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==
- In-reply-to: <20131028173134.5a62ee5f@pwslap01u.europe.root.pri>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAMvDr+TDSwQ2qkjjKcEH35rB7yukd_AvuMfkZ3jnwgrPq-oUyQ@mail.gmail.com> <20131028173134.5a62ee5f@pwslap01u.europe.root.pri>
>> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author