zsh-workers
 help / color / mirror / code / Atom feed
From: "Matt Wozniski" <godlygeek@gmail.com>
To: zsh-workers@sunsite.dk
Subject: ZLE redraw bug
Date: Thu, 27 Mar 2008 03:47:50 -0400	[thread overview]
Message-ID: <17393e3e0803270047s66f47a34k4cdd8d3186e01151@mail.gmail.com> (raw)

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


             reply	other threads:[~2008-03-27  7:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-27  7:47 Matt Wozniski [this message]
2008-03-28 23:16 ` Peter Stephenson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=17393e3e0803270047s66f47a34k4cdd8d3186e01151@mail.gmail.com \
    --to=godlygeek@gmail.com \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).