Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
ZLE redraw bug
- X-seq: zsh-workers 24756
 
- From: "Matt Wozniski" <godlygeek@xxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxx
 
- Subject: ZLE redraw bug
 
- Date: Thu, 27 Mar 2008 03:47:50 -0400
 
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed;        d=gmail.com; s=beta;        h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;        bh=jFkMrmrvND/+dxqe+fnAkvQ8VeYKe9N9ctZNXlSL9BM=;        b=S7JTc07rSlqhv8r0LX4zfNeUtHuSzvIwlHbNlxj7QeSGxZzK8nQh79sgyjnU3n7hehbP6pHzHPydlQJSJZc8eEHwlPTXFW3JPVnPJqVoSzGR7yjEzft5GoUgeWokT8lDTjN1caS6eD2GriPqQzq7s8wM5IrhiMKLVTzbuZWnZo8=
 
- Domainkey-signature: a=rsa-sha1; c=nofws;        d=gmail.com; s=beta;        h=message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition;        b=i/qI9HBvzSzM3FPBCGUWrozcWBndcXZNGL0GItJFO2tlAOBYtAAWvHaiv4ujQGg9Ps+sx6JxEiQ3JbGw5vWUL34ft2O5gU0liS0suIi5VnGhsRiW3nJN9Fbdfw4U8QYNUQ0ThG/7ckvLwf/AB08kCza1iReKUlsGxlkUC7yxV8M=
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
 
OK, this has been bugging me for a while, and was still an issue with
4.3.5 dev 4, so I finally sat down to try to get a manageable test
case for it.  Hopefully this is small enough.  :)
zsh -f
mastermind% autoload -U compinit; compinit
mastermind% zstyle ':completion:*' completer _approximate
mastermind% zstyle ':completion:*' menu select=2
mastermind% path=()
mastermind% function manpath { }
mastermind% mna<TAB> ("mna" changes to "enable" from menu selection)
enable     mailpath   manpath    manpath    nameddirs  _nautilus  unalias
mna
note that manpath appears twice in the listing - I think that's what's
screwing things up internally...  because if I now do <CTRL-u> to kill
the line, I get:
<-snip->
mastermind% enable
enable     m
mna
<-snap>
with the cursor after the 'm' on the second line.
If I then do "unfunction manpath" and try the completion/line kill
again, things work properly.
Can anyone help me figure out what might be going wrong?  I don't even
know where to begin debugging ZLE, heh.
Thanks!
~Matt
Messages sorted by:
Reverse Date,
Date,
Thread,
Author