kai2nenobu / guide-key

Guide following keys to an input key sequence automatically and dynamically in Emacs.
373 stars 16 forks source link

Guide key bindings with prefix arguments #6

Closed kai2nenobu closed 9 years ago

stardiviner commented 10 years ago

Like [C-u] [C-u C-u] ? and [M-2] etc ?

kai2nenobu commented 10 years ago

Yes, it means both universal-argument (like C-u, C-u C-u) and digit-argument (like C-u 2, M-2).

whitlockjc commented 9 years ago

I hate to bug you but I've been using guide-key, thanks a lot by the way, and I wanted to enable it for C-u but whenever I do, nothing happens. Is there something special I have to do to get the feature added above? Here is what I have now:

(setq guide-key/guide-key-sequence '("C-x" "C-c" "C-h" "C-u"))

(guide-key-mode 1)

(setq guide-key/recursive-key-sequence-flag t)
(setq guide-key/popup-window-position 'bottom)

If it's not obvious, I use guide-key to better learn Emacs and to help me remember where things are.

kai2nenobu commented 9 years ago

Maybe, you misunderstand this feature.

This feature doesn't guide key bindings following C-u but enables to guide key bindings following both a normal prefix and a prefix with argument (like C-x and C-u C-x). So it is meaningless to add C-u to guide-key/guide-key-sequence.

Best regards.

whitlockjc commented 9 years ago

Ah, that was it. I did misunderstand. Thanks for clarifying.