Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Limitations of menuselect



On Wed, 27 Feb 2013 17:53:30 +0000
Peter Stephenson <p.stephenson@xxxxxxxxxxx> wrote:
> On Wed, 27 Feb 2013 18:27:31 +0100
> Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> > It seems any keybinding picked up from the main keymap
> > will work though menu selection is exited first. For anything from the
> > menuselect keymap, it hard codes the actions with various widgets being
> > overloaded from their original meanings. I'm not sure that I get the
> > point of this. If it meant that your existing key-bindings would do
> > something appropriate it might make sense but you do have to duplicate
> > them in the menuselect keymap. Was this perhaps a bug introduced later
> > such as when local keymaps were added?
> 
> Hmm, I think the main keymap is supposed to show through the menu
> selection map in places where nothing's explicitly set, so you don't
> need to rebind the widget.  So that probably is a bug.

Actually, I think this *does* work, it's just hard to find a widget that
isn't overloaded, but now I have, it does cause exit from menu select
and then the widget's normal effect, without any additional binding
required.

(Unless you meant overloading widgets was a bug, but that's been there
all along.)

pws



Messages sorted by: Reverse Date, Date, Thread, Author