GNU Info

Info Node: (elisp)Keyboard Menus

(elisp)Keyboard Menus


Next: Menu Example Prev: Mouse Menus Up: Menu Keymaps
Enter node , (file) or (file)node

Menus and the Keyboard
----------------------

   When a prefix key ending with a keyboard event (a character or
function key) has a definition that is a menu keymap, the user can use
the keyboard to choose a menu item.

   Emacs displays the menu's overall prompt string followed by the
alternatives (the item strings of the bindings) in the echo area.  If
the bindings don't all fit at once, the user can type <SPC> to see the
next line of alternatives.  Successive uses of <SPC> eventually get to
the end of the menu and then cycle around to the beginning.  (The
variable `menu-prompt-more-char' specifies which character is used for
this; <SPC> is the default.)

   When the user has found the desired alternative from the menu, he or
she should type the corresponding character--the one whose binding is
that alternative.

   This way of using menus in an Emacs-like editor was inspired by the
Hierarkey system.

 - Variable: menu-prompt-more-char
     This variable specifies the character to use to ask to see the
     next line of a menu.  Its initial value is 32, the code for <SPC>.


automatically generated by info2www version 1.2.2.9