blob: ffe04e0b1ab75e8ff8a02e0a8e654be398c753c3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
<h3 class="section">Reading Input</h3> <p>The editor command loop reads key sequences using the function <code>read-key-sequence</code>, which uses <code>read-event</code>. These and other functions for event input are also available for use in Lisp programs. See also <code>momentary-string-display</code> in <a href="temporary-displays">Temporary Displays</a>, and <code>sit-for</code> in <a href="waiting">Waiting</a>. See <a href="terminal-input">Terminal Input</a>, for functions and variables for controlling terminal input modes and debugging terminal input. </p> <p>For higher-level input facilities, see <a href="minibuffers">Minibuffers</a>. </p> <table class="menu" border="0" cellspacing="0"> <tr>
<td align="left" valign="top">• <a href="key-sequence-input" accesskey="1">Key Sequence Input</a>
</td>
<td> </td>
<td align="left" valign="top">How to read one key sequence. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="reading-one-event" accesskey="2">Reading One Event</a>
</td>
<td> </td>
<td align="left" valign="top">How to read just one event. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="event-mod" accesskey="3">Event Mod</a>
</td>
<td> </td>
<td align="left" valign="top">How Emacs modifies events as they are read. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="invoking-the-input-method" accesskey="4">Invoking the Input Method</a>
</td>
<td> </td>
<td align="left" valign="top">How reading an event uses the input method. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="quoted-character-input" accesskey="5">Quoted Character Input</a>
</td>
<td> </td>
<td align="left" valign="top">Asking the user to specify a character. </td>
</tr> <tr>
<td align="left" valign="top">• <a href="event-input-misc" accesskey="6">Event Input Misc</a>
</td>
<td> </td>
<td align="left" valign="top">How to reread or throw away input events. </td>
</tr> </table><div class="_attribution">
<p class="_attribution-p">
Copyright © 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/Reading-Input.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Reading-Input.html</a>
</p>
</div>
|