From: Stefan Monnier <monnier@iro.umontreal.ca>
To: emacs-orgmode@gnu.org
Cc: emacs-devel@gnu.org
Subject: Re: Key binding popup interface
Date: Wed, 13 Dec 2017 11:18:25 -0500 [thread overview]
Message-ID: <jwvwp1qwqtd.fsf-monnier+gmane.emacs.devel@gnu.org> (raw)
In-Reply-To: CAFyQvY0SA=ztThJ21Q2zr+0uxqZgjd4peGAxUJeifSEjtbrzbA@mail.gmail.com
> (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
next prev parent reply other threads:[~2017-12-13 16:18 UTC|newest]
Thread overview: 36+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-10 0:23 Poll: new keybinding for org-insert-structure-template? Eric Abrahamsen
2017-12-10 11:26 ` Rasmus
2017-12-10 19:37 ` Eric Abrahamsen
2017-12-12 7:48 ` Rasmus
2017-12-12 7:55 ` Nicolas Goaziou
2017-12-12 13:49 ` Rasmus
2017-12-12 14:02 ` Key binding popup interface (Was: Re: Poll: new keybinding for org-insert-structure-template on org mode list) Kaushal Modi
2017-12-12 18:45 ` Key binding popup interface Eric S Fraga
2017-12-12 18:56 ` Kaushal Modi
2017-12-12 19:53 ` Alan E. Davis
2017-12-12 20:20 ` Eric Abrahamsen
2017-12-12 20:33 ` Kaushal Modi
2017-12-12 20:44 ` Eric Abrahamsen
2017-12-12 20:56 ` Kaushal Modi
2017-12-12 21:01 ` Stefan Monnier
2017-12-12 21:19 ` Kaushal Modi
2017-12-12 21:48 ` Stefan Monnier
2017-12-13 15:38 ` Kaushal Modi
2017-12-13 16:18 ` Stefan Monnier [this message]
2017-12-12 23:51 ` Robert Weiner
2017-12-13 15:40 ` Kaushal Modi
2017-12-13 16:25 ` Robert Weiner
2017-12-13 6:52 ` John Wiegley
2017-12-13 15:43 ` Kaushal Modi
2017-12-13 0:45 ` Poll: new keybinding for org-insert-structure-template? Eric Abrahamsen
2017-12-14 9:06 ` Rasmus
2017-12-14 21:19 ` Eric Abrahamsen
2017-12-15 11:22 ` Rasmus
2017-12-15 12:59 ` Kaushal Modi
2017-12-15 13:15 ` Rasmus
2017-12-15 17:40 ` Eric Abrahamsen
2017-12-18 18:23 ` Eric Abrahamsen
2017-12-19 11:40 ` Rasmus
2017-12-20 16:36 ` Eric Abrahamsen
2017-12-20 16:48 ` Eric Abrahamsen
2017-12-21 9:16 ` Rasmus
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
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=jwvwp1qwqtd.fsf-monnier+gmane.emacs.devel@gnu.org \
--to=monnier@iro.umontreal.ca \
--cc=emacs-devel@gnu.org \
--cc=emacs-orgmode@gnu.org \
/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.savannah.gnu.org/cgit/emacs/org-mode.git
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 read-only IMAP folder(s) and NNTP newsgroup(s).