Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
RE: completion widgets in menu selection
- X-seq: zsh-workers 12957
- From: "Andrej Borsenkow" <Andrej.Borsenkow@xxxxxxxxxxxxxx>
- To: <zsh-workers@xxxxxxxxxxxxxx>
- Subject: RE: completion widgets in menu selection
- Date: Wed, 11 Oct 2000 13:15:08 +0400
- Importance: Normal
- In-reply-to: <200010110744.JAA26012@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
>
> As promised, here is the patch that makes completion widgets that are
> not directly handled by the menu selection code leave menu selection
> without accepting the match currently selected.
>
Excellent! I am espicially impressed by the size of patch :-)
> Together with the _all_matches stuff, this allows one to use a
> key-binding that inserts all matches from within menu selection
> without having to fiddle with key bindings.
>
I even suggest, that this be included in distribution.
> The more I think about this, the more sense does it seem to make,
> especially because this allows everything that was possible before
> plus some.
>
One problem. How should undo after this second widget behave? Curretly it
leaves the last match, selected in menu selection, inserted and forgets about
list. It would be very nice if it returned to menu selection ... but I do not
know how difficult it is.
More general. With amount of state information kept in compstate it is very
easy to write separate bindable commands that modify generated lists. It would
be very nice if undo returned to previous state in this case.
-andrej
Messages sorted by:
Reverse Date,
Date,
Thread,
Author