From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 12644 invoked by alias); 7 Dec 2015 22:29:46 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: X-Seq: 21066 Received: (qmail 12454 invoked from network); 7 Dec 2015 22:29:45 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM, T_DKIM_INVALID autolearn=ham autolearn_force=no version=3.4.0 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== MIME-Version: 1.0 X-Received: by 10.55.74.145 with SMTP id x139mr248661qka.9.1449527381969; Mon, 07 Dec 2015 14:29:41 -0800 (PST) In-Reply-To: <5665F054.9070705@gmail.com> References: <5665F054.9070705@gmail.com> Date: Mon, 7 Dec 2015 23:29:41 +0100 Message-ID: Subject: Re: Possible bug with bindkey and Unicode characters in 5.2? From: Mikael Magnusson To: "Raymond W. Ko" Cc: Zsh Users Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable On Mon, Dec 7, 2015 at 9:47 PM, Raymond W. Ko wrot= e: > Hello, I am using Arch Linux, and zsh 5.2 recently landed in stable. I th= en > 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 =CE=B8 '"\C-b"' > bindkey -s =CF=89 "'\C-b'" > bindkey -s =CF=85 ">\C-b<" > bindkey -s =CF=83 "}\C-b{" > bindkey -s =CF=86 ")\C-b(" > bindkey -s =CF=86 "asdf" > bindkey -s =CF=81 "]\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 teste= d > this on mintty, xterm and urxvt, and Linux and Cygwin, so I don't think t= his > is terminal specific. Any ideas? Downgrading back to 5.1 works for now. e1c0a947cc845c71dd844db44016d07922cfcefa is the first bad commit commit e1c0a947cc845c71dd844db44016d07922cfcefa Author: Peter Stephenson 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. --=20 Mikael Magnusson