Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Possible bug with bindkey and Unicode characters in 5.2?
- X-seq: zsh-users 21066
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: "Raymond W. Ko" <raymond.w.ko@xxxxxxxxx>
- Subject: Re: Possible bug with bindkey and Unicode characters in 5.2?
- Date: Mon, 7 Dec 2015 23:29:41 +0100
- Cc: Zsh Users <zsh-users@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=vBUxbY0lGQcr/iv15wZ3URh7YIUrqYgrKj58GurJspY=; b=QiUgEaVn7IO3YZzTfgJUvmYJpTaoBBPSpX1YKXHNDPI56aGOVCvjaVFpAyz9XCCi8m RdCLBr8HhFHeuKzHDloV19vn44SD3egYEIaq8q9XseDe28y6Hhi6idjJj1R3E34H5dHe SIm4G9jgxSIEUyu3ql3g8Ut0YdDHZPBPt0WoeTExQEst69sT6bgj6OQUsKiuIKQi9Xb+ PRuRVDIoHAJpP2ChtfjlwlDT59Ypjo9Do9dbSW4+lampDacx248dBl85vzpje3R3cgd+ R9Wvn/5HZDVIJXaKUVQ0gQe3A5HYOYGehNc50Mg91c2xrYPizzzWSpmlj433GA2nldNf o3Ag==
- In-reply-to: <5665F054.9070705@gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <5665F054.9070705@gmail.com>
On Mon, Dec 7, 2015 at 9:47 PM, Raymond W. Ko <raymond.w.ko@xxxxxxxxx> wrote:
> Hello, I am using Arch Linux, and zsh 5.2 recently landed in stable. I then
> discovered that some of my bindkeys with Unicode characters broke. I am
> basically using http://oremacs.com/2015/02/14/semi-xmodmap/ to generate
> unicode characters, but that should not be relevant.
>
> Here is the relevant part of my .zshrc:
>
> bindkey -s θ '"\C-b"'
> bindkey -s ω "'\C-b'"
> bindkey -s υ ">\C-b<"
> bindkey -s σ "}\C-b{"
> bindkey -s φ ")\C-b("
> bindkey -s φ "asdf"
> bindkey -s ρ "]\C-b["
>
> On zsh 5.1 and 5.0.1, this works as expected. However, in 5.2 there seems to
> be a pause for half a second before a question mark appears. I have tested
> this on mintty, xterm and urxvt, and Linux and Cygwin, so I don't think this
> is terminal specific. Any ideas? Downgrading back to 5.1 works for now.
e1c0a947cc845c71dd844db44016d07922cfcefa is the first bad commit
commit e1c0a947cc845c71dd844db44016d07922cfcefa
Author: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Date: Fri Sep 11 21:40:45 2015 +0100
Read full multibyte string early for self-insert
You'd need to revert both
8a818381cfa843f6bdc25e3517500da31d63c282
e1c0a947cc845c71dd844db44016d07922cfcefa
and then it works fine again. I'll also note that pasting multibyte
text still works with my simple bracketed-paste-url-magic widget with
those commits reverted.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author