Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm
Precedence: bulk
X-No-Archive: yes
List-Id: Zsh Workers List <zsh-workers.zsh.org>
List-Post: <mailto:zsh-workers@zsh.org>
List-Help: <mailto:zsh-workers-help@zsh.org>
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) 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.1
X-AuditID: cbfec7f4-f796c6d000001486-79-570271718f70
Date: Mon, 04 Apr 2016 14:51:43 +0100
From: Peter Stephenson <p.stephenson@samsung.com>
To: zsh-workers@zsh.org
Subject: Re: Another <ffffffff>
Message-id: <20160404145143.2920056c@pwslap01u.europe.root.pri>
In-reply-to: <20160404135826.1050fea7@pwslap01u.europe.root.pri>
References: <20160404113524.GA21769@tarsus.local2>
 <20160404124945.7be02c99@pwslap01u.europe.root.pri>
 <20160404135826.1050fea7@pwslap01u.europe.root.pri>
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=US-ASCII
Content-transfer-encoding: 7bit
X-Brightmail-Tracker:
 H4sIAAAAAAAAA+NgFrrALMWRmVeSWpSXmKPExsVy+t/xK7qFhUzhBmva1S0ONj9kcmD0WHXw
	A1MAYxSXTUpqTmZZapG+XQJXxsSrE5gK9rNW3L9zjamBcTNLFyMnh4SAicSzf1NYIWwxiQv3
	1rN1MXJxCAksZZRYfeABC4Qzg0liQutdsCohgdOMEm8Wq0IkzjBKzPy1GCzBIqAqMbOzEcxm
	EzCUmLppNiOILSIgLnF27XmwdcIC8hLfWluAVnBw8ArYS7R+zAMJcwo4SLx8dI0JYuY8Romb
	jw6wgyT4BfQlrv79xARxnr3EzCtnwGbyCghK/Jh8D2wms4CWxOZtTawQtrzE5jVvmSEOVZe4
	cXc3+wRG4VlIWmYhaZmFpGUBI/MqRtHU0uSC4qT0XEO94sTc4tK8dL3k/NxNjJBw/rKDcfEx
	q0OMAhyMSjy8H44yhguxJpYVV+YeYpTgYFYS4b1RwBQuxJuSWFmVWpQfX1Sak1p8iFGag0VJ
	nHfurvchQgLpiSWp2ampBalFMFkmDk6pBsZpk455bp9XuH8O08x7GbtXT+u6pa47b/2eO7G3
	RD4a7QveNOnuRZcjbVf/1U+Sehwf8PVPYtdnAYHTsg/EVkVn5/tJszD4LhO+KRN/8/xZSW0B
	mSPv169o81sgH9CULXhfc7fEha8GWzSWzTkWdsT1ENdEbcETXTJe63jL7NjKmI84m36qn7pX
	iaU4I9FQi7moOBEAaRh/2WMCAAA=
X-Seq: zsh-workers 38241

On Mon, 4 Apr 2016 13:58:26 +0100
Peter Stephenson <p.stephenson@samsung.com> wrote:
> --- a/Src/Zle/zle_keymap.c
> +++ b/Src/Zle/zle_keymap.c
> @@ -1615,8 +1615,7 @@ getkeymapcmd(Keymap km, Thingy *funcp, char **strp)
>      else
>  	lastchar = lastc;
>      if(lastlen != keybuflen) {
> -	unmetafy(keybuf + lastlen, &keybuflen);
> -	ungetbytes(keybuf+lastlen, keybuflen);
> +	ungetbytes_unmeta(keybuf+lastlen, keybuflen);
>  	if(vichgflag)
>  	    vichgbufptr -= keybuflen;
>  	keybuf[lastlen] = 0;

Sorry, another problem --- this one is wrong because we actually do need
the keybuf unmetafied subsequently.  So this stays as it was.  This was
causing test X02zlevi to fail.

pws

