summaryrefslogtreecommitdiff
path: root/devdocs/elisp/keyboard-menus.html
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
committerCraig Jennings <c@cjennings.net>2024-04-07 13:41:34 -0500
commit754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch)
treef1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/keyboard-menus.html
new repository
Diffstat (limited to 'devdocs/elisp/keyboard-menus.html')
-rw-r--r--devdocs/elisp/keyboard-menus.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/devdocs/elisp/keyboard-menus.html b/devdocs/elisp/keyboard-menus.html
new file mode 100644
index 00000000..ea7a0603
--- /dev/null
+++ b/devdocs/elisp/keyboard-menus.html
@@ -0,0 +1,8 @@
+ <h4 class="subsection">Menus and the Keyboard</h4> <p>When a prefix key ending with a keyboard event (a character or function key) has a definition that is a menu keymap, the keymap operates as a keyboard menu; the user specifies the next event by choosing a menu item with the keyboard. </p> <p>Emacs displays the keyboard menu with the map’s overall prompt string, followed by the alternatives (the item strings of the map’s bindings), in the echo area. If the bindings don’t all fit at once, the user can type <tt class="key">SPC</tt> to see the next line of alternatives. Successive uses of <tt class="key">SPC</tt> eventually get to the end of the menu and then cycle around to the beginning. (The variable <code>menu-prompt-more-char</code> specifies which character is used for this; <tt class="key">SPC</tt> is the default.) </p> <p>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. </p> <dl> <dt id="menu-prompt-more-char">Variable: <strong>menu-prompt-more-char</strong>
+</dt> <dd><p>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 <tt class="key">SPC</tt>. </p></dd>
+</dl><div class="_attribution">
+ <p class="_attribution-p">
+ Copyright &copy; 1990-1996, 1998-2022 Free Software Foundation, Inc. <br>Licensed under the GNU GPL license.<br>
+ <a href="https://www.gnu.org/software/emacs/manual/html_node/elisp/Keyboard-Menus.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Keyboard-Menus.html</a>
+ </p>
+</div>