From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 16444 invoked by alias); 8 Dec 2015 09:47:25 -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: 21070 Received: (qmail 317 invoked from network); 8 Dec 2015 09:47:24 -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 autolearn=ham autolearn_force=no version=3.4.0 X-AuditID: cbfec7f4-f79026d00000418a-8f-5666a726abf2 Date: Tue, 08 Dec 2015 09:47:02 +0000 From: Peter Stephenson To: Mikael Magnusson , Zsh Users' List Subject: Re: Possible bug with bindkey and Unicode characters in 5.2? Message-id: <20151208094702.67d0b830@pwslap01u.europe.root.pri> In-reply-to: References: <5665F054.9070705@gmail.com> Organization: Samsung Cambridge Solution Centre X-Mailer: Claws Mail 3.7.9 (GTK+ 2.22.0; i386-redhat-linux-gnu) MIME-version: 1.0 Content-type: text/plain; charset=UTF-8 Content-transfer-encoding: quoted-printable X-Brightmail-Tracker: H4sIAAAAAAAAA+NgFrrNLMWRmVeSWpSXmKPExsVy+t/xq7pqy9PCDKYsFrU4N/U7o8WOkysZ HZg8ds66y+6x6uAHpgCmKC6blNSczLLUIn27BK6MZ/NfshTs5azYeucvYwPjUfYuRk4OCQET ifYl+5ghbDGJC/fWs3UxcnEICSxllOjZt5gRwmlgkjg+aycrhHOaUeLO1FdQZWeAytY1s4L0 swioSpy8doMRxGYTMJSYumk2mC0i4Cux/O4yMFtYwFXi0HqIGl4Be4nTS/aC7eYUCJZ4vqyX CcQWEsiXaN6+CizOL6AvcfXvJyaI++wlZl45A9UrKPFj8j0WEJtZQF1i0rxFzBC2tsSTdxdY IeaoS9y4u5t9AqPwLCQts5C0zELSsoCReRWjaGppckFxUnquoV5xYm5xaV66XnJ+7iZGSJB/ 2cG4+JjVIUYBDkYlHt4Tx1LDhFgTy4orcw8xSnAwK4nw8s5KCxPiTUmsrEotyo8vKs1JLT7E KM3BoiTOO3fX+xAhgfTEktTs1NSC1CKYLBMHp1QD45IbYjHxZmv/SmpUGU5Vsyle58Z6v/LC +VWzbsZbOn8UFDKuYnpe/qrwz+2/D3d+Y93csHDD6/2169x+qkkoTg2R377hdLTPussNvzkO bTa+rSuhqKDUdXX+a8m60gvuRbGyBt9M/fM8v+kdOLhUwcvwrLBMyEO9fQz891xDwy7YM139 oSD7XomlOCPRUIu5qDgRAGDaCzRuAgAA On Mon, 07 Dec 2015 23:29:41 +0100 Mikael Magnusson wrote: > On Mon, Dec 7, 2015 at 9:47 PM, Raymond W. Ko wr= ote: > > 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 see= ms to > > be a pause for half a second before a question mark appears. > > e1c0a947cc845c71dd844db44016d07922cfcefa is the first bad commit > commit e1c0a947cc845c71dd844db44016d07922cfcefa > Author: Peter Stephenson > Date: Fri Sep 11 21:40:45 2015 +0100 >=20 > Read full multibyte string early for self-insert OK, I can reproduce this using the accented chracters. AltGr-; e gives me =C3=A9 and if I do bindkey -s =C3=A9 'foo' then typing =C3=A9 has the effect reported. I'll take a look. It's not specific to "-s". I suspect it's getting the first octet and the second is going somewhere else. The change isn't quoted supposed to effect non-self-insert bindings at all. pws