diff options
| author | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2024-04-07 13:41:34 -0500 |
| commit | 754bbf7a25a8dda49b5d08ef0d0443bbf5af0e36 (patch) | |
| tree | f1190704f78f04a2b0b4c977d20fe96a828377f1 /devdocs/elisp/meta_002dchar-syntax.html | |
new repository
Diffstat (limited to 'devdocs/elisp/meta_002dchar-syntax.html')
| -rw-r--r-- | devdocs/elisp/meta_002dchar-syntax.html | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/devdocs/elisp/meta_002dchar-syntax.html b/devdocs/elisp/meta_002dchar-syntax.html new file mode 100644 index 00000000..4a561280 --- /dev/null +++ b/devdocs/elisp/meta_002dchar-syntax.html @@ -0,0 +1,6 @@ + <h4 class="subsubsection">Meta-Character Syntax</h4> <p>A <em>meta character</em> is a character typed with the <tt class="key">META</tt> modifier key. The integer that represents such a character has the 2**27 bit set. We use high bits for this and other modifiers to make possible a wide range of basic character codes. </p> <p>In a string, the 2**7 bit attached to an <acronym>ASCII</acronym> character indicates a meta character; thus, the meta characters that can fit in a string have codes in the range from 128 to 255, and are the meta versions of the ordinary <acronym>ASCII</acronym> characters. See <a href="strings-of-events">Strings of Events</a>, for details about <tt class="key">META</tt>-handling in strings. </p> <p>The read syntax for meta characters uses ‘<samp>\M-</samp>’. For example, ‘<samp>?\M-A</samp>’ stands for <kbd>M-A</kbd>. You can use ‘<samp>\M-</samp>’ together with octal character codes (see below), with ‘<samp>\C-</samp>’, or with any other syntax for a character. Thus, you can write <kbd>M-A</kbd> as ‘<samp>?\M-A</samp>’, or as ‘<samp>?\M-\101</samp>’. Likewise, you can write <kbd>C-M-b</kbd> as ‘<samp>?\M-\C-b</samp>’, ‘<samp>?\C-\M-b</samp>’, or ‘<samp>?\M-\002</samp>’. </p><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/Meta_002dChar-Syntax.html" class="_attribution-link">https://www.gnu.org/software/emacs/manual/html_node/elisp/Meta_002dChar-Syntax.html</a> + </p> +</div> |
