Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: problem accepting completion in menu selection
- X-seq: zsh-workers 27081
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Zsh hackers list <zsh-workers@xxxxxxxxxx>
- Subject: Re: PATCH: problem accepting completion in menu selection
- Date: Wed, 1 Jul 2009 13:43:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=X+W3r0TV+8XZX4Rf9dDPH9tVbgrzNLtH1L9O/rR8nPk=; b=pvGMohh1Oc4SroOU7LZsgpWAKjrfqlpd3hECpYV10z+nRZSLWMhBK0D0nc6TuX+un7 Myf33vynfNxnnDVBpa6tyBayzouVMzyH9M/6YnbMihaaJcwfnMxC1Nq8b/asYzSbORVJ 0DEti21YMcOmsbnLBtpVf7ABJwU+JPUwQfYk4=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=KG3FapMJXx8VBZXr0t3sECIF0X4kgHTuWNXeeSc1ocaXTjKioPvYshx0yuKDz58GYv bfbdv4lO1O2ZI+/uMeEcRGsZR9M7T68aLaQ22TO1nYcby/Kt8dtaafKLs/y+XqZ84iev dMkxFfwJ/KGm3fT48L12Bk2GN5ucjUBiBxNt8=
- In-reply-to: <200907011131.n61BVFuT000608@xxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <200907011131.n61BVFuT000608@xxxxxxxxxxxxxx>
2009/7/1 Peter Stephenson <pws@xxxxxxx>:
> I've been having a problem for some time now that when I'm in menu
> selection (menuselect keymap) and use return (or anything bound to
> accept-line) to accept a completion: that doesn't happen, instead the
> list is scrolled. ÂSpace is the other obvious thing to use to accept the
> completion and start typing a new argument, but it scrolls too, so this
> is especially frustrating (it's only supposed to be special in
> listscroll---as far as I can see listscroll is OK).
>
> You can accept the completion implicitly by typing another key, such as
> a self-insert character other than space. ÂI have absolutely no idea how
> space managed to be treated specially but I think it's because within
> zrefresh() list-scrolling kicks in if the list is still active, which it
> shouldn't be any longer, which is the fundamental problem. ÂEven if you
> successfully accept the completion, however, it's not doing quite the
> right thing, for example you don't get always_last_prompt behaviour. ÂI
> think it's going through a series of baroque displays that top anything
> Johann Bernhard Fischer von Erlach managed in his entire illustrious
> career, ending up with nothing else to do other than the normal action
> of the command which caused selection to exit and which was pushed back
> onto the command stack, and which finally causes selection to be no
> longer active but in a slightly awkward fashion.
>
> It's a little curious that no one else has noticed this; I assumed it
> was due to some odd key binding I had but I see no evidence it is.
I think I've noticed what you're talking about, I have menu selection
for `kill` pid completion, but I usually just press ctrl-c to abort
the list mode after i press enter to accept. I'll keep an eye out for
regressions.
--
Mikael Magnusson
Messages sorted by:
Reverse Date,
Date,
Thread,
Author