From 0b2596432d8e29226ec2a52bf6292d65f7f28164 Mon Sep 17 00:00:00 2001 From: Lars Ingebrigtsen Date: Sat, 25 Sep 2021 03:59:42 +0200 Subject: [PATCH] Fix some instances in the Emacs manual with misleading prefix syntax * doc/emacs/msdos.texi (Windows Keyboard): * doc/emacs/misc.texi (Editing Binary Files): * doc/emacs/macos.texi (Mac / GNUstep Events): * doc/emacs/kmacro.texi (Basic Keyboard Macro): * doc/emacs/glossary.texi (Glossary): * doc/emacs/fixit.texi (Spelling): Fix some instances where the syntax seems to imply we're talking about a prefix key (bug#50792). --- doc/emacs/fixit.texi | 2 +- doc/emacs/glossary.texi | 2 +- doc/emacs/kmacro.texi | 2 +- doc/emacs/macos.texi | 2 +- doc/emacs/misc.texi | 2 +- doc/emacs/msdos.texi | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/emacs/fixit.texi b/doc/emacs/fixit.texi index 85cdbff5fa5..7feebddee8c 100644 --- a/doc/emacs/fixit.texi +++ b/doc/emacs/fixit.texi @@ -463,7 +463,7 @@ use @code{flyspell-region} or @code{flyspell-buffer} for that. it with @kbd{mouse-2} (@code{flyspell-correct-word}) to display a menu of possible corrections and actions. If you want this menu on @kbd{mouse-3} instead, enable @code{context-menu-mode}. In addition, -@kbd{C-.} or @kbd{@key{ESC}-@key{TAB}} (@code{flyspell-auto-correct-word}) +@kbd{C-.} or @kbd{@key{ESC} @key{TAB}} (@code{flyspell-auto-correct-word}) will propose various successive corrections for the word at point, and @w{@kbd{C-c $}} (@code{flyspell-correct-word-before-point}) will pop up a menu of possible corrections. Of course, you can always correct diff --git a/doc/emacs/glossary.texi b/doc/emacs/glossary.texi index 63f690712a8..9c06bcc4af1 100644 --- a/doc/emacs/glossary.texi +++ b/doc/emacs/glossary.texi @@ -1113,7 +1113,7 @@ Emacs. @xref{Query Replace}. @anchor{Glossary---Quitting} @item Quitting Quitting means canceling a partially typed command or a running -command, using @kbd{C-g} (or @kbd{C-@key{BREAK}} on MS-DOS). @xref{Quitting}. +command, using @kbd{C-g} (or @kbd{C-@key{Break}} on MS-DOS). @xref{Quitting}. @item Quoting Quoting means depriving a character of its usual special significance. diff --git a/doc/emacs/kmacro.texi b/doc/emacs/kmacro.texi index 16a97db54c5..78964bb903f 100644 --- a/doc/emacs/kmacro.texi +++ b/doc/emacs/kmacro.texi @@ -102,7 +102,7 @@ are in the process of defining one, or calls the last macro otherwise.) You can also supply @key{F4} with a numeric prefix argument @samp{n}, which means to invoke the macro @samp{n} times. An argument of zero repeats the macro indefinitely, until it gets an -error or you type @kbd{C-g} (or, on MS-DOS, @kbd{C-@key{BREAK}}). +error or you type @kbd{C-g} (or, on MS-DOS, @kbd{C-@key{Break}}). The above example demonstrates a handy trick that you can employ with keyboard macros: if you wish to repeat an operation at regularly diff --git a/doc/emacs/macos.texi b/doc/emacs/macos.texi index cd1db1a7bab..99c67ed09e5 100644 --- a/doc/emacs/macos.texi +++ b/doc/emacs/macos.texi @@ -290,7 +290,7 @@ The default behavior is to save all file-visiting buffers. @cindex using Nextstep services (macOS) Emacs also allows users to make use of Nextstep services, via a set of commands whose names begin with @samp{ns-service-} and end with the -name of the service. Type @kbd{M-x ns-service-@key{TAB}} to +name of the service. Type @kbd{M-x ns-service- @key{TAB}} to see a list of these commands. These functions either operate on marked text (replacing it with the result) or take a string argument and return the result as a string. You can also use the Lisp function diff --git a/doc/emacs/misc.texi b/doc/emacs/misc.texi index 47e3e11d339..5123a716dcb 100644 --- a/doc/emacs/misc.texi +++ b/doc/emacs/misc.texi @@ -2602,7 +2602,7 @@ invoked @code{hexl-mode}. @noindent Other Hexl commands let you insert strings (sequences) of binary bytes, move by @code{short}s or @code{int}s, etc.; type @kbd{C-h a -hexl-@key{RET}} for details. +hexl- @key{TAB}} for details. Hexl mode can also be used for editing text files. This could come in handy if the text file includes unusual characters or uses unusual diff --git a/doc/emacs/msdos.texi b/doc/emacs/msdos.texi index 33d389acd50..0f8f429b3f8 100644 --- a/doc/emacs/msdos.texi +++ b/doc/emacs/msdos.texi @@ -543,7 +543,7 @@ keyboard input in Emacs. conventional uses in MS-Windows programs conflict with traditional Emacs key bindings. (These Emacs key bindings were established years before Microsoft was founded.) Examples of conflicts include -@kbd{C-c}, @kbd{C-x}, @kbd{C-z}, @kbd{C-a}, and @kbd{W-@key{SPC}}. +@kbd{C-c}, @kbd{C-x}, @kbd{C-z}, and @kbd{C-a}. You can redefine some of them with meanings more like the MS-Windows meanings by enabling CUA Mode (@pxref{CUA Bindings}). Another optional feature which will make Emacs behave like other Windows -- 2.39.2