[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [O] Key binding popup interface
From: |
Stefan Monnier |
Subject: |
Re: [O] Key binding popup interface |
Date: |
Wed, 13 Dec 2017 11:18:25 -0500 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) |
> (defhydra hydra-zoom ()
> "zoom"
> ("g" text-scale-increase "in")
> ("l" text-scale-decrease "out"))
> (global-set-key (kbd "C-c") 'hydra-zoom/body)
But now this one suffers from other problems:
- `C-h k` does not let me directly find the binding of `C-c g`.
- A `C-c a` binding in a lower keymap is now made unavailable.
- A `C-c a` binding in a higher keymap now makes this hydra unavailable.
> In Style 1, you allow the hydra to share the "keymap space" with other
> bindings not related to that hydra.
> In Style 2, the hydra takes over the whole "keymap space". In above Style 2
> example, the "C-c" space is completely ruled by the hydra-zoom hydra.
I want it all. Don't get me wrong: I fully understand that hydra.el
works within the constraints of what Emacs provides and so it has to
choose between style 1 or style 2, but if we're talking about
integrating this into Emacs, then we should take the opportunity to lift
those restrictions.
Stefan
- Re: [O] Key binding popup interface, (continued)
- Re: [O] Key binding popup interface, Eric Abrahamsen, 2017/12/12
- Re: [O] Key binding popup interface, Kaushal Modi, 2017/12/12
- Message not available
- Re: [O] Key binding popup interface, Kaushal Modi, 2017/12/12
- Re: [O] Key binding popup interface, Stefan Monnier, 2017/12/12
- Re: [O] Key binding popup interface, Kaushal Modi, 2017/12/12
- Re: [O] Key binding popup interface, Stefan Monnier, 2017/12/12
- Re: [O] Key binding popup interface, Kaushal Modi, 2017/12/13
- Re: [O] Key binding popup interface,
Stefan Monnier <=
- Re: [O] Key binding popup interface, Robert Weiner, 2017/12/12
- Re: [O] Key binding popup interface, Kaushal Modi, 2017/12/13
- Re: [O] Key binding popup interface, Robert Weiner, 2017/12/13
- Re: [O] Key binding popup interface, John Wiegley, 2017/12/18
- Re: [O] Key binding popup interface, Kaushal Modi, 2017/12/13
- Re: [O] Poll: new keybinding for org-insert-structure-template?, Eric Abrahamsen, 2017/12/12
- Re: [O] Poll: new keybinding for org-insert-structure-template?, Rasmus, 2017/12/14
- Re: [O] Poll: new keybinding for org-insert-structure-template?, Eric Abrahamsen, 2017/12/14
- Re: [O] Poll: new keybinding for org-insert-structure-template?, Rasmus, 2017/12/15
- Re: [O] Poll: new keybinding for org-insert-structure-template?, Kaushal Modi, 2017/12/15