diff options
| author | Eli Zaretskii | 2014-04-29 17:45:24 +0300 |
|---|---|---|
| committer | Eli Zaretskii | 2014-04-29 17:45:24 +0300 |
| commit | d7e9a7f87a616abc20ce460e34854807b0cd681d (patch) | |
| tree | 41aca6f2d628ff3cc5a3267a1621fc489da75de6 | |
| parent | 2785da249bd881dae503507d22e3ce6f158e519a (diff) | |
| download | emacs-d7e9a7f87a616abc20ce460e34854807b0cd681d.tar.gz emacs-d7e9a7f87a616abc20ce460e34854807b0cd681d.zip | |
Fix bug #17362 with inconsistent usage of @key and @kbd, and key names.
doc/emacs/trouble.texi (Quitting, DEL Does Not Delete, Emergency Escape)
(Bug Criteria): Fix usage of @kbd and @key. (Bug#17362)
doc/emacs/text.texi (Words, Pages, Foldout, HTML Mode): Fix usage of @kbd
and @key.
doc/emacs/search.texi (Special Isearch, Regexp Search): Fix usage of @kbd
and @key.
doc/emacs/screen.texi (Echo Area, Menu Bar): Fix usage of @kbd and @key.
doc/emacs/rmail.texi (Rmail Scrolling): Fix usage of @kbd and @key.
doc/emacs/programs.texi (Hungry Delete, Other C Commands): Fix usage of
@kbd and @key.
doc/emacs/picture-xtra.texi (Insert in Picture): Fix usage of @kbd and
@key.
doc/emacs/mule.texi (Unibyte Mode, Bidirectional Editing): Fix usage of
@kbd and @key.
doc/emacs/msdog.texi (Windows Keyboard, Windows Processes): Fix usage of
@kbd and @key.
doc/emacs/msdog-xtra.texi (MS-DOS Keyboard, MS-DOS Printing)
(MS-DOS Processes): Fix usage of @kbd and @key.
doc/emacs/misc.texi (Shell Ring, Printing Package): Fix usage of @kbd and
@key.
doc/emacs/mini.texi (Completion Commands, Minibuffer History): Fix usage
of @kbd and @key.
doc/emacs/kmacro.texi (Keyboard Macro Step-Edit): Fix usage of @kbd and
@key.
doc/emacs/killing.texi (Deletion, Rectangles, CUA Bindings): Fix usage of
@kbd and @key.
doc/emacs/indent.texi (Indentation Commands): Fix usage of @kbd and @key.
doc/emacs/help.texi (Help Mode, Misc Help): Fix usage of @kbd and @key.
doc/emacs/glossary.texi (Glossary): Fix usage of @kbd and @key.
doc/emacs/frames.texi (Speedbar): Fix usage of @kbd and @key.
doc/emacs/files.texi (Misc File Ops, File Name Cache, File Conveniences)
(Filesets): Fix usage of @kbd and @key.
doc/emacs/display.texi (View Mode): Fix usage of @kbd and @key.
doc/emacs/dired.texi (Image-Dired): Fix usage of @kbd and @key.
doc/emacs/custom.texi (Modifier Keys, Function Keys, Named ASCII Chars)
(Init Syntax): Fix usage of @kbd and @key.
doc/emacs/commands.texi (User Input): Fix usage of @kbd and @key.
doc/emacs/calendar.texi (Counting Days, General Calendar): Fix usage of
@kbd and @key.
doc/emacs/building.texi (Threads Buffer): Fix usage of @kbd and @key.
doc/emacs/buffers.texi (Select Buffer, Icomplete): Fix usage of @kbd and
@key.
doc/emacs/basic.texi (Inserting Text, Erasing, Arguments): Fix usage of
@kbd and @key.
| -rw-r--r-- | doc/emacs/ChangeLog | 73 | ||||
| -rw-r--r-- | doc/emacs/basic.texi | 12 | ||||
| -rw-r--r-- | doc/emacs/buffers.texi | 23 | ||||
| -rw-r--r-- | doc/emacs/building.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/calendar.texi | 12 | ||||
| -rw-r--r-- | doc/emacs/commands.texi | 14 | ||||
| -rw-r--r-- | doc/emacs/custom.texi | 14 | ||||
| -rw-r--r-- | doc/emacs/dired.texi | 8 | ||||
| -rw-r--r-- | doc/emacs/display.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/files.texi | 19 | ||||
| -rw-r--r-- | doc/emacs/frames.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/glossary.texi | 30 | ||||
| -rw-r--r-- | doc/emacs/help.texi | 10 | ||||
| -rw-r--r-- | doc/emacs/indent.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/killing.texi | 10 | ||||
| -rw-r--r-- | doc/emacs/kmacro.texi | 20 | ||||
| -rw-r--r-- | doc/emacs/mini.texi | 12 | ||||
| -rw-r--r-- | doc/emacs/misc.texi | 14 | ||||
| -rw-r--r-- | doc/emacs/msdog-xtra.texi | 30 | ||||
| -rw-r--r-- | doc/emacs/msdog.texi | 20 | ||||
| -rw-r--r-- | doc/emacs/mule.texi | 14 | ||||
| -rw-r--r-- | doc/emacs/picture-xtra.texi | 12 | ||||
| -rw-r--r-- | doc/emacs/programs.texi | 12 | ||||
| -rw-r--r-- | doc/emacs/rmail.texi | 2 | ||||
| -rw-r--r-- | doc/emacs/screen.texi | 4 | ||||
| -rw-r--r-- | doc/emacs/search.texi | 6 | ||||
| -rw-r--r-- | doc/emacs/text.texi | 8 | ||||
| -rw-r--r-- | doc/emacs/trouble.texi | 22 |
28 files changed, 244 insertions, 169 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 1e002127be6..65847ebac8e 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog | |||
| @@ -1,3 +1,76 @@ | |||
| 1 | 2014-04-29 Eli Zaretskii <eliz@gnu.org> | ||
| 2 | |||
| 3 | * trouble.texi (Quitting, DEL Does Not Delete, Emergency Escape) | ||
| 4 | (Bug Criteria): Fix usage of @kbd and @key. (Bug#17362) | ||
| 5 | |||
| 6 | * text.texi (Words, Pages, Foldout, HTML Mode): Fix usage of @kbd | ||
| 7 | and @key. | ||
| 8 | |||
| 9 | * search.texi (Special Isearch, Regexp Search): Fix usage of @kbd | ||
| 10 | and @key. | ||
| 11 | |||
| 12 | * screen.texi (Echo Area, Menu Bar): Fix usage of @kbd and @key. | ||
| 13 | |||
| 14 | * rmail.texi (Rmail Scrolling): Fix usage of @kbd and @key. | ||
| 15 | |||
| 16 | * programs.texi (Hungry Delete, Other C Commands): Fix usage of | ||
| 17 | @kbd and @key. | ||
| 18 | |||
| 19 | * picture-xtra.texi (Insert in Picture): Fix usage of @kbd and | ||
| 20 | @key. | ||
| 21 | |||
| 22 | * mule.texi (Unibyte Mode, Bidirectional Editing): Fix usage of | ||
| 23 | @kbd and @key. | ||
| 24 | |||
| 25 | * msdog.texi (Windows Keyboard, Windows Processes): Fix usage of | ||
| 26 | @kbd and @key. | ||
| 27 | |||
| 28 | * msdog-xtra.texi (MS-DOS Keyboard, MS-DOS Printing) | ||
| 29 | (MS-DOS Processes): Fix usage of @kbd and @key. | ||
| 30 | |||
| 31 | * misc.texi (Shell Ring, Printing Package): Fix usage of @kbd and | ||
| 32 | @key. | ||
| 33 | |||
| 34 | * mini.texi (Completion Commands, Minibuffer History): Fix usage | ||
| 35 | of @kbd and @key. | ||
| 36 | |||
| 37 | * kmacro.texi (Keyboard Macro Step-Edit): Fix usage of @kbd and | ||
| 38 | @key. | ||
| 39 | |||
| 40 | * killing.texi (Deletion, Rectangles, CUA Bindings): Fix usage of | ||
| 41 | @kbd and @key. | ||
| 42 | |||
| 43 | * indent.texi (Indentation Commands): Fix usage of @kbd and @key. | ||
| 44 | |||
| 45 | * help.texi (Help Mode, Misc Help): Fix usage of @kbd and @key. | ||
| 46 | |||
| 47 | * glossary.texi (Glossary): Fix usage of @kbd and @key. | ||
| 48 | |||
| 49 | * frames.texi (Speedbar): Fix usage of @kbd and @key. | ||
| 50 | |||
| 51 | * files.texi (Misc File Ops, File Name Cache, File Conveniences) | ||
| 52 | (Filesets): Fix usage of @kbd and @key. | ||
| 53 | |||
| 54 | * display.texi (View Mode): Fix usage of @kbd and @key. | ||
| 55 | |||
| 56 | * dired.texi (Image-Dired): Fix usage of @kbd and @key. | ||
| 57 | |||
| 58 | * custom.texi (Modifier Keys, Function Keys, Named ASCII Chars) | ||
| 59 | (Init Syntax): Fix usage of @kbd and @key. | ||
| 60 | |||
| 61 | * commands.texi (User Input): Fix usage of @kbd and @key. | ||
| 62 | |||
| 63 | * calendar.texi (Counting Days, General Calendar): Fix usage of | ||
| 64 | @kbd and @key. | ||
| 65 | |||
| 66 | * building.texi (Threads Buffer): Fix usage of @kbd and @key. | ||
| 67 | |||
| 68 | * buffers.texi (Select Buffer, Icomplete): Fix usage of @kbd and | ||
| 69 | @key. | ||
| 70 | |||
| 71 | * basic.texi (Inserting Text, Erasing, Arguments): Fix usage of | ||
| 72 | @kbd and @key. | ||
| 73 | |||
| 1 | 2014-04-26 Eli Zaretskii <eliz@gnu.org> | 74 | 2014-04-26 Eli Zaretskii <eliz@gnu.org> |
| 2 | 75 | ||
| 3 | * sending.texi (Mail Signature): Document signature variables used | 76 | * sending.texi (Mail Signature): Document signature variables used |
diff --git a/doc/emacs/basic.texi b/doc/emacs/basic.texi index c5ded11c62e..3e8129c9d50 100644 --- a/doc/emacs/basic.texi +++ b/doc/emacs/basic.texi | |||
| @@ -67,7 +67,7 @@ instead of shoving it to the right. @xref{Minor Modes}. | |||
| 67 | @findex quoted-insert | 67 | @findex quoted-insert |
| 68 | Only graphic characters can be inserted by typing the associated | 68 | Only graphic characters can be inserted by typing the associated |
| 69 | key; other keys act as editing commands and do not insert themselves. | 69 | key; other keys act as editing commands and do not insert themselves. |
| 70 | For instance, @kbd{DEL} runs the command @code{delete-backward-char} | 70 | For instance, @key{DEL} runs the command @code{delete-backward-char} |
| 71 | by default (some modes bind it to a different command); it does not | 71 | by default (some modes bind it to a different command); it does not |
| 72 | insert a literal @samp{DEL} character (@acronym{ASCII} character code | 72 | insert a literal @samp{DEL} character (@acronym{ASCII} character code |
| 73 | 127). | 73 | 127). |
| @@ -366,7 +366,7 @@ moves down into it. | |||
| 366 | 366 | ||
| 367 | @table @kbd | 367 | @table @kbd |
| 368 | @item @key{DEL} | 368 | @item @key{DEL} |
| 369 | @itemx @key{Backspace} | 369 | @itemx @key{BACKSPACE} |
| 370 | Delete the character before point, or the region if it is active | 370 | Delete the character before point, or the region if it is active |
| 371 | (@code{delete-backward-char}). | 371 | (@code{delete-backward-char}). |
| 372 | 372 | ||
| @@ -394,20 +394,20 @@ the preceding newline, joining this line to the previous one. | |||
| 394 | If, however, the region is active, @kbd{@key{DEL}} instead deletes | 394 | If, however, the region is active, @kbd{@key{DEL}} instead deletes |
| 395 | the text in the region. @xref{Mark}, for a description of the region. | 395 | the text in the region. @xref{Mark}, for a description of the region. |
| 396 | 396 | ||
| 397 | On most keyboards, @key{DEL} is labeled @key{Backspace}, but we | 397 | On most keyboards, @key{DEL} is labeled @key{BACKSPACE}, but we |
| 398 | refer to it as @key{DEL} in this manual. (Do not confuse @key{DEL} | 398 | refer to it as @key{DEL} in this manual. (Do not confuse @key{DEL} |
| 399 | with the @key{Delete} key; we will discuss @key{Delete} momentarily.) | 399 | with the @key{Delete} key; we will discuss @key{Delete} momentarily.) |
| 400 | On some text terminals, Emacs may not recognize the @key{DEL} key | 400 | On some text terminals, Emacs may not recognize the @key{DEL} key |
| 401 | properly. @xref{DEL Does Not Delete}, if you encounter this problem. | 401 | properly. @xref{DEL Does Not Delete}, if you encounter this problem. |
| 402 | 402 | ||
| 403 | The @key{delete} (@code{delete-forward-char}) command deletes in the | 403 | The @key{Delete} (@code{delete-forward-char}) command deletes in the |
| 404 | ``opposite direction'': it deletes the character after point, i.e., the | 404 | ``opposite direction'': it deletes the character after point, i.e., the |
| 405 | character under the cursor. If point was at the end of a line, this | 405 | character under the cursor. If point was at the end of a line, this |
| 406 | joins the following line onto this one. Like @kbd{@key{DEL}}, it | 406 | joins the following line onto this one. Like @kbd{@key{DEL}}, it |
| 407 | deletes the text in the region if the region is active (@pxref{Mark}). | 407 | deletes the text in the region if the region is active (@pxref{Mark}). |
| 408 | 408 | ||
| 409 | @kbd{C-d} (@code{delete-char}) deletes the character after point, | 409 | @kbd{C-d} (@code{delete-char}) deletes the character after point, |
| 410 | similar to @key{delete}, but regardless of whether the region is | 410 | similar to @key{Delete}, but regardless of whether the region is |
| 411 | active. | 411 | active. |
| 412 | 412 | ||
| 413 | @xref{Deletion}, for more detailed information about the above | 413 | @xref{Deletion}, for more detailed information about the above |
| @@ -723,7 +723,7 @@ M-5 C-n | |||
| 723 | moves down five lines. The keys @kbd{M-1}, @kbd{M-2}, and so on, as | 723 | moves down five lines. The keys @kbd{M-1}, @kbd{M-2}, and so on, as |
| 724 | well as @kbd{M--}, are bound to commands (@code{digit-argument} and | 724 | well as @kbd{M--}, are bound to commands (@code{digit-argument} and |
| 725 | @code{negative-argument}) that set up an argument for the next | 725 | @code{negative-argument}) that set up an argument for the next |
| 726 | command. @kbd{Meta--} without digits normally means @minus{}1. | 726 | command. @kbd{M--} without digits normally means @minus{}1. |
| 727 | 727 | ||
| 728 | If you enter more than one digit, you need not hold down the | 728 | If you enter more than one digit, you need not hold down the |
| 729 | @key{META} key for the second and subsequent digits. Thus, to move | 729 | @key{META} key for the second and subsequent digits. Thus, to move |
diff --git a/doc/emacs/buffers.texi b/doc/emacs/buffers.texi index 3f55cf7076e..3c2beae28ef 100644 --- a/doc/emacs/buffers.texi +++ b/doc/emacs/buffers.texi | |||
| @@ -74,9 +74,9 @@ Similar, but select @var{buffer} in another window | |||
| 74 | @item C-x 5 b @var{buffer} @key{RET} | 74 | @item C-x 5 b @var{buffer} @key{RET} |
| 75 | Similar, but select @var{buffer} in a separate frame | 75 | Similar, but select @var{buffer} in a separate frame |
| 76 | (@code{switch-to-buffer-other-frame}). | 76 | (@code{switch-to-buffer-other-frame}). |
| 77 | @item C-x @key{LEFT} | 77 | @item C-x @key{left} |
| 78 | Select the previous buffer in the buffer list (@code{previous-buffer}). | 78 | Select the previous buffer in the buffer list (@code{previous-buffer}). |
| 79 | @item C-x @key{RIGHT} | 79 | @item C-x @key{right} |
| 80 | Select the next buffer in the buffer list (@code{next-buffer}). | 80 | Select the next buffer in the buffer list (@code{next-buffer}). |
| 81 | @item C-u M-g M-g | 81 | @item C-u M-g M-g |
| 82 | @itemx C-u M-g g | 82 | @itemx C-u M-g g |
| @@ -110,15 +110,15 @@ it, Emacs asks for the file name to use, and the buffer's major mode | |||
| 110 | is re-established taking that file name into account (@pxref{Choosing | 110 | is re-established taking that file name into account (@pxref{Choosing |
| 111 | Modes}). | 111 | Modes}). |
| 112 | 112 | ||
| 113 | @kindex C-x @key{LEFT} | 113 | @kindex C-x @key{left} |
| 114 | @kindex C-x @key{RIGHT} | 114 | @kindex C-x @key{right} |
| 115 | @findex next-buffer | 115 | @findex next-buffer |
| 116 | @findex previous-buffer | 116 | @findex previous-buffer |
| 117 | For conveniently switching between a few buffers, use the commands | 117 | For conveniently switching between a few buffers, use the commands |
| 118 | @kbd{C-x @key{LEFT}} and @kbd{C-x @key{RIGHT}}. @kbd{C-x @key{LEFT}} | 118 | @kbd{C-x @key{left}} and @kbd{C-x @key{right}}. @kbd{C-x @key{left}} |
| 119 | (@code{previous-buffer}) selects the previous buffer (following the | 119 | (@code{previous-buffer}) selects the previous buffer (following the |
| 120 | order of most recent selection in the current frame), while @kbd{C-x | 120 | order of most recent selection in the current frame), while @kbd{C-x |
| 121 | @key{RIGHT}} (@code{next-buffer}) moves through buffers in the reverse | 121 | @key{right}} (@code{next-buffer}) moves through buffers in the reverse |
| 122 | direction. | 122 | direction. |
| 123 | 123 | ||
| 124 | @kindex C-x 4 b | 124 | @kindex C-x 4 b |
| @@ -661,17 +661,18 @@ element among the possible completions in a minibuffer. When enabled, typing | |||
| 661 | in the minibuffer continuously displays a list of possible completions that | 661 | in the minibuffer continuously displays a list of possible completions that |
| 662 | match the string you have typed. | 662 | match the string you have typed. |
| 663 | 663 | ||
| 664 | At any time, you can type @key{C-j} to select the first completion in | 664 | At any time, you can type @kbd{C-j} to select the first completion in |
| 665 | the list. So the way to select a particular completion is to make it the | 665 | the list. So the way to select a particular completion is to make it the |
| 666 | first in the list. There are two ways to do this. You can type more | 666 | first in the list. There are two ways to do this. You can type more |
| 667 | of the completion name and thus narrow down the list, excluding unwanted | 667 | of the completion name and thus narrow down the list, excluding unwanted |
| 668 | completions above the desired one. Alternatively, you can use @kbd{C-.} | 668 | completions above the desired one. Alternatively, you can use @kbd{C-.} |
| 669 | and @kbd{C-,} to rotate the list until the desired buffer is first. | 669 | and @kbd{C-,} to rotate the list until the desired buffer is first. |
| 670 | 670 | ||
| 671 | @key{M-TAB} will select the first completion in the list, like @key{C-j} but | 671 | @kbd{M-@key{TAB}} will select the first completion in the list, like |
| 672 | without exiting the minibuffer, so you can edit it further. This is typically | 672 | @kbd{C-j} but without exiting the minibuffer, so you can edit it |
| 673 | used when entering a file name, where @key{M-TAB} can be used a few times to | 673 | further. This is typically used when entering a file name, where |
| 674 | descend in the hierarchy of directories. | 674 | @kbd{M-@key{TAB}} can be used a few times to descend in the hierarchy |
| 675 | of directories. | ||
| 675 | 676 | ||
| 676 | To enable Icomplete mode, type @kbd{M-x icomplete-mode}, or customize | 677 | To enable Icomplete mode, type @kbd{M-x icomplete-mode}, or customize |
| 677 | the variable @code{icomplete-mode} to @code{t} (@pxref{Easy | 678 | the variable @code{icomplete-mode} to @code{t} (@pxref{Easy |
diff --git a/doc/emacs/building.texi b/doc/emacs/building.texi index a0ef9e80c8d..e0ed11ff862 100644 --- a/doc/emacs/building.texi +++ b/doc/emacs/building.texi | |||
| @@ -1005,7 +1005,7 @@ non-@code{nil}, the GDB Threads buffer is the one shown by default. | |||
| 1005 | The GDB Threads buffer displays a summary of the threads in the | 1005 | The GDB Threads buffer displays a summary of the threads in the |
| 1006 | debugged program. @xref{Threads, Threads, Debugging programs with | 1006 | debugged program. @xref{Threads, Threads, Debugging programs with |
| 1007 | multiple threads, gdb, The GNU debugger}. To select a thread, move | 1007 | multiple threads, gdb, The GNU debugger}. To select a thread, move |
| 1008 | point there and type @key{RET} (@code{gdb-select-thread}), or click on | 1008 | point there and press @key{RET} (@code{gdb-select-thread}), or click on |
| 1009 | it with @kbd{Mouse-2}. This also displays the associated source | 1009 | it with @kbd{Mouse-2}. This also displays the associated source |
| 1010 | buffer, and updates the contents of the other GDB buffers. | 1010 | buffer, and updates the contents of the other GDB buffers. |
| 1011 | 1011 | ||
diff --git a/doc/emacs/calendar.texi b/doc/emacs/calendar.texi index ef6d44a968f..07226883c99 100644 --- a/doc/emacs/calendar.texi +++ b/doc/emacs/calendar.texi | |||
| @@ -288,7 +288,7 @@ Display the number of days in the current region | |||
| 288 | @kindex M-= @r{(Calendar mode)} | 288 | @kindex M-= @r{(Calendar mode)} |
| 289 | @findex calendar-count-days-region | 289 | @findex calendar-count-days-region |
| 290 | To determine the number of days in a range, set the mark on one | 290 | To determine the number of days in a range, set the mark on one |
| 291 | date using @kbd{C-SPC}, move point to another date, and type @kbd{M-=} | 291 | date using @kbd{C-@key{SPC}}, move point to another date, and type @kbd{M-=} |
| 292 | (@code{calendar-count-days-region}). The numbers of days shown is | 292 | (@code{calendar-count-days-region}). The numbers of days shown is |
| 293 | @emph{inclusive}; that is, it includes the days specified by mark and | 293 | @emph{inclusive}; that is, it includes the days specified by mark and |
| 294 | point. | 294 | point. |
| @@ -301,10 +301,10 @@ point. | |||
| 301 | Display day-in-year (@code{calendar-print-day-of-year}). | 301 | Display day-in-year (@code{calendar-print-day-of-year}). |
| 302 | @item C-c C-l | 302 | @item C-c C-l |
| 303 | Regenerate the calendar window (@code{calendar-redraw}). | 303 | Regenerate the calendar window (@code{calendar-redraw}). |
| 304 | @item SPC | 304 | @item @key{SPC} |
| 305 | Scroll the next window up (@code{scroll-other-window}). | 305 | Scroll the next window up (@code{scroll-other-window}). |
| 306 | @item DEL | 306 | @item @key{DEL} |
| 307 | @itemx S-SPC | 307 | @itemx S-@key{SPC} |
| 308 | Scroll the next window down (@code{scroll-other-window-down}). | 308 | Scroll the next window down (@code{scroll-other-window-down}). |
| 309 | @item q | 309 | @item q |
| 310 | Exit from calendar (@code{calendar-exit}). | 310 | Exit from calendar (@code{calendar-exit}). |
| @@ -327,8 +327,8 @@ date. | |||
| 327 | non-Calendar-mode editing commands.) | 327 | non-Calendar-mode editing commands.) |
| 328 | 328 | ||
| 329 | @kindex SPC @r{(Calendar mode)} | 329 | @kindex SPC @r{(Calendar mode)} |
| 330 | In Calendar mode, you can use @kbd{SPC} (@code{scroll-other-window}) | 330 | In Calendar mode, you can use @key{SPC} (@code{scroll-other-window}) |
| 331 | and @kbd{DEL} (@code{scroll-other-window-down}) to scroll the other | 331 | and @key{DEL} (@code{scroll-other-window-down}) to scroll the other |
| 332 | window (if there is one) up or down, respectively. This is handy when | 332 | window (if there is one) up or down, respectively. This is handy when |
| 333 | you display a list of holidays or diary entries in another window. | 333 | you display a list of holidays or diary entries in another window. |
| 334 | 334 | ||
diff --git a/doc/emacs/commands.texi b/doc/emacs/commands.texi index 1c9b7fc220d..10612de82bb 100644 --- a/doc/emacs/commands.texi +++ b/doc/emacs/commands.texi | |||
| @@ -42,28 +42,28 @@ are certain characters found on non-English keyboards | |||
| 42 | @cindex modifier keys | 42 | @cindex modifier keys |
| 43 | @cindex Control | 43 | @cindex Control |
| 44 | @cindex C- | 44 | @cindex C- |
| 45 | @cindex Meta | 45 | @cindex META |
| 46 | @cindex M- | 46 | @cindex M- |
| 47 | Emacs also recognizes control characters that are entered using | 47 | Emacs also recognizes control characters that are entered using |
| 48 | @dfn{modifier keys}. Two commonly-used modifier keys are | 48 | @dfn{modifier keys}. Two commonly-used modifier keys are |
| 49 | @key{Control} (usually labeled @key{Ctrl}), and @key{Meta} (usually | 49 | @key{Control} (usually labeled @key{Ctrl}), and @key{META} (usually |
| 50 | labeled @key{Alt})@footnote{We refer to @key{Alt} as @key{Meta} for | 50 | labeled @key{Alt})@footnote{We refer to @key{Alt} as @key{META} for |
| 51 | historical reasons.}. For example, @kbd{Control-a} is entered by | 51 | historical reasons.}. For example, @kbd{Control-a} is entered by |
| 52 | holding down the @key{Ctrl} key while pressing @kbd{a}; we will refer | 52 | holding down the @key{Ctrl} key while pressing @kbd{a}; we will refer |
| 53 | to this as @kbd{C-a} for short. Similarly @kbd{Meta-a}, or @kbd{M-a} | 53 | to this as @kbd{C-a} for short. Similarly @kbd{@key{META}-a}, or @kbd{M-a} |
| 54 | for short, is entered by holding down the @key{Alt} key and pressing | 54 | for short, is entered by holding down the @key{Alt} key and pressing |
| 55 | @kbd{a}. Modifier keys can also be applied to non-alphanumerical | 55 | @kbd{a}. Modifier keys can also be applied to non-alphanumerical |
| 56 | characters, e.g., @kbd{C-@key{F1}} or @kbd{M-@key{left}}. | 56 | characters, e.g., @kbd{C-@key{F1}} or @kbd{M-@key{left}}. |
| 57 | 57 | ||
| 58 | @cindex @key{ESC} replacing @key{Meta} key | 58 | @cindex @key{ESC} replacing @key{META} key |
| 59 | You can also type Meta characters using two-character sequences | 59 | You can also type Meta characters using two-character sequences |
| 60 | starting with @key{ESC}. Thus, you can enter @kbd{M-a} by typing | 60 | starting with @key{ESC}. Thus, you can enter @kbd{M-a} by typing |
| 61 | @kbd{@key{ESC} a}. You can enter @kbd{C-M-a} by typing @kbd{@key{ESC} | 61 | @kbd{@key{ESC} a}. You can enter @kbd{C-M-a} by typing @kbd{@key{ESC} |
| 62 | C-a}. Unlike @key{Meta}, @key{ESC} is entered as a separate | 62 | C-a}. Unlike @key{META}, @key{ESC} is entered as a separate |
| 63 | character. You don't hold down @key{ESC} while typing the next | 63 | character. You don't hold down @key{ESC} while typing the next |
| 64 | character; instead, press @key{ESC} and release it, then enter the | 64 | character; instead, press @key{ESC} and release it, then enter the |
| 65 | next character. This feature is useful on certain text terminals | 65 | next character. This feature is useful on certain text terminals |
| 66 | where the @key{Meta} key does not function reliably. | 66 | where the @key{META} key does not function reliably. |
| 67 | 67 | ||
| 68 | @cindex keys stolen by window manager | 68 | @cindex keys stolen by window manager |
| 69 | @cindex window manager, keys stolen by | 69 | @cindex window manager, keys stolen by |
diff --git a/doc/emacs/custom.texi b/doc/emacs/custom.texi index bb02f1e7c9f..96f2ef2107c 100644 --- a/doc/emacs/custom.texi +++ b/doc/emacs/custom.texi | |||
| @@ -1766,11 +1766,11 @@ historical. | |||
| 1766 | characters case-sensitive when you customize Emacs. For instance, you | 1766 | characters case-sensitive when you customize Emacs. For instance, you |
| 1767 | could make @kbd{M-a} and @kbd{M-A} run different commands. | 1767 | could make @kbd{M-a} and @kbd{M-A} run different commands. |
| 1768 | 1768 | ||
| 1769 | Although only the @key{Control} and @key{Meta} modifier keys are | 1769 | Although only the @key{Control} and @key{META} modifier keys are |
| 1770 | commonly used, Emacs supports three other modifier keys. These are | 1770 | commonly used, Emacs supports three other modifier keys. These are |
| 1771 | called @key{Super}, @key{Hyper} and @key{Alt}. Few terminals provide | 1771 | called @key{Super}, @key{Hyper} and @key{Alt}. Few terminals provide |
| 1772 | ways to use these modifiers; the key labeled @key{Alt} on most | 1772 | ways to use these modifiers; the key labeled @key{Alt} on most |
| 1773 | keyboards usually issues the @key{Meta} modifier, not @key{Alt}. The | 1773 | keyboards usually issues the @key{META} modifier, not @key{Alt}. The |
| 1774 | standard key bindings in Emacs do not include any characters with | 1774 | standard key bindings in Emacs do not include any characters with |
| 1775 | these modifiers. However, you can customize Emacs to assign meanings | 1775 | these modifiers. However, you can customize Emacs to assign meanings |
| 1776 | to them. The modifier bits are labeled as @samp{s-}, @samp{H-} and | 1776 | to them. The modifier bits are labeled as @samp{s-}, @samp{H-} and |
| @@ -1836,8 +1836,8 @@ translates these keys to the corresponding keys in the main keyboard. | |||
| 1836 | For example, when @samp{Num Lock} is on, the key labeled @samp{8} on | 1836 | For example, when @samp{Num Lock} is on, the key labeled @samp{8} on |
| 1837 | the numeric keypad produces @code{kp-8}, which is translated to | 1837 | the numeric keypad produces @code{kp-8}, which is translated to |
| 1838 | @kbd{8}; when @samp{Num Lock} is off, the same key produces | 1838 | @kbd{8}; when @samp{Num Lock} is off, the same key produces |
| 1839 | @code{kp-up}, which is translated to @key{UP}. If you rebind a key | 1839 | @code{kp-up}, which is translated to @key{up}. If you rebind a key |
| 1840 | such as @kbd{8} or @key{UP}, it affects the equivalent keypad key too. | 1840 | such as @kbd{8} or @key{up}, it affects the equivalent keypad key too. |
| 1841 | However, if you rebind a @samp{kp-} key directly, that won't affect | 1841 | However, if you rebind a @samp{kp-} key directly, that won't affect |
| 1842 | its non-keypad equivalent. Note that the modified keys are not | 1842 | its non-keypad equivalent. Note that the modified keys are not |
| 1843 | translated: for instance, if you hold down the @key{META} key while | 1843 | translated: for instance, if you hold down the @key{META} key while |
| @@ -1860,7 +1860,7 @@ started out as names for certain @acronym{ASCII} control characters, | |||
| 1860 | used so often that they have special keys of their own. For instance, | 1860 | used so often that they have special keys of their own. For instance, |
| 1861 | @key{TAB} was another name for @kbd{C-i}. Later, users found it | 1861 | @key{TAB} was another name for @kbd{C-i}. Later, users found it |
| 1862 | convenient to distinguish in Emacs between these keys and the ``same'' | 1862 | convenient to distinguish in Emacs between these keys and the ``same'' |
| 1863 | control characters typed with the @key{CTRL} key. Therefore, on most | 1863 | control characters typed with the @key{Ctrl} key. Therefore, on most |
| 1864 | modern terminals, they are no longer the same: @key{TAB} is different | 1864 | modern terminals, they are no longer the same: @key{TAB} is different |
| 1865 | from @kbd{C-i}. | 1865 | from @kbd{C-i}. |
| 1866 | 1866 | ||
| @@ -2187,8 +2187,8 @@ sequences are mandatory. | |||
| 2187 | 2187 | ||
| 2188 | @samp{\C-} can be used as a prefix for a control character, as in | 2188 | @samp{\C-} can be used as a prefix for a control character, as in |
| 2189 | @samp{\C-s} for @acronym{ASCII} control-S, and @samp{\M-} can be used as a prefix for | 2189 | @samp{\C-s} for @acronym{ASCII} control-S, and @samp{\M-} can be used as a prefix for |
| 2190 | a Meta character, as in @samp{\M-a} for @kbd{Meta-A} or @samp{\M-\C-a} for | 2190 | a Meta character, as in @samp{\M-a} for @kbd{@key{META}-A} or |
| 2191 | @kbd{Control-Meta-A}. | 2191 | @samp{\M-\C-a} for @kbd{@key{Ctrl}-@key{META}-A}. |
| 2192 | 2192 | ||
| 2193 | @xref{Init Non-ASCII}, for information about including | 2193 | @xref{Init Non-ASCII}, for information about including |
| 2194 | non-@acronym{ASCII} in your init file. | 2194 | non-@acronym{ASCII} in your init file. |
diff --git a/doc/emacs/dired.texi b/doc/emacs/dired.texi index f0db7b69205..4e9dfd5d12a 100644 --- a/doc/emacs/dired.texi +++ b/doc/emacs/dired.texi | |||
| @@ -1312,19 +1312,19 @@ takes a long time if the directory contains many image files, and it | |||
| 1312 | asks for confirmation if the number of image files exceeds | 1312 | asks for confirmation if the number of image files exceeds |
| 1313 | @code{image-dired-show-all-from-dir-max-files}. | 1313 | @code{image-dired-show-all-from-dir-max-files}. |
| 1314 | 1314 | ||
| 1315 | With point in the thumbnail buffer, you can type @kbd{RET} | 1315 | With point in the thumbnail buffer, you can type @key{RET} |
| 1316 | (@code{image-dired-display-thumbnail-original-image}) to display a | 1316 | (@code{image-dired-display-thumbnail-original-image}) to display a |
| 1317 | sized version of it in another window. This sizes the image to fit | 1317 | sized version of it in another window. This sizes the image to fit |
| 1318 | the window. Use the arrow keys to move around in the buffer. For | 1318 | the window. Use the arrow keys to move around in the buffer. For |
| 1319 | easy browsing, use @kbd{SPC} | 1319 | easy browsing, use @key{SPC} |
| 1320 | (@code{image-dired-display-next-thumbnail-original}) to advance and | 1320 | (@code{image-dired-display-next-thumbnail-original}) to advance and |
| 1321 | display the next image. Typing @kbd{DEL} | 1321 | display the next image. Typing @key{DEL} |
| 1322 | (@code{image-dired-display-previous-thumbnail-original}) backs up to | 1322 | (@code{image-dired-display-previous-thumbnail-original}) backs up to |
| 1323 | the previous thumbnail and displays that instead. | 1323 | the previous thumbnail and displays that instead. |
| 1324 | 1324 | ||
| 1325 | @vindex image-dired-external-viewer | 1325 | @vindex image-dired-external-viewer |
| 1326 | To view and the image in its original size, either provide a prefix | 1326 | To view and the image in its original size, either provide a prefix |
| 1327 | argument (@kbd{C-u}) before pressing @kbd{RET}, or type | 1327 | argument (@kbd{C-u}) before pressing @key{RET}, or type |
| 1328 | @kbd{C-@key{RET}} (@code{image-dired-thumbnail-display-external}) to | 1328 | @kbd{C-@key{RET}} (@code{image-dired-thumbnail-display-external}) to |
| 1329 | display the image in an external viewer. You must first configure | 1329 | display the image in an external viewer. You must first configure |
| 1330 | @code{image-dired-external-viewer}. | 1330 | @code{image-dired-external-viewer}. |
diff --git a/doc/emacs/display.texi b/doc/emacs/display.texi index 03de755aff3..bdcb185a5f3 100644 --- a/doc/emacs/display.texi +++ b/doc/emacs/display.texi | |||
| @@ -428,7 +428,7 @@ it. @xref{Disabling}. | |||
| 428 | screenfuls. It provides commands for scrolling through the buffer | 428 | screenfuls. It provides commands for scrolling through the buffer |
| 429 | conveniently but not for changing it. Apart from the usual Emacs | 429 | conveniently but not for changing it. Apart from the usual Emacs |
| 430 | cursor motion commands, you can type @key{SPC} to scroll forward one | 430 | cursor motion commands, you can type @key{SPC} to scroll forward one |
| 431 | windowful, @key{S-SPC} or @key{DEL} to scroll backward, and @kbd{s} to | 431 | windowful, @key{S-@key{SPC}} or @key{DEL} to scroll backward, and @kbd{s} to |
| 432 | start an incremental search. | 432 | start an incremental search. |
| 433 | 433 | ||
| 434 | @kindex q @r{(View mode)} | 434 | @kindex q @r{(View mode)} |
diff --git a/doc/emacs/files.texi b/doc/emacs/files.texi index 9310c44f1e6..894e61d0f04 100644 --- a/doc/emacs/files.texi +++ b/doc/emacs/files.texi | |||
| @@ -1569,10 +1569,11 @@ old meaning of the name @var{new} to be lost. If @var{old} and | |||
| 1569 | @var{new} are on different file systems, the file @var{old} is copied | 1569 | @var{new} are on different file systems, the file @var{old} is copied |
| 1570 | and deleted. If the argument @var{new} is just a directory name, the | 1570 | and deleted. If the argument @var{new} is just a directory name, the |
| 1571 | real new name is in that directory, with the same non-directory | 1571 | real new name is in that directory, with the same non-directory |
| 1572 | component as @var{old}. For example, @kbd{M-x rename-file RET ~/foo | 1572 | component as @var{old}. For example, @kbd{M-x rename-file @key{RET} |
| 1573 | RET /tmp RET} renames @file{~/foo} to @file{/tmp/foo}. The same rule | 1573 | ~/foo @key{RET} /tmp @key{RET}} renames @file{~/foo} to |
| 1574 | applies to all the remaining commands in this section. All of them | 1574 | @file{/tmp/foo}. The same rule applies to all the remaining commands |
| 1575 | ask for confirmation when the new file name already exists, too. | 1575 | in this section. All of them ask for confirmation when the new file |
| 1576 | name already exists, too. | ||
| 1576 | 1577 | ||
| 1577 | @ifnottex | 1578 | @ifnottex |
| 1578 | If a file is under version control (@pxref{Version Control}), you | 1579 | If a file is under version control (@pxref{Version Control}), you |
| @@ -1887,11 +1888,11 @@ then specifying @file{/tmp/foo*bar} will visit only | |||
| 1887 | @findex file-cache-minibuffer-complete | 1888 | @findex file-cache-minibuffer-complete |
| 1888 | You can use the @dfn{file name cache} to make it easy to locate a | 1889 | You can use the @dfn{file name cache} to make it easy to locate a |
| 1889 | file by name, without having to remember exactly where it is located. | 1890 | file by name, without having to remember exactly where it is located. |
| 1890 | When typing a file name in the minibuffer, @kbd{C-@key{tab}} | 1891 | When typing a file name in the minibuffer, @kbd{C-@key{TAB}} |
| 1891 | (@code{file-cache-minibuffer-complete}) completes it using the file | 1892 | (@code{file-cache-minibuffer-complete}) completes it using the file |
| 1892 | name cache. If you repeat @kbd{C-@key{tab}}, that cycles through the | 1893 | name cache. If you repeat @kbd{C-@key{TAB}}, that cycles through the |
| 1893 | possible completions of what you had originally typed. (However, note | 1894 | possible completions of what you had originally typed. (However, note |
| 1894 | that the @kbd{C-@key{tab}} character cannot be typed on most text | 1895 | that the @kbd{C-@key{TAB}} character cannot be typed on most text |
| 1895 | terminals.) | 1896 | terminals.) |
| 1896 | 1897 | ||
| 1897 | The file name cache does not fill up automatically. Instead, you | 1898 | The file name cache does not fill up automatically. Instead, you |
| @@ -1971,7 +1972,7 @@ previous image file in the same directory, respectively. | |||
| 1971 | @vindex image-animate-loop | 1972 | @vindex image-animate-loop |
| 1972 | @cindex image animation | 1973 | @cindex image animation |
| 1973 | @cindex animated images | 1974 | @cindex animated images |
| 1974 | If the image can be animated, the command @kbd{RET} | 1975 | If the image can be animated, the command @key{RET} |
| 1975 | (@code{image-toggle-animation}) starts or stops the animation. | 1976 | (@code{image-toggle-animation}) starts or stops the animation. |
| 1976 | Animation plays once, unless the option @code{image-animate-loop} is | 1977 | Animation plays once, unless the option @code{image-animate-loop} is |
| 1977 | non-@code{nil}. With @kbd{f} (@code{image-next-frame}) and @kbd{b} | 1978 | non-@code{nil}. With @kbd{f} (@code{image-next-frame}) and @kbd{b} |
| @@ -2024,7 +2025,7 @@ adds a @samp{Filesets} menu to the menu bar. | |||
| 2024 | @findex filesets-remove-buffer | 2025 | @findex filesets-remove-buffer |
| 2025 | The simplest way to define a fileset is by adding files to it one at | 2026 | The simplest way to define a fileset is by adding files to it one at |
| 2026 | a time. To add a file to fileset @var{name}, visit the file and type | 2027 | a time. To add a file to fileset @var{name}, visit the file and type |
| 2027 | @kbd{M-x filesets-add-buffer @kbd{RET} @var{name} @kbd{RET}}. If | 2028 | @kbd{M-x filesets-add-buffer @key{RET} @var{name} @key{RET}}. If |
| 2028 | there is no fileset @var{name}, this creates a new one, which | 2029 | there is no fileset @var{name}, this creates a new one, which |
| 2029 | initially contains only the current file. The command @kbd{M-x | 2030 | initially contains only the current file. The command @kbd{M-x |
| 2030 | filesets-remove-buffer} removes the current file from a fileset. | 2031 | filesets-remove-buffer} removes the current file from a fileset. |
diff --git a/doc/emacs/frames.texi b/doc/emacs/frames.texi index b9925e57f4a..8dd387b5fa0 100644 --- a/doc/emacs/frames.texi +++ b/doc/emacs/frames.texi | |||
| @@ -802,8 +802,8 @@ When a file or directory is expanded, the @samp{[+]} changes to | |||
| 802 | hiding its contents. | 802 | hiding its contents. |
| 803 | 803 | ||
| 804 | You navigate through the speedbar using the keyboard, too. Typing | 804 | You navigate through the speedbar using the keyboard, too. Typing |
| 805 | @kbd{RET} while point is on a line in the speedbar is equivalent to | 805 | @key{RET} while point is on a line in the speedbar is equivalent to |
| 806 | clicking the item on the current line, and @kbd{SPC} expands or | 806 | clicking the item on the current line, and @key{SPC} expands or |
| 807 | contracts the item. @kbd{U} displays the parent directory of the | 807 | contracts the item. @kbd{U} displays the parent directory of the |
| 808 | current directory. To copy, delete, or rename the file on the current | 808 | current directory. To copy, delete, or rename the file on the current |
| 809 | line, type @kbd{C}, @kbd{D}, and @kbd{R} respectively. To create a | 809 | line, type @kbd{C}, @kbd{D}, and @kbd{R} respectively. To create a |
diff --git a/doc/emacs/glossary.texi b/doc/emacs/glossary.texi index 4384a02cd6f..7d2194918fa 100644 --- a/doc/emacs/glossary.texi +++ b/doc/emacs/glossary.texi | |||
| @@ -26,10 +26,10 @@ When the mark is active, we call the region an active region. | |||
| 26 | 26 | ||
| 27 | @item Alt | 27 | @item Alt |
| 28 | Alt is the name of a modifier bit that a keyboard input character may | 28 | Alt is the name of a modifier bit that a keyboard input character may |
| 29 | have. To make a character Alt, type it while holding down the @key{ALT} | 29 | have. To make a character Alt, type it while holding down the @key{Alt} |
| 30 | key. Such characters are given names that start with @kbd{Alt-} | 30 | key. Such characters are given names that start with @kbd{@key{Alt}-} |
| 31 | (usually written @kbd{A-} for short). (Note that many terminals have a | 31 | (usually written @kbd{A-} for short). (Note that many terminals have a |
| 32 | key labeled @key{ALT} that is really a @key{META} key.) @xref{User | 32 | key labeled @key{Alt} that is really a @key{META} key.) @xref{User |
| 33 | Input, Alt}. | 33 | Input, Alt}. |
| 34 | 34 | ||
| 35 | @item Argument | 35 | @item Argument |
| @@ -269,8 +269,8 @@ lines. @xref{Continuation Lines}. A related Emacs feature is | |||
| 269 | 269 | ||
| 270 | @item Control Character | 270 | @item Control Character |
| 271 | A control character is a character that you type by holding down the | 271 | A control character is a character that you type by holding down the |
| 272 | @key{CTRL} key. Some control characters also have their own keys, so | 272 | @key{Ctrl} key. Some control characters also have their own keys, so |
| 273 | that you can type them without using @key{CTRL}. For example, | 273 | that you can type them without using @key{Ctrl}. For example, |
| 274 | @key{RET}, @key{TAB}, @key{ESC} and @key{DEL} are all control | 274 | @key{RET}, @key{TAB}, @key{ESC} and @key{DEL} are all control |
| 275 | characters. @xref{User Input}. | 275 | characters. @xref{User Input}. |
| 276 | 276 | ||
| @@ -284,8 +284,8 @@ around to empower users and encourage them to cooperate. | |||
| 284 | The particular form of copyleft used by the GNU project is called the | 284 | The particular form of copyleft used by the GNU project is called the |
| 285 | GNU General Public License. @xref{Copying}. | 285 | GNU General Public License. @xref{Copying}. |
| 286 | 286 | ||
| 287 | @item @key{CTRL} | 287 | @item @key{Ctrl} |
| 288 | The @key{CTRL} or ``control'' key is what you hold down | 288 | The @key{Ctrl} or ``control'' key is what you hold down |
| 289 | in order to enter a control character (q.v.). @xref{Glossary---C-}. | 289 | in order to enter a control character (q.v.). @xref{Glossary---C-}. |
| 290 | 290 | ||
| 291 | @item Current Buffer | 291 | @item Current Buffer |
| @@ -356,8 +356,8 @@ A defun is a major definition at the top level in a program. The name | |||
| 356 | 356 | ||
| 357 | @item @key{DEL} | 357 | @item @key{DEL} |
| 358 | @key{DEL} is a character that runs the command to delete one character | 358 | @key{DEL} is a character that runs the command to delete one character |
| 359 | of text before the cursor. It is typically either the @key{DELETE} | 359 | of text before the cursor. It is typically either the @key{Delete} |
| 360 | key or the @key{BACKSPACE} key, whichever one is easy to type. | 360 | key or the @key{Backspace} key, whichever one is easy to type. |
| 361 | @xref{Erasing,DEL}. | 361 | @xref{Erasing,DEL}. |
| 362 | 362 | ||
| 363 | @item Deletion | 363 | @item Deletion |
| @@ -687,7 +687,7 @@ changing any of its code. @xref{Hooks}. | |||
| 687 | @item Hyper | 687 | @item Hyper |
| 688 | Hyper is the name of a modifier bit that a keyboard input character may | 688 | Hyper is the name of a modifier bit that a keyboard input character may |
| 689 | have. To make a character Hyper, type it while holding down the | 689 | have. To make a character Hyper, type it while holding down the |
| 690 | @key{HYPER} key. Such characters are given names that start with | 690 | @key{Hyper} key. Such characters are given names that start with |
| 691 | @kbd{Hyper-} (usually written @kbd{H-} for short). @xref{User Input}. | 691 | @kbd{Hyper-} (usually written @kbd{H-} for short). @xref{User Input}. |
| 692 | 692 | ||
| 693 | @item Iff | 693 | @item Iff |
| @@ -842,7 +842,7 @@ A local value of a variable (q.v.@:) applies to only one buffer. | |||
| 842 | @xref{Locals}. | 842 | @xref{Locals}. |
| 843 | 843 | ||
| 844 | @item @kbd{M-} | 844 | @item @kbd{M-} |
| 845 | @kbd{M-} in the name of a character is an abbreviation for @key{META}, | 845 | @kbd{M-} in the name of a character is an abbreviation for @key{Meta}, |
| 846 | one of the modifier keys that can accompany any character. | 846 | one of the modifier keys that can accompany any character. |
| 847 | @xref{User Input,M-}. | 847 | @xref{User Input,M-}. |
| 848 | 848 | ||
| @@ -900,16 +900,16 @@ a keyboard interface to navigate it. @xref{Menu Bars}. | |||
| 900 | 900 | ||
| 901 | @item Meta | 901 | @item Meta |
| 902 | Meta is the name of a modifier bit which you can use in a command | 902 | Meta is the name of a modifier bit which you can use in a command |
| 903 | character. To enter a meta character, you hold down the @key{META} | 903 | character. To enter a meta character, you hold down the @key{Meta} |
| 904 | key while typing the character. We refer to such characters with | 904 | key while typing the character. We refer to such characters with |
| 905 | names that start with @kbd{Meta-} (usually written @kbd{M-} for | 905 | names that start with @kbd{Meta-} (usually written @kbd{M-} for |
| 906 | short). For example, @kbd{M-<} is typed by holding down @key{META} | 906 | short). For example, @kbd{M-<} is typed by holding down @key{Meta} |
| 907 | and at the same time typing @kbd{<} (which itself is done, on most | 907 | and at the same time typing @kbd{<} (which itself is done, on most |
| 908 | terminals, by holding down @key{SHIFT} and typing @kbd{,}). | 908 | terminals, by holding down @key{SHIFT} and typing @kbd{,}). |
| 909 | @xref{User Input,Meta}. | 909 | @xref{User Input,Meta}. |
| 910 | 910 | ||
| 911 | On some terminals, the @key{META} key is actually labeled @key{ALT} | 911 | On some terminals, the @key{Meta} key is actually labeled @key{Alt} |
| 912 | or @key{EDIT}. | 912 | or @key{Edit}. |
| 913 | 913 | ||
| 914 | @item Meta Character | 914 | @item Meta Character |
| 915 | A Meta character is one whose character code includes the Meta bit. | 915 | A Meta character is one whose character code includes the Meta bit. |
diff --git a/doc/emacs/help.texi b/doc/emacs/help.texi index 11694191f9c..19f0c41ec60 100644 --- a/doc/emacs/help.texi +++ b/doc/emacs/help.texi | |||
| @@ -378,7 +378,7 @@ alphabetical order, change the variable | |||
| 378 | 378 | ||
| 379 | Help buffers provide the same commands as View mode (@pxref{View | 379 | Help buffers provide the same commands as View mode (@pxref{View |
| 380 | Mode}); for instance, @key{SPC} scrolls forward, and @key{DEL} or | 380 | Mode}); for instance, @key{SPC} scrolls forward, and @key{DEL} or |
| 381 | @kbd{S-SPC} scrolls backward. A few special commands are also | 381 | @kbd{S-@key{SPC}} scrolls backward. A few special commands are also |
| 382 | provided: | 382 | provided: |
| 383 | 383 | ||
| 384 | @table @kbd | 384 | @table @kbd |
| @@ -553,13 +553,13 @@ Emacs Lisp Reference Manual}). | |||
| 553 | 553 | ||
| 554 | @findex describe-prefix-bindings | 554 | @findex describe-prefix-bindings |
| 555 | You can get a list of subcommands for a particular prefix key by | 555 | You can get a list of subcommands for a particular prefix key by |
| 556 | typing @kbd{C-h}, @kbd{?}, or @kbd{F1} | 556 | typing @kbd{C-h}, @kbd{?}, or @key{F1} |
| 557 | (@code{describe-prefix-bindings}) after the prefix key. (There are a | 557 | (@code{describe-prefix-bindings}) after the prefix key. (There are a |
| 558 | few prefix keys for which not all of these keys work---those that | 558 | few prefix keys for which not all of these keys work---those that |
| 559 | provide their own bindings for one of them. One of these prefix keys | 559 | provide their own bindings for one of them. One of these prefix keys |
| 560 | is @key{ESC} in combination with @kbd{C-h}, because @kbd{ESC C-h} is | 560 | is @key{ESC} in combination with @kbd{C-h}, because @kbd{@key{ESC} C-h} is |
| 561 | actually @kbd{C-M-h}, which marks a defun. However, @kbd{ESC F1} and | 561 | actually @kbd{C-M-h}, which marks a defun. However, @kbd{@key{ESC} @key{F1}} |
| 562 | @kbd{ESC ?} work fine.) | 562 | and @kbd{@key{ESC} ?} work fine.) |
| 563 | 563 | ||
| 564 | @node Help Files | 564 | @node Help Files |
| 565 | @section Help Files | 565 | @section Help Files |
diff --git a/doc/emacs/indent.texi b/doc/emacs/indent.texi index b254cfca43e..8340d1031ba 100644 --- a/doc/emacs/indent.texi +++ b/doc/emacs/indent.texi | |||
| @@ -127,9 +127,9 @@ in the region, moving the affected lines as a ``rigid'' unit. | |||
| 127 | 127 | ||
| 128 | If called with no argument, the command activates a transient mode for | 128 | If called with no argument, the command activates a transient mode for |
| 129 | adjusting the indentation of the affected lines interactively. While | 129 | adjusting the indentation of the affected lines interactively. While |
| 130 | this transient mode is active, typing @key{LEFT} or @key{RIGHT} | 130 | this transient mode is active, typing @key{left} or @key{right} |
| 131 | indents leftward and rightward, respectively, by one space. You can | 131 | indents leftward and rightward, respectively, by one space. You can |
| 132 | also type @kbd{S-@key{LEFT}} or @kbd{S-@key{RIGHT}} to indent leftward | 132 | also type @kbd{S-@key{left}} or @kbd{S-@key{right}} to indent leftward |
| 133 | or rightward to the next tab stop (@pxref{Tab Stops}). Typing any | 133 | or rightward to the next tab stop (@pxref{Tab Stops}). Typing any |
| 134 | other key disables the transient mode, and resumes normal editing. | 134 | other key disables the transient mode, and resumes normal editing. |
| 135 | 135 | ||
diff --git a/doc/emacs/killing.texi b/doc/emacs/killing.texi index 48d7f93396b..45dbd5727ac 100644 --- a/doc/emacs/killing.texi +++ b/doc/emacs/killing.texi | |||
| @@ -78,7 +78,7 @@ erase just one character or only whitespace. | |||
| 78 | 78 | ||
| 79 | @table @kbd | 79 | @table @kbd |
| 80 | @item @key{DEL} | 80 | @item @key{DEL} |
| 81 | @itemx @key{Backspace} | 81 | @itemx @key{BACKSPACE} |
| 82 | Delete the previous character, or the text in the region if it is | 82 | Delete the previous character, or the text in the region if it is |
| 83 | active (@code{delete-backward-char}). | 83 | active (@code{delete-backward-char}). |
| 84 | 84 | ||
| @@ -841,7 +841,7 @@ shifting the original text to the right. | |||
| 841 | 841 | ||
| 842 | @findex rectangle-mark-mode | 842 | @findex rectangle-mark-mode |
| 843 | @cindex rectangular region | 843 | @cindex rectangular region |
| 844 | The command @kbd{C-x SPC} (@code{rectangle-mark-mode}) makes a | 844 | The command @kbd{C-x @key{SPC}} (@code{rectangle-mark-mode}) makes a |
| 845 | @dfn{rectangular region}. It is a new feature introduced in GNU Emacs | 845 | @dfn{rectangular region}. It is a new feature introduced in GNU Emacs |
| 846 | 24.4, and most commands now are still unaware of it, but kill and yank | 846 | 24.4, and most commands now are still unaware of it, but kill and yank |
| 847 | (@pxref{Killing}) do work on the rectangle. | 847 | (@pxref{Killing}) do work on the rectangle. |
| @@ -879,9 +879,9 @@ behavior, set the variable @code{cua-delete-selection} to @code{nil}. | |||
| 879 | 879 | ||
| 880 | @cindex rectangle highlighting | 880 | @cindex rectangle highlighting |
| 881 | CUA mode provides enhanced rectangle support with visible | 881 | CUA mode provides enhanced rectangle support with visible |
| 882 | rectangle highlighting. Use @kbd{C-RET} to start a rectangle, | 882 | rectangle highlighting. Use @kbd{C-@key{RET}} to start a rectangle, |
| 883 | extend it using the movement commands, and cut or copy it using | 883 | extend it using the movement commands, and cut or copy it using |
| 884 | @kbd{C-x} or @kbd{C-c}. @kbd{RET} moves the cursor to the next | 884 | @kbd{C-x} or @kbd{C-c}. @key{RET} moves the cursor to the next |
| 885 | (clockwise) corner of the rectangle, so you can easily expand it in | 885 | (clockwise) corner of the rectangle, so you can easily expand it in |
| 886 | any direction. Normal text you type is inserted to the left or right | 886 | any direction. Normal text you type is inserted to the left or right |
| 887 | of each line in the rectangle (on the same side as the cursor). | 887 | of each line in the rectangle (on the same side as the cursor). |
| @@ -896,7 +896,7 @@ and yank commands, e.g., @kbd{C-1 C-c} copies the region into register | |||
| 896 | 896 | ||
| 897 | @cindex global mark | 897 | @cindex global mark |
| 898 | CUA mode also has a global mark feature which allows easy moving and | 898 | CUA mode also has a global mark feature which allows easy moving and |
| 899 | copying of text between buffers. Use @kbd{C-S-SPC} to toggle the | 899 | copying of text between buffers. Use @kbd{C-S-@key{SPC}} to toggle the |
| 900 | global mark on and off. When the global mark is on, all text that you | 900 | global mark on and off. When the global mark is on, all text that you |
| 901 | kill or copy is automatically inserted at the global mark, and text | 901 | kill or copy is automatically inserted at the global mark, and text |
| 902 | you type is inserted at the global mark rather than at the current | 902 | you type is inserted at the global mark rather than at the current |
diff --git a/doc/emacs/kmacro.texi b/doc/emacs/kmacro.texi index bc62faf7694..881c7ead933 100644 --- a/doc/emacs/kmacro.texi +++ b/doc/emacs/kmacro.texi | |||
| @@ -506,7 +506,7 @@ keyboard input that you would use to invoke the macro---@kbd{C-x e} or | |||
| 506 | @findex kmacro-step-edit-macro | 506 | @findex kmacro-step-edit-macro |
| 507 | @kindex C-x C-k SPC | 507 | @kindex C-x C-k SPC |
| 508 | You can interactively replay and edit the last keyboard | 508 | You can interactively replay and edit the last keyboard |
| 509 | macro, one command at a time, by typing @kbd{C-x C-k SPC} | 509 | macro, one command at a time, by typing @kbd{C-x C-k @key{SPC}} |
| 510 | (@code{kmacro-step-edit-macro}). Unless you quit the macro using | 510 | (@code{kmacro-step-edit-macro}). Unless you quit the macro using |
| 511 | @kbd{q} or @kbd{C-g}, the edited macro replaces the last macro on the | 511 | @kbd{q} or @kbd{C-g}, the edited macro replaces the last macro on the |
| 512 | macro ring. | 512 | macro ring. |
| @@ -518,15 +518,15 @@ options. These actions are available: | |||
| 518 | 518 | ||
| 519 | @itemize @bullet{} | 519 | @itemize @bullet{} |
| 520 | @item | 520 | @item |
| 521 | @kbd{SPC} and @kbd{y} execute the current command, and advance to the | 521 | @key{SPC} and @kbd{y} execute the current command, and advance to the |
| 522 | next command in the keyboard macro. | 522 | next command in the keyboard macro. |
| 523 | @item | 523 | @item |
| 524 | @kbd{n}, @kbd{d}, and @kbd{DEL} skip and delete the current command. | 524 | @kbd{n}, @kbd{d}, and @key{DEL} skip and delete the current command. |
| 525 | @item | 525 | @item |
| 526 | @kbd{f} skips the current command in this execution of the keyboard | 526 | @kbd{f} skips the current command in this execution of the keyboard |
| 527 | macro, but doesn't delete it from the macro. | 527 | macro, but doesn't delete it from the macro. |
| 528 | @item | 528 | @item |
| 529 | @kbd{@key{TAB}} executes the current command, as well as all similar | 529 | @key{TAB} executes the current command, as well as all similar |
| 530 | commands immediately following the current command; for example, @key{TAB} | 530 | commands immediately following the current command; for example, @key{TAB} |
| 531 | may be used to insert a sequence of characters (corresponding to a | 531 | may be used to insert a sequence of characters (corresponding to a |
| 532 | sequence of @code{self-insert-command} commands). | 532 | sequence of @code{self-insert-command} commands). |
| @@ -542,31 +542,31 @@ with the edited macro. | |||
| 542 | @kbd{q} and @kbd{C-g} cancels the step-editing of the keyboard macro; | 542 | @kbd{q} and @kbd{C-g} cancels the step-editing of the keyboard macro; |
| 543 | discarding any changes made to the keyboard macro. | 543 | discarding any changes made to the keyboard macro. |
| 544 | @item | 544 | @item |
| 545 | @kbd{i KEY... C-j} reads and executes a series of key sequences (not | 545 | @kbd{i @var{key}@dots{} C-j} reads and executes a series of key sequences (not |
| 546 | including the final @kbd{C-j}), and inserts them before the current | 546 | including the final @kbd{C-j}), and inserts them before the current |
| 547 | command in the keyboard macro, without advancing over the current | 547 | command in the keyboard macro, without advancing over the current |
| 548 | command. | 548 | command. |
| 549 | @item | 549 | @item |
| 550 | @kbd{I KEY...} reads one key sequence, executes it, and inserts it | 550 | @kbd{I @var{key}@dots{}} reads one key sequence, executes it, and inserts it |
| 551 | before the current command in the keyboard macro, without advancing | 551 | before the current command in the keyboard macro, without advancing |
| 552 | over the current command. | 552 | over the current command. |
| 553 | @item | 553 | @item |
| 554 | @kbd{r KEY... C-j} reads and executes a series of key sequences (not | 554 | @kbd{r @var{key}@dots{} C-j} reads and executes a series of key sequences (not |
| 555 | including the final @kbd{C-j}), and replaces the current command in | 555 | including the final @kbd{C-j}), and replaces the current command in |
| 556 | the keyboard macro with them, advancing over the inserted key | 556 | the keyboard macro with them, advancing over the inserted key |
| 557 | sequences. | 557 | sequences. |
| 558 | @item | 558 | @item |
| 559 | @kbd{R KEY...} reads one key sequence, executes it, and replaces the | 559 | @kbd{R @var{key}@dots{}} reads one key sequence, executes it, and replaces the |
| 560 | current command in the keyboard macro with that key sequence, | 560 | current command in the keyboard macro with that key sequence, |
| 561 | advancing over the inserted key sequence. | 561 | advancing over the inserted key sequence. |
| 562 | @item | 562 | @item |
| 563 | @kbd{a KEY... C-j} executes the current command, then reads and | 563 | @kbd{a @var{key}@dots{} C-j} executes the current command, then reads and |
| 564 | executes a series of key sequences (not including the final | 564 | executes a series of key sequences (not including the final |
| 565 | @kbd{C-j}), and inserts them after the current command in the keyboard | 565 | @kbd{C-j}), and inserts them after the current command in the keyboard |
| 566 | macro; it then advances over the current command and the inserted key | 566 | macro; it then advances over the current command and the inserted key |
| 567 | sequences. | 567 | sequences. |
| 568 | @item | 568 | @item |
| 569 | @kbd{A KEY... C-j} executes the rest of the commands in the keyboard | 569 | @kbd{A @var{key}@dots{} C-j} executes the rest of the commands in the keyboard |
| 570 | macro, then reads and executes a series of key sequences (not | 570 | macro, then reads and executes a series of key sequences (not |
| 571 | including the final @kbd{C-j}), and appends them at the end of the | 571 | including the final @kbd{C-j}), and appends them at the end of the |
| 572 | keyboard macro; it then terminates the step-editing and replaces the | 572 | keyboard macro; it then terminates the step-editing and replaces the |
diff --git a/doc/emacs/mini.texi b/doc/emacs/mini.texi index b575e4adbd3..8951c7dd5ee 100644 --- a/doc/emacs/mini.texi +++ b/doc/emacs/mini.texi | |||
| @@ -357,12 +357,12 @@ While in the completion list buffer, this chooses the completion at | |||
| 357 | point (@code{choose-completion}). | 357 | point (@code{choose-completion}). |
| 358 | 358 | ||
| 359 | @findex next-completion | 359 | @findex next-completion |
| 360 | @item @key{Right} | 360 | @item @key{right} |
| 361 | While in the completion list buffer, this moves point to the following | 361 | While in the completion list buffer, this moves point to the following |
| 362 | completion alternative (@code{next-completion}). | 362 | completion alternative (@code{next-completion}). |
| 363 | 363 | ||
| 364 | @findex previous-completion | 364 | @findex previous-completion |
| 365 | @item @key{Left} | 365 | @item @key{left} |
| 366 | While in the completion list buffer, this moves point to the previous | 366 | While in the completion list buffer, this moves point to the previous |
| 367 | completion alternative (@code{previous-completion}). | 367 | completion alternative (@code{previous-completion}). |
| 368 | @end table | 368 | @end table |
| @@ -587,11 +587,11 @@ argument into the minibuffer: | |||
| 587 | 587 | ||
| 588 | @table @kbd | 588 | @table @kbd |
| 589 | @item M-p | 589 | @item M-p |
| 590 | @itemx @key{Up} | 590 | @itemx @key{up} |
| 591 | Move to the previous item in the minibuffer history, an earlier | 591 | Move to the previous item in the minibuffer history, an earlier |
| 592 | argument (@code{previous-history-element}). | 592 | argument (@code{previous-history-element}). |
| 593 | @item M-n | 593 | @item M-n |
| 594 | @itemx @key{Down} | 594 | @itemx @key{down} |
| 595 | Move to the next item in the minibuffer history | 595 | Move to the next item in the minibuffer history |
| 596 | (@code{next-history-element}). | 596 | (@code{next-history-element}). |
| 597 | @item M-r @var{regexp} @key{RET} | 597 | @item M-r @var{regexp} @key{RET} |
| @@ -608,11 +608,11 @@ Move to a later item in the minibuffer history that matches | |||
| 608 | @kindex DOWN @r{(minibuffer history)} | 608 | @kindex DOWN @r{(minibuffer history)} |
| 609 | @findex next-history-element | 609 | @findex next-history-element |
| 610 | @findex previous-history-element | 610 | @findex previous-history-element |
| 611 | While in the minibuffer, @kbd{M-p} or @key{Up} | 611 | While in the minibuffer, @kbd{M-p} or @key{up} |
| 612 | (@code{previous-history-element}) moves through the minibuffer history | 612 | (@code{previous-history-element}) moves through the minibuffer history |
| 613 | list, one item at a time. Each @kbd{M-p} fetches an earlier item from | 613 | list, one item at a time. Each @kbd{M-p} fetches an earlier item from |
| 614 | the history list into the minibuffer, replacing its existing contents. | 614 | the history list into the minibuffer, replacing its existing contents. |
| 615 | Typing @kbd{M-n} or @key{Down} (@code{next-history-element}) moves | 615 | Typing @kbd{M-n} or @key{down} (@code{next-history-element}) moves |
| 616 | through the minibuffer history list in the opposite direction, | 616 | through the minibuffer history list in the opposite direction, |
| 617 | fetching later entries into the minibuffer. | 617 | fetching later entries into the minibuffer. |
| 618 | 618 | ||
diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index d444b6f8195..ce6f80618bd 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi | |||
| @@ -932,13 +932,13 @@ resubmit them or copy them to the end. Or you can use a | |||
| 932 | @findex comint-previous-input | 932 | @findex comint-previous-input |
| 933 | @kindex M-p @r{(Shell mode)} | 933 | @kindex M-p @r{(Shell mode)} |
| 934 | @item M-p | 934 | @item M-p |
| 935 | @itemx C-@key{UP} | 935 | @itemx C-@key{up} |
| 936 | Fetch the next earlier old shell command. | 936 | Fetch the next earlier old shell command. |
| 937 | 937 | ||
| 938 | @kindex M-n @r{(Shell mode)} | 938 | @kindex M-n @r{(Shell mode)} |
| 939 | @findex comint-next-input | 939 | @findex comint-next-input |
| 940 | @item M-n | 940 | @item M-n |
| 941 | @itemx C-@key{DOWN} | 941 | @itemx C-@key{down} |
| 942 | Fetch the next later old shell command. | 942 | Fetch the next later old shell command. |
| 943 | 943 | ||
| 944 | @kindex M-r @r{(Shell mode)} | 944 | @kindex M-r @r{(Shell mode)} |
| @@ -975,7 +975,7 @@ buffer. Successive use of @kbd{M-p} fetches successively earlier | |||
| 975 | shell commands, each replacing any text that was already present as | 975 | shell commands, each replacing any text that was already present as |
| 976 | potential shell input. @kbd{M-n} does likewise except that it finds | 976 | potential shell input. @kbd{M-n} does likewise except that it finds |
| 977 | successively more recent shell commands from the buffer. | 977 | successively more recent shell commands from the buffer. |
| 978 | @kbd{C-@key{UP}} works like @kbd{M-p}, and @kbd{C-@key{DOWN}} like | 978 | @kbd{C-@key{up}} works like @kbd{M-p}, and @kbd{C-@key{down}} like |
| 979 | @kbd{M-n}. | 979 | @kbd{M-n}. |
| 980 | 980 | ||
| 981 | The history search command @kbd{M-r} begins an incremental regular | 981 | The history search command @kbd{M-r} begins an incremental regular |
| @@ -999,8 +999,8 @@ can reexecute several successive commands by typing @kbd{C-c C-x | |||
| 999 | @key{RET}} over and over. | 999 | @key{RET}} over and over. |
| 1000 | 1000 | ||
| 1001 | The command @kbd{C-c .}@: (@code{comint-input-previous-argument}) | 1001 | The command @kbd{C-c .}@: (@code{comint-input-previous-argument}) |
| 1002 | copies an individual argument from a previous command, like @kbd{ESC | 1002 | copies an individual argument from a previous command, like |
| 1003 | .} in Bash. The simplest use copies the last argument from the | 1003 | @kbd{@key{ESC} .} in Bash. The simplest use copies the last argument from the |
| 1004 | previous shell command. With a prefix argument @var{n}, it copies the | 1004 | previous shell command. With a prefix argument @var{n}, it copies the |
| 1005 | @var{n}th argument instead. Repeating @kbd{C-c .} copies from an | 1005 | @var{n}th argument instead. Repeating @kbd{C-c .} copies from an |
| 1006 | earlier shell command instead, always using the same value of @var{n} | 1006 | earlier shell command instead, always using the same value of @var{n} |
| @@ -1918,11 +1918,11 @@ used. | |||
| 1918 | init file (@pxref{Init File}), followed by @code{(pr-update-menus)}. | 1918 | init file (@pxref{Init File}), followed by @code{(pr-update-menus)}. |
| 1919 | This function replaces the usual printing commands in the menu bar | 1919 | This function replaces the usual printing commands in the menu bar |
| 1920 | with a @samp{Printing} submenu that contains various printing options. | 1920 | with a @samp{Printing} submenu that contains various printing options. |
| 1921 | You can also type @kbd{M-x pr-interface RET}; this creates a | 1921 | You can also type @kbd{M-x pr-interface @key{RET}}; this creates a |
| 1922 | @file{*Printing Interface*} buffer, similar to a customization buffer, | 1922 | @file{*Printing Interface*} buffer, similar to a customization buffer, |
| 1923 | where you can set the printing options. After selecting what and how | 1923 | where you can set the printing options. After selecting what and how |
| 1924 | to print, you start the print job using the @samp{Print} button (click | 1924 | to print, you start the print job using the @samp{Print} button (click |
| 1925 | @kbd{mouse-2} on it, or move point over it and type @kbd{RET}). For | 1925 | @kbd{Mouse-2} on it, or move point over it and type @key{RET}). For |
| 1926 | further information on the various options, use the @samp{Interface | 1926 | further information on the various options, use the @samp{Interface |
| 1927 | Help} button. | 1927 | Help} button. |
| 1928 | 1928 | ||
diff --git a/doc/emacs/msdog-xtra.texi b/doc/emacs/msdog-xtra.texi index 5543926fafd..876be52282a 100644 --- a/doc/emacs/msdog-xtra.texi +++ b/doc/emacs/msdog-xtra.texi | |||
| @@ -53,13 +53,13 @@ about Emacs's special handling of text files under MS-DOS (and Windows). | |||
| 53 | The key that is called @key{DEL} in Emacs (because that's how it is | 53 | The key that is called @key{DEL} in Emacs (because that's how it is |
| 54 | designated on most workstations) is known as @key{BS} (backspace) on a | 54 | designated on most workstations) is known as @key{BS} (backspace) on a |
| 55 | PC@. That is why the PC-specific terminal initialization remaps the | 55 | PC@. That is why the PC-specific terminal initialization remaps the |
| 56 | @key{BS} key to act as @key{DEL}; the @key{DELETE} key is remapped to act | 56 | @key{BS} key to act as @key{DEL}; the @key{Delete} key is remapped to act |
| 57 | as @kbd{C-d} for the same reasons. | 57 | as @kbd{C-d} for the same reasons. |
| 58 | 58 | ||
| 59 | @kindex C-g @r{(MS-DOS)} | 59 | @kindex C-g @r{(MS-DOS)} |
| 60 | @kindex C-BREAK @r{(MS-DOS)} | 60 | @kindex C-Break @r{(MS-DOS)} |
| 61 | @cindex quitting on MS-DOS | 61 | @cindex quitting on MS-DOS |
| 62 | Emacs built for MS-DOS recognizes @kbd{C-@key{BREAK}} as a quit | 62 | Emacs built for MS-DOS recognizes @kbd{C-@key{Break}} as a quit |
| 63 | character, just like @kbd{C-g}. This is because Emacs cannot detect | 63 | character, just like @kbd{C-g}. This is because Emacs cannot detect |
| 64 | that you have typed @kbd{C-g} until it is ready for more input. As a | 64 | that you have typed @kbd{C-g} until it is ready for more input. As a |
| 65 | consequence, you cannot use @kbd{C-g} to stop a running command | 65 | consequence, you cannot use @kbd{C-g} to stop a running command |
| @@ -69,7 +69,7 @@ consequence, you cannot use @kbd{C-g} to stop a running command | |||
| 69 | @ifnottex | 69 | @ifnottex |
| 70 | (@pxref{Quitting}). | 70 | (@pxref{Quitting}). |
| 71 | @end ifnottex | 71 | @end ifnottex |
| 72 | By contrast, @kbd{C-@key{BREAK}} @emph{is} detected as soon as you | 72 | By contrast, @kbd{C-@key{Break}} @emph{is} detected as soon as you |
| 73 | type it (as @kbd{C-g} is on other systems), so it can be used to stop | 73 | type it (as @kbd{C-g} is on other systems), so it can be used to stop |
| 74 | a running command and for emergency escape | 74 | a running command and for emergency escape |
| 75 | @iftex | 75 | @iftex |
| @@ -84,17 +84,17 @@ a running command and for emergency escape | |||
| 84 | @cindex Super (under MS-DOS) | 84 | @cindex Super (under MS-DOS) |
| 85 | @vindex dos-super-key | 85 | @vindex dos-super-key |
| 86 | @vindex dos-hyper-key | 86 | @vindex dos-hyper-key |
| 87 | The PC keyboard maps use the left @key{ALT} key as the @key{META} key. | 87 | The PC keyboard maps use the left @key{Alt} key as the @key{META} key. |
| 88 | You have two choices for emulating the @key{SUPER} and @key{HYPER} keys: | 88 | You have two choices for emulating the @key{SUPER} and @key{HYPER} keys: |
| 89 | choose either the right @key{CTRL} key or the right @key{ALT} key by | 89 | choose either the right @key{Ctrl} key or the right @key{Alt} key by |
| 90 | setting the variables @code{dos-hyper-key} and @code{dos-super-key} to 1 | 90 | setting the variables @code{dos-hyper-key} and @code{dos-super-key} to 1 |
| 91 | or 2 respectively. If neither @code{dos-super-key} nor | 91 | or 2 respectively. If neither @code{dos-super-key} nor |
| 92 | @code{dos-hyper-key} is 1, then by default the right @key{ALT} key is | 92 | @code{dos-hyper-key} is 1, then by default the right @key{Alt} key is |
| 93 | also mapped to the @key{META} key. However, if the MS-DOS international | 93 | also mapped to the @key{META} key. However, if the MS-DOS international |
| 94 | keyboard support program @file{KEYB.COM} is installed, Emacs will | 94 | keyboard support program @file{KEYB.COM} is installed, Emacs will |
| 95 | @emph{not} map the right @key{ALT} to @key{META}, since it is used for | 95 | @emph{not} map the right @key{Alt} to @key{META}, since it is used for |
| 96 | accessing characters like @kbd{~} and @kbd{@@} on non-US keyboard | 96 | accessing characters like @kbd{~} and @kbd{@@} on non-US keyboard |
| 97 | layouts; in this case, you may only use the left @key{ALT} as @key{META} | 97 | layouts; in this case, you may only use the left @key{Alt} as @key{META} |
| 98 | key. | 98 | key. |
| 99 | 99 | ||
| 100 | @kindex C-j @r{(MS-DOS)} | 100 | @kindex C-j @r{(MS-DOS)} |
| @@ -398,11 +398,11 @@ though they are connected to a Windows machine that uses a different | |||
| 398 | encoding for the same locale. For example, in the Latin-1 locale, DOS | 398 | encoding for the same locale. For example, in the Latin-1 locale, DOS |
| 399 | uses codepage 850 whereas Windows uses codepage 1252. @xref{MS-DOS and | 399 | uses codepage 850 whereas Windows uses codepage 1252. @xref{MS-DOS and |
| 400 | MULE}. When you print to such printers from Windows, you can use the | 400 | MULE}. When you print to such printers from Windows, you can use the |
| 401 | @kbd{C-x RET c} (@code{universal-coding-system-argument}) command before | 401 | @kbd{C-x @key{RET} c} (@code{universal-coding-system-argument}) command |
| 402 | @kbd{M-x lpr-buffer}; Emacs will then convert the text to the DOS | 402 | before @kbd{M-x lpr-buffer}; Emacs will then convert the text to the DOS |
| 403 | codepage that you specify. For example, @kbd{C-x RET c cp850-dos RET | 403 | codepage that you specify. For example, |
| 404 | M-x lpr-region RET} will print the region while converting it to the | 404 | @kbd{C-x @key{RET} c cp850-dos @key{RET} M-x lpr-region @key{RET}} |
| 405 | codepage 850 encoding. | 405 | will print the region while converting it to the codepage 850 encoding. |
| 406 | 406 | ||
| 407 | @vindex dos-printer | 407 | @vindex dos-printer |
| 408 | @vindex dos-ps-printer | 408 | @vindex dos-ps-printer |
| @@ -597,7 +597,7 @@ work in MS-DOS by sending the output to one of the printer ports. | |||
| 597 | program terminates and does not try to read keyboard input. If the | 597 | program terminates and does not try to read keyboard input. If the |
| 598 | program does not terminate on its own, you will be unable to terminate | 598 | program does not terminate on its own, you will be unable to terminate |
| 599 | it, because MS-DOS provides no general way to terminate a process. | 599 | it, because MS-DOS provides no general way to terminate a process. |
| 600 | Pressing @kbd{C-c} or @kbd{C-@key{BREAK}} might sometimes help in these | 600 | Pressing @kbd{C-c} or @kbd{C-@key{Break}} might sometimes help in these |
| 601 | cases. | 601 | cases. |
| 602 | 602 | ||
| 603 | Accessing files on other machines is not supported on MS-DOS@. Other | 603 | Accessing files on other machines is not supported on MS-DOS@. Other |
diff --git a/doc/emacs/msdog.texi b/doc/emacs/msdog.texi index 7708b8fe860..4787f98c7ed 100644 --- a/doc/emacs/msdog.texi +++ b/doc/emacs/msdog.texi | |||
| @@ -479,7 +479,7 @@ the variable @code{w32-alt-is-meta} to a @code{nil} value. | |||
| 479 | @findex w32-register-hot-key | 479 | @findex w32-register-hot-key |
| 480 | @findex w32-unregister-hot-key | 480 | @findex w32-unregister-hot-key |
| 481 | MS-Windows reserves certain key combinations, such as | 481 | MS-Windows reserves certain key combinations, such as |
| 482 | @kbd{Alt-@key{TAB}}, for its own use. These key combinations are | 482 | @kbd{@key{Alt}-@key{TAB}}, for its own use. These key combinations are |
| 483 | intercepted by the system before Emacs can see them. You can use the | 483 | intercepted by the system before Emacs can see them. You can use the |
| 484 | @code{w32-register-hot-key} function to allow a key sequence to be | 484 | @code{w32-register-hot-key} function to allow a key sequence to be |
| 485 | seen by Emacs instead of being grabbed by Windows. This function | 485 | seen by Emacs instead of being grabbed by Windows. This function |
| @@ -491,7 +491,7 @@ other Windows applications.) | |||
| 491 | 491 | ||
| 492 | The argument to @code{w32-register-hot-key} must be a single key, | 492 | The argument to @code{w32-register-hot-key} must be a single key, |
| 493 | with or without modifiers, in vector form that would be acceptable to | 493 | with or without modifiers, in vector form that would be acceptable to |
| 494 | @code{define-key}. The meta modifier is interpreted as the @key{ALT} | 494 | @code{define-key}. The meta modifier is interpreted as the @key{Alt} |
| 495 | key if @code{w32-alt-is-meta} is @code{t} (the default), and the hyper | 495 | key if @code{w32-alt-is-meta} is @code{t} (the default), and the hyper |
| 496 | modifier is always interpreted as the Windows key (usually labeled | 496 | modifier is always interpreted as the Windows key (usually labeled |
| 497 | with @key{start} and the Windows logo). If the function succeeds in | 497 | with @key{start} and the Windows logo). If the function succeeds in |
| @@ -499,10 +499,10 @@ registering the key sequence, it returns the hotkey ID, a number; | |||
| 499 | otherwise it returns @code{nil}. | 499 | otherwise it returns @code{nil}. |
| 500 | 500 | ||
| 501 | @kindex M-TAB@r{, (MS-Windows)} | 501 | @kindex M-TAB@r{, (MS-Windows)} |
| 502 | @cindex @kbd{M-@key{TAB}} vs @kbd{Alt-@key{TAB}} (MS-Windows) | 502 | @cindex @kbd{M-@key{TAB}} vs @kbd{@key{Alt}-@key{TAB}} (MS-Windows) |
| 503 | @cindex @kbd{Alt-@key{TAB}} vs @kbd{M-@key{TAB}} (MS-Windows) | 503 | @cindex @kbd{@key{Alt}-@key{TAB}} vs @kbd{M-@key{TAB}} (MS-Windows) |
| 504 | For example, @code{(w32-register-hot-key [M-tab])} lets you use | 504 | For example, @code{(w32-register-hot-key [M-tab])} lets you use |
| 505 | @kbd{M-TAB} normally in Emacs; for instance, to complete the word or | 505 | @kbd{M-@key{TAB}} normally in Emacs; for instance, to complete the word or |
| 506 | symbol at point at top level, or to complete the current search string | 506 | symbol at point at top level, or to complete the current search string |
| 507 | against previously sought strings during incremental search. | 507 | against previously sought strings during incremental search. |
| 508 | 508 | ||
| @@ -558,14 +558,14 @@ produces the symbol @code{scroll}. | |||
| 558 | @cindex Windows system menu | 558 | @cindex Windows system menu |
| 559 | @cindex @code{Alt} key invokes menu (Windows) | 559 | @cindex @code{Alt} key invokes menu (Windows) |
| 560 | Emacs compiled as a native Windows application normally turns off | 560 | Emacs compiled as a native Windows application normally turns off |
| 561 | the Windows feature that tapping the @key{ALT} key invokes the Windows | 561 | the Windows feature that tapping the @key{Alt} key invokes the Windows |
| 562 | menu. The reason is that the @key{ALT} serves as @key{META} in Emacs. | 562 | menu. The reason is that the @key{Alt} serves as @key{META} in Emacs. |
| 563 | When using Emacs, users often press the @key{META} key temporarily and | 563 | When using Emacs, users often press the @key{META} key temporarily and |
| 564 | then change their minds; if this has the effect of bringing up the | 564 | then change their minds; if this has the effect of bringing up the |
| 565 | Windows menu, it alters the meaning of subsequent commands. Many | 565 | Windows menu, it alters the meaning of subsequent commands. Many |
| 566 | users find this frustrating. | 566 | users find this frustrating. |
| 567 | 567 | ||
| 568 | You can re-enable Windows's default handling of tapping the @key{ALT} | 568 | You can re-enable Windows's default handling of tapping the @key{Alt} |
| 569 | key by setting @code{w32-pass-alt-to-system} to a non-@code{nil} | 569 | key by setting @code{w32-pass-alt-to-system} to a non-@code{nil} |
| 570 | value. | 570 | value. |
| 571 | 571 | ||
| @@ -595,7 +595,7 @@ the combination of the right @key{Alt} and left @key{Ctrl} keys | |||
| 595 | pressed together, is recognized as the @key{AltGr} key. The default | 595 | pressed together, is recognized as the @key{AltGr} key. The default |
| 596 | is @code{t}, which means these keys produce @code{AltGr}; setting it | 596 | is @code{t}, which means these keys produce @code{AltGr}; setting it |
| 597 | to @code{nil} causes @key{AltGr} or the equivalent key combination to | 597 | to @code{nil} causes @key{AltGr} or the equivalent key combination to |
| 598 | be interpreted as the combination of @key{CTRL} and @key{META} | 598 | be interpreted as the combination of @key{Ctrl} and @key{META} |
| 599 | modifiers. | 599 | modifiers. |
| 600 | @end ifnottex | 600 | @end ifnottex |
| 601 | 601 | ||
| @@ -674,7 +674,7 @@ subprocesses). | |||
| 674 | 674 | ||
| 675 | If you have to reboot Windows 9X in this situation, do not use the | 675 | If you have to reboot Windows 9X in this situation, do not use the |
| 676 | @code{Shutdown} command on the @code{Start} menu; that usually hangs the | 676 | @code{Shutdown} command on the @code{Start} menu; that usually hangs the |
| 677 | system. Instead, type @kbd{CTL-ALT-@key{DEL}} and then choose | 677 | system. Instead, type @kbd{@key{Ctrl}-@key{Alt}-@key{DEL}} and then choose |
| 678 | @code{Shutdown}. That usually works, although it may take a few minutes | 678 | @code{Shutdown}. That usually works, although it may take a few minutes |
| 679 | to do its job. | 679 | to do its job. |
| 680 | 680 | ||
diff --git a/doc/emacs/mule.texi b/doc/emacs/mule.texi index 217d0af8fc4..839bd95ae5e 100644 --- a/doc/emacs/mule.texi +++ b/doc/emacs/mule.texi | |||
| @@ -1671,11 +1671,11 @@ use these keys; they should simply work. On a text terminal, you | |||
| 1671 | should use the command @code{M-x set-keyboard-coding-system} or customize the | 1671 | should use the command @code{M-x set-keyboard-coding-system} or customize the |
| 1672 | variable @code{keyboard-coding-system} to specify which coding system | 1672 | variable @code{keyboard-coding-system} to specify which coding system |
| 1673 | your keyboard uses (@pxref{Terminal Coding}). Enabling this feature | 1673 | your keyboard uses (@pxref{Terminal Coding}). Enabling this feature |
| 1674 | will probably require you to use @kbd{ESC} to type Meta characters; | 1674 | will probably require you to use @key{ESC} to type Meta characters; |
| 1675 | however, on a console terminal or in @code{xterm}, you can arrange for | 1675 | however, on a console terminal or in @code{xterm}, you can arrange for |
| 1676 | Meta to be converted to @kbd{ESC} and still be able type 8-bit | 1676 | Meta to be converted to @key{ESC} and still be able type 8-bit |
| 1677 | characters present directly on the keyboard or using @kbd{Compose} or | 1677 | characters present directly on the keyboard or using @key{Compose} or |
| 1678 | @kbd{AltGr} keys. @xref{User Input}. | 1678 | @key{AltGr} keys. @xref{User Input}. |
| 1679 | 1679 | ||
| 1680 | @kindex C-x 8 | 1680 | @kindex C-x 8 |
| 1681 | @cindex @code{iso-transl} library | 1681 | @cindex @code{iso-transl} library |
| @@ -1689,8 +1689,8 @@ well as other buffers), for searching, and in any other context where | |||
| 1689 | a key sequence is allowed. | 1689 | a key sequence is allowed. |
| 1690 | 1690 | ||
| 1691 | @kbd{C-x 8} works by loading the @code{iso-transl} library. Once that | 1691 | @kbd{C-x 8} works by loading the @code{iso-transl} library. Once that |
| 1692 | library is loaded, the @key{ALT} modifier key, if the keyboard has | 1692 | library is loaded, the @key{Alt} modifier key, if the keyboard has |
| 1693 | one, serves the same purpose as @kbd{C-x 8}: use @key{ALT} together | 1693 | one, serves the same purpose as @kbd{C-x 8}: use @key{Alt} together |
| 1694 | with an accent character to modify the following letter. In addition, | 1694 | with an accent character to modify the following letter. In addition, |
| 1695 | if the keyboard has keys for the Latin-1 ``dead accent characters'', | 1695 | if the keyboard has keys for the Latin-1 ``dead accent characters'', |
| 1696 | they too are defined to compose with the following character, once | 1696 | they too are defined to compose with the following character, once |
| @@ -1815,7 +1815,7 @@ inserting special formatting characters in front of the paragraph. | |||
| 1815 | The special character @code{RIGHT-TO-LEFT MARK}, or @sc{rlm}, forces | 1815 | The special character @code{RIGHT-TO-LEFT MARK}, or @sc{rlm}, forces |
| 1816 | the right-to-left direction on the following paragraph, while | 1816 | the right-to-left direction on the following paragraph, while |
| 1817 | @code{LEFT-TO-RIGHT MARK}, or @sc{lrm} forces the left-to-right | 1817 | @code{LEFT-TO-RIGHT MARK}, or @sc{lrm} forces the left-to-right |
| 1818 | direction. (You can use @kbd{C-x 8 RET} to insert these characters.) | 1818 | direction. (You can use @kbd{C-x 8 @key{RET}} to insert these characters.) |
| 1819 | In a GUI session, the @sc{lrm} and @sc{rlm} characters display as very | 1819 | In a GUI session, the @sc{lrm} and @sc{rlm} characters display as very |
| 1820 | thin blank characters; on text terminals they display as blanks. | 1820 | thin blank characters; on text terminals they display as blanks. |
| 1821 | 1821 | ||
diff --git a/doc/emacs/picture-xtra.texi b/doc/emacs/picture-xtra.texi index ba36faad709..724f1bc3a0c 100644 --- a/doc/emacs/picture-xtra.texi +++ b/doc/emacs/picture-xtra.texi | |||
| @@ -151,26 +151,26 @@ character. This is useful for drawing lines in the buffer. | |||
| 151 | 151 | ||
| 152 | @table @kbd | 152 | @table @kbd |
| 153 | @item C-c < | 153 | @item C-c < |
| 154 | @itemx C-c @key{LEFT} | 154 | @itemx C-c @key{left} |
| 155 | Move left after insertion (@code{picture-movement-left}). | 155 | Move left after insertion (@code{picture-movement-left}). |
| 156 | @item C-c > | 156 | @item C-c > |
| 157 | @itemx C-c @key{RIGHT} | 157 | @itemx C-c @key{right} |
| 158 | Move right after insertion (@code{picture-movement-right}). | 158 | Move right after insertion (@code{picture-movement-right}). |
| 159 | @item C-c ^ | 159 | @item C-c ^ |
| 160 | @itemx C-c @key{UP} | 160 | @itemx C-c @key{up} |
| 161 | Move up after insertion (@code{picture-movement-up}). | 161 | Move up after insertion (@code{picture-movement-up}). |
| 162 | @item C-c . | 162 | @item C-c . |
| 163 | @itemx C-c @key{DOWN} | 163 | @itemx C-c @key{down} |
| 164 | Move down after insertion (@code{picture-movement-down}). | 164 | Move down after insertion (@code{picture-movement-down}). |
| 165 | @item C-c ` | 165 | @item C-c ` |
| 166 | @itemx C-c @key{HOME} | 166 | @itemx C-c @key{Home} |
| 167 | Move up and left (``northwest'') after insertion (@code{picture-movement-nw}). | 167 | Move up and left (``northwest'') after insertion (@code{picture-movement-nw}). |
| 168 | @item C-c ' | 168 | @item C-c ' |
| 169 | @itemx C-c @key{prior} | 169 | @itemx C-c @key{prior} |
| 170 | Move up and right (``northeast'') after insertion | 170 | Move up and right (``northeast'') after insertion |
| 171 | (@code{picture-movement-ne}). | 171 | (@code{picture-movement-ne}). |
| 172 | @item C-c / | 172 | @item C-c / |
| 173 | @itemx C-c @key{END} | 173 | @itemx C-c @key{End} |
| 174 | Move down and left (``southwest'') after insertion | 174 | Move down and left (``southwest'') after insertion |
| 175 | @*(@code{picture-movement-sw}). | 175 | @*(@code{picture-movement-sw}). |
| 176 | @item C-c \ | 176 | @item C-c \ |
diff --git a/doc/emacs/programs.texi b/doc/emacs/programs.texi index 55031e673dc..82bde754909 100644 --- a/doc/emacs/programs.texi +++ b/doc/emacs/programs.texi | |||
| @@ -1675,12 +1675,12 @@ preprocessor commands. | |||
| 1675 | Delete the entire block of whitespace preceding point (@code{c-hungry-delete-backwards}). | 1675 | Delete the entire block of whitespace preceding point (@code{c-hungry-delete-backwards}). |
| 1676 | 1676 | ||
| 1677 | @item C-c C-d | 1677 | @item C-c C-d |
| 1678 | @itemx C-c C-@key{DELETE} | 1678 | @itemx C-c C-@key{Delete} |
| 1679 | @itemx C-c @key{DELETE} | 1679 | @itemx C-c @key{Delete} |
| 1680 | @findex c-hungry-delete-forward | 1680 | @findex c-hungry-delete-forward |
| 1681 | @kindex C-c C-d (C Mode) | 1681 | @kindex C-c C-d (C Mode) |
| 1682 | @kindex C-c C-@key{DELETE} (C Mode) | 1682 | @kindex C-c C-@key{Delete} (C Mode) |
| 1683 | @kindex C-c @key{DELETE} (C Mode) | 1683 | @kindex C-c @key{Delete} (C Mode) |
| 1684 | Delete the entire block of whitespace after point (@code{c-hungry-delete-forward}). | 1684 | Delete the entire block of whitespace after point (@code{c-hungry-delete-forward}). |
| 1685 | @end table | 1685 | @end table |
| 1686 | 1686 | ||
| @@ -1688,7 +1688,7 @@ Delete the entire block of whitespace after point (@code{c-hungry-delete-forward | |||
| 1688 | delete mode}. When this feature is enabled (indicated by @samp{/h} in | 1688 | delete mode}. When this feature is enabled (indicated by @samp{/h} in |
| 1689 | the mode line after the mode name), a single @key{DEL} deletes all | 1689 | the mode line after the mode name), a single @key{DEL} deletes all |
| 1690 | preceding whitespace, not just one space, and a single @kbd{C-c C-d} | 1690 | preceding whitespace, not just one space, and a single @kbd{C-c C-d} |
| 1691 | (but @emph{not} plain @key{DELETE}) deletes all following whitespace. | 1691 | (but @emph{not} plain @key{Delete}) deletes all following whitespace. |
| 1692 | 1692 | ||
| 1693 | @table @kbd | 1693 | @table @kbd |
| 1694 | @item M-x c-toggle-hungry-state | 1694 | @item M-x c-toggle-hungry-state |
| @@ -1717,7 +1717,7 @@ inserts a @samp{\} at the line break, and within comments it's like | |||
| 1717 | 1717 | ||
| 1718 | @code{c-context-line-break} isn't bound to a key by default, but it | 1718 | @code{c-context-line-break} isn't bound to a key by default, but it |
| 1719 | needs a binding to be useful. The following code will bind it to | 1719 | needs a binding to be useful. The following code will bind it to |
| 1720 | @kbd{RET}. We use @code{c-initialization-hook} here to make sure | 1720 | @key{RET}. We use @code{c-initialization-hook} here to make sure |
| 1721 | the keymap is loaded before we try to change it. | 1721 | the keymap is loaded before we try to change it. |
| 1722 | 1722 | ||
| 1723 | @example | 1723 | @example |
diff --git a/doc/emacs/rmail.texi b/doc/emacs/rmail.texi index 2f823a757fe..6ba252393f6 100644 --- a/doc/emacs/rmail.texi +++ b/doc/emacs/rmail.texi | |||
| @@ -101,7 +101,7 @@ frequent that it deserves to be easier. | |||
| 101 | @item @key{SPC} | 101 | @item @key{SPC} |
| 102 | Scroll forward (@code{scroll-up-command}). | 102 | Scroll forward (@code{scroll-up-command}). |
| 103 | @item @key{DEL} | 103 | @item @key{DEL} |
| 104 | @itemx @key{S-SPC} | 104 | @itemx S-@key{SPC} |
| 105 | Scroll backward (@code{scroll-down-command}). | 105 | Scroll backward (@code{scroll-down-command}). |
| 106 | @item . | 106 | @item . |
| 107 | Scroll to start of message (@code{rmail-beginning-of-message}). | 107 | Scroll to start of message (@code{rmail-beginning-of-message}). |
diff --git a/doc/emacs/screen.texi b/doc/emacs/screen.texi index 13a4c922c4d..d26b3bb49ff 100644 --- a/doc/emacs/screen.texi +++ b/doc/emacs/screen.texi | |||
| @@ -123,7 +123,7 @@ beeping or by flashing the screen. | |||
| 123 | you what the command has done, or to provide you with some specific | 123 | you what the command has done, or to provide you with some specific |
| 124 | information. These @dfn{informative} messages, unlike error messages, | 124 | information. These @dfn{informative} messages, unlike error messages, |
| 125 | are not accompanied with a beep or flash. For example, @kbd{C-x =} | 125 | are not accompanied with a beep or flash. For example, @kbd{C-x =} |
| 126 | (hold down @key{CTRL} and type @kbd{x}, then let go of @key{CTRL} and | 126 | (hold down @key{Ctrl} and type @kbd{x}, then let go of @key{Ctrl} and |
| 127 | type @kbd{=}) displays a message describing the character at point, | 127 | type @kbd{=}) displays a message describing the character at point, |
| 128 | its position in the buffer, and its current column in the window. | 128 | its position in the buffer, and its current column in the window. |
| 129 | Commands that take a long time often display messages ending in | 129 | Commands that take a long time often display messages ending in |
| @@ -304,7 +304,7 @@ the usual way (@pxref{Key Help}). | |||
| 304 | item by pressing @key{F10} (to run the command @code{menu-bar-open}). | 304 | item by pressing @key{F10} (to run the command @code{menu-bar-open}). |
| 305 | You can then navigate the menus with the arrow keys. To activate a | 305 | You can then navigate the menus with the arrow keys. To activate a |
| 306 | selected menu item, press @key{RET}; to cancel menu navigation, press | 306 | selected menu item, press @key{RET}; to cancel menu navigation, press |
| 307 | @kbd{C-g} or @kbd{ESC ESC ESC}. | 307 | @kbd{C-g} or @kbd{@key{ESC} @key{ESC} @key{ESC}}. |
| 308 | 308 | ||
| 309 | @findex tmm-menubar | 309 | @findex tmm-menubar |
| 310 | @vindex tty-menu-open-use-tmm | 310 | @vindex tty-menu-open-use-tmm |
diff --git a/doc/emacs/search.texi b/doc/emacs/search.texi index 99a05313890..5331f7da1b9 100644 --- a/doc/emacs/search.texi +++ b/doc/emacs/search.texi | |||
| @@ -233,7 +233,7 @@ search string to a regular expression specified by the variable | |||
| 233 | sequences of newlines as well as spaces, set it to | 233 | sequences of newlines as well as spaces, set it to |
| 234 | @samp{"[[:space:]\n]+"}. | 234 | @samp{"[[:space:]\n]+"}. |
| 235 | 235 | ||
| 236 | To toggle lax space matching, type @kbd{M-s SPC} | 236 | To toggle lax space matching, type @kbd{M-s @key{SPC}} |
| 237 | (@code{isearch-toggle-lax-whitespace}). To disable this feature | 237 | (@code{isearch-toggle-lax-whitespace}). To disable this feature |
| 238 | entirely, change @code{search-whitespace-regexp} to @code{nil}; then | 238 | entirely, change @code{search-whitespace-regexp} to @code{nil}; then |
| 239 | each space in the search string matches exactly one space. | 239 | each space in the search string matches exactly one space. |
| @@ -261,7 +261,7 @@ Type @kbd{C-q}, followed by a non-graphic character or a sequence of | |||
| 261 | octal digits. This adds a character to the search string, similar to | 261 | octal digits. This adds a character to the search string, similar to |
| 262 | inserting into a buffer using @kbd{C-q} (@pxref{Inserting Text}). For | 262 | inserting into a buffer using @kbd{C-q} (@pxref{Inserting Text}). For |
| 263 | example, @kbd{C-q C-s} during incremental search adds the | 263 | example, @kbd{C-q C-s} during incremental search adds the |
| 264 | @key{control-S} character to the search string. | 264 | @samp{control-S} character to the search string. |
| 265 | 265 | ||
| 266 | @item | 266 | @item |
| 267 | Type @kbd{C-x 8 @key{RET}}, followed by a Unicode name or code-point. | 267 | Type @kbd{C-x 8 @key{RET}}, followed by a Unicode name or code-point. |
| @@ -605,7 +605,7 @@ They also have separate search rings, which you can access with | |||
| 605 | Just as in ordinary incremental search, any @key{SPC} typed in | 605 | Just as in ordinary incremental search, any @key{SPC} typed in |
| 606 | incremental regexp search matches any sequence of one or more | 606 | incremental regexp search matches any sequence of one or more |
| 607 | whitespace characters. The variable @code{search-whitespace-regexp} | 607 | whitespace characters. The variable @code{search-whitespace-regexp} |
| 608 | specifies the regexp for the lax space matching, and @kbd{M-s SPC} | 608 | specifies the regexp for the lax space matching, and @kbd{M-s @key{SPC}} |
| 609 | (@code{isearch-toggle-lax-whitespace}) toggles the feature. | 609 | (@code{isearch-toggle-lax-whitespace}) toggles the feature. |
| 610 | @xref{Special Isearch}. | 610 | @xref{Special Isearch}. |
| 611 | 611 | ||
diff --git a/doc/emacs/text.texi b/doc/emacs/text.texi index 9eb8f467883..cebbdf9d95b 100644 --- a/doc/emacs/text.texi +++ b/doc/emacs/text.texi | |||
| @@ -116,7 +116,7 @@ cognate to @kbd{C-@@}, which is an alias for @kbd{C-@key{SPC}}. | |||
| 116 | @findex backward-word | 116 | @findex backward-word |
| 117 | The commands @kbd{M-f} (@code{forward-word}) and @kbd{M-b} | 117 | The commands @kbd{M-f} (@code{forward-word}) and @kbd{M-b} |
| 118 | (@code{backward-word}) move forward and backward over words. These | 118 | (@code{backward-word}) move forward and backward over words. These |
| 119 | @key{Meta}-based key sequences are analogous to the key sequences | 119 | @key{META}-based key sequences are analogous to the key sequences |
| 120 | @kbd{C-f} and @kbd{C-b}, which move over single characters. The | 120 | @kbd{C-f} and @kbd{C-b}, which move over single characters. The |
| 121 | analogy extends to numeric arguments, which serve as repeat counts. | 121 | analogy extends to numeric arguments, which serve as repeat counts. |
| 122 | @kbd{M-f} with a negative argument moves backward, and @kbd{M-b} with | 122 | @kbd{M-f} with a negative argument moves backward, and @kbd{M-b} with |
| @@ -330,7 +330,7 @@ in Fundamental mode, @code{paragraph-start} is @w{@code{"\f\\|[ | |||
| 330 | @cindex formfeed character | 330 | @cindex formfeed character |
| 331 | Within some text files, text is divided into @dfn{pages} delimited | 331 | Within some text files, text is divided into @dfn{pages} delimited |
| 332 | by the @dfn{formfeed character} (@acronym{ASCII} code 12, also denoted | 332 | by the @dfn{formfeed character} (@acronym{ASCII} code 12, also denoted |
| 333 | as @key{control-L}), which is displayed in Emacs as the escape | 333 | as @samp{control-L}), which is displayed in Emacs as the escape |
| 334 | sequence @samp{^L} (@pxref{Text Display}). Traditionally, when such | 334 | sequence @samp{^L} (@pxref{Text Display}). Traditionally, when such |
| 335 | text files are printed to hardcopy, each formfeed character forces a | 335 | text files are printed to hardcopy, each formfeed character forces a |
| 336 | page break. Most Emacs commands treat it just like any other | 336 | page break. Most Emacs commands treat it just like any other |
| @@ -1250,7 +1250,7 @@ quad click: exit all folds and hide text. | |||
| 1250 | @c FIXME not marked as a user variable | 1250 | @c FIXME not marked as a user variable |
| 1251 | @vindex foldout-mouse-modifiers | 1251 | @vindex foldout-mouse-modifiers |
| 1252 | You can specify different modifier keys (instead of | 1252 | You can specify different modifier keys (instead of |
| 1253 | @kbd{Control-Meta-}) by setting @code{foldout-mouse-modifiers}; but if | 1253 | @kbd{@key{Ctrl}-@key{META}-}) by setting @code{foldout-mouse-modifiers}; but if |
| 1254 | you have already loaded the @file{foldout.el} library, you must reload | 1254 | you have already loaded the @file{foldout.el} library, you must reload |
| 1255 | it in order for this to take effect. | 1255 | it in order for this to take effect. |
| 1256 | 1256 | ||
| @@ -1910,7 +1910,7 @@ characters themselves (@code{sgml-name-8bit-mode}). | |||
| 1910 | Run a shell command (which you must specify) to validate the current | 1910 | Run a shell command (which you must specify) to validate the current |
| 1911 | buffer as SGML (@code{sgml-validate}). | 1911 | buffer as SGML (@code{sgml-validate}). |
| 1912 | 1912 | ||
| 1913 | @item C-c TAB | 1913 | @item C-c @key{TAB} |
| 1914 | @kindex C-c TAB @r{(SGML mode)} | 1914 | @kindex C-c TAB @r{(SGML mode)} |
| 1915 | @findex sgml-tags-invisible | 1915 | @findex sgml-tags-invisible |
| 1916 | Toggle the visibility of existing tags in the buffer. This can be | 1916 | Toggle the visibility of existing tags in the buffer. This can be |
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index 52e5b9c4045..bf7c6175dcb 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi | |||
| @@ -21,7 +21,7 @@ also considered. | |||
| 21 | 21 | ||
| 22 | @table @kbd | 22 | @table @kbd |
| 23 | @item C-g | 23 | @item C-g |
| 24 | @itemx C-@key{BREAK} @r{(MS-DOS only)} | 24 | @itemx C-@key{Break} @r{(MS-DOS only)} |
| 25 | Quit: cancel running or partially typed command. | 25 | Quit: cancel running or partially typed command. |
| 26 | @item C-] | 26 | @item C-] |
| 27 | Abort innermost recursive editing level and cancel the command which | 27 | Abort innermost recursive editing level and cancel the command which |
| @@ -58,11 +58,11 @@ incremental search, @kbd{C-g} behaves specially; it may take two | |||
| 58 | successive @kbd{C-g} characters to get out of a search. | 58 | successive @kbd{C-g} characters to get out of a search. |
| 59 | @xref{Incremental Search}, for details. | 59 | @xref{Incremental Search}, for details. |
| 60 | 60 | ||
| 61 | On MS-DOS, the character @kbd{C-@key{BREAK}} serves as a quit character | 61 | On MS-DOS, the character @kbd{C-@key{Break}} serves as a quit character |
| 62 | like @kbd{C-g}. The reason is that it is not feasible, on MS-DOS, to | 62 | like @kbd{C-g}. The reason is that it is not feasible, on MS-DOS, to |
| 63 | recognize @kbd{C-g} while a command is running, between interactions | 63 | recognize @kbd{C-g} while a command is running, between interactions |
| 64 | with the user. By contrast, it @emph{is} feasible to recognize | 64 | with the user. By contrast, it @emph{is} feasible to recognize |
| 65 | @kbd{C-@key{BREAK}} at all times. | 65 | @kbd{C-@key{Break}} at all times. |
| 66 | @iftex | 66 | @iftex |
| 67 | @xref{MS-DOS Keyboard,,,emacs-xtra, Specialized Emacs Features}. | 67 | @xref{MS-DOS Keyboard,,,emacs-xtra, Specialized Emacs Features}. |
| 68 | @end iftex | 68 | @end iftex |
| @@ -159,13 +159,13 @@ Emacs. | |||
| 159 | @cindex @key{DEL} vs @key{BACKSPACE} | 159 | @cindex @key{DEL} vs @key{BACKSPACE} |
| 160 | @cindex @key{BACKSPACE} vs @key{DEL} | 160 | @cindex @key{BACKSPACE} vs @key{DEL} |
| 161 | 161 | ||
| 162 | Every keyboard has a large key, usually labeled @key{Backspace}, | 162 | Every keyboard has a large key, usually labeled @key{BACKSPACE}, |
| 163 | which is ordinarily used to erase the last character that you typed. | 163 | which is ordinarily used to erase the last character that you typed. |
| 164 | In Emacs, this key is supposed to be equivalent to @key{DEL}. | 164 | In Emacs, this key is supposed to be equivalent to @key{DEL}. |
| 165 | 165 | ||
| 166 | When Emacs starts up on a graphical display, it determines | 166 | When Emacs starts up on a graphical display, it determines |
| 167 | automatically which key should be @key{DEL}. In some unusual cases, | 167 | automatically which key should be @key{DEL}. In some unusual cases, |
| 168 | Emacs gets the wrong information from the system, and @key{Backspace} | 168 | Emacs gets the wrong information from the system, and @key{BACKSPACE} |
| 169 | ends up deleting forwards instead of backwards. | 169 | ends up deleting forwards instead of backwards. |
| 170 | 170 | ||
| 171 | Some keyboards also have a @key{Delete} key, which is ordinarily | 171 | Some keyboards also have a @key{Delete} key, which is ordinarily |
| @@ -173,9 +173,9 @@ used to delete forwards. If this key deletes backward in Emacs, that | |||
| 173 | too suggests Emacs got the wrong information---but in the opposite | 173 | too suggests Emacs got the wrong information---but in the opposite |
| 174 | sense. | 174 | sense. |
| 175 | 175 | ||
| 176 | On a text terminal, if you find that @key{Backspace} prompts for a | 176 | On a text terminal, if you find that @key{BACKSPACE} prompts for a |
| 177 | Help command, like @kbd{Control-h}, instead of deleting a character, | 177 | Help command, like @kbd{Control-h}, instead of deleting a character, |
| 178 | it means that key is actually sending the @key{BS} character. Emacs | 178 | it means that key is actually sending the @samp{BS} character. Emacs |
| 179 | ought to be treating @key{BS} as @key{DEL}, but it isn't. | 179 | ought to be treating @key{BS} as @key{DEL}, but it isn't. |
| 180 | 180 | ||
| 181 | @findex normal-erase-is-backspace-mode | 181 | @findex normal-erase-is-backspace-mode |
| @@ -189,8 +189,8 @@ sends character code 127. | |||
| 189 | 189 | ||
| 190 | To fix the problem in every Emacs session, put one of the following | 190 | To fix the problem in every Emacs session, put one of the following |
| 191 | lines into your initialization file (@pxref{Init File}). For the | 191 | lines into your initialization file (@pxref{Init File}). For the |
| 192 | first case above, where @key{Backspace} deletes forwards instead of | 192 | first case above, where @key{BACKSPACE} deletes forwards instead of |
| 193 | backwards, use this line to make @key{Backspace} act as @key{DEL}: | 193 | backwards, use this line to make @key{BACKSPACE} act as @key{DEL}: |
| 194 | 194 | ||
| 195 | @lisp | 195 | @lisp |
| 196 | (normal-erase-is-backspace-mode 0) | 196 | (normal-erase-is-backspace-mode 0) |
| @@ -438,7 +438,7 @@ state. The quit you requested will happen by and by. | |||
| 438 | displays, you can use the mouse to kill Emacs or switch to another | 438 | displays, you can use the mouse to kill Emacs or switch to another |
| 439 | program. | 439 | program. |
| 440 | 440 | ||
| 441 | On MS-DOS, you must type @kbd{C-@key{BREAK}} (twice) to cause | 441 | On MS-DOS, you must type @kbd{C-@key{Break}} (twice) to cause |
| 442 | emergency escape---but there are cases where it won't work, when | 442 | emergency escape---but there are cases where it won't work, when |
| 443 | system call hangs or when Emacs is stuck in a tight loop in C code. | 443 | system call hangs or when Emacs is stuck in a tight loop in C code. |
| 444 | 444 | ||
| @@ -541,7 +541,7 @@ buffer or change how it is displayed, are not responsible. | |||
| 541 | 541 | ||
| 542 | Taking forever to complete a command can be a bug, but you must make | 542 | Taking forever to complete a command can be a bug, but you must make |
| 543 | sure that it is really Emacs's fault. Some commands simply take a | 543 | sure that it is really Emacs's fault. Some commands simply take a |
| 544 | long time. Type @kbd{C-g} (@kbd{C-@key{BREAK}} on MS-DOS) and then | 544 | long time. Type @kbd{C-g} (@kbd{C-@key{Break}} on MS-DOS) and then |
| 545 | @kbd{C-h l} to see whether the input Emacs received was what you | 545 | @kbd{C-h l} to see whether the input Emacs received was what you |
| 546 | intended to type; if the input was such that you @emph{know} it should | 546 | intended to type; if the input was such that you @emph{know} it should |
| 547 | have been processed quickly, report a bug. If you don't know whether | 547 | have been processed quickly, report a bug. If you don't know whether |