diff options
| author | Richard M. Stallman | 2001-04-26 19:46:26 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 2001-04-26 19:46:26 +0000 |
| commit | 405d5e634872f112bb169af6beb2bb6857b6c235 (patch) | |
| tree | d498799435a19263e3f380152dba882ffd76e3d9 | |
| parent | fd2dfb4079fd37f2b668a36801019d4d3a889c33 (diff) | |
| download | emacs-405d5e634872f112bb169af6beb2bb6857b6c235.tar.gz emacs-405d5e634872f112bb169af6beb2bb6857b6c235.zip | |
Clarify when C-? is available as Help.
Explain that normal-erase-is-backspace-mode toggles between the two modes.
Describe the case where BACKSPACE has been remapped to DELETE
in the window system.
| -rw-r--r-- | man/trouble.texi | 21 |
1 files changed, 17 insertions, 4 deletions
diff --git a/man/trouble.texi b/man/trouble.texi index 7a9c942c604..273a7cedd70 100644 --- a/man/trouble.texi +++ b/man/trouble.texi | |||
| @@ -169,16 +169,20 @@ character. Emacs ought to be treating @key{BS} as @key{DEL}, but it | |||
| 169 | isn't. | 169 | isn't. |
| 170 | 170 | ||
| 171 | In all of those cases, the immediate remedy is the same: use the | 171 | In all of those cases, the immediate remedy is the same: use the |
| 172 | command @kbd{M-x normal-erase-is-backspace-mode}. That should make | 172 | command @kbd{M-x normal-erase-is-backspace-mode}. This toggles |
| 173 | the proper key work as @key{DEL}. On a text-only terminal, if you do | 173 | between the two modes that Emacs supports for handling @key{DEL}, so |
| 174 | want to ask for help, use @key{F1} or @kbd{C-?}. | 174 | if Emacs starts in the wrong mode, it should switch to the right mode. |
| 175 | On a text-only terminal, if you want to ask for help when @key{BS} is | ||
| 176 | treated as @key{DEL}, use @key{F1}; @kbd{C-?} may also work, if it | ||
| 177 | sends character code 127. | ||
| 175 | 178 | ||
| 176 | @findex normal-erase-is-backspace-mode | 179 | @findex normal-erase-is-backspace-mode |
| 177 | To fix the problem automatically for every Emacs session, you can | 180 | To fix the problem automatically for every Emacs session, you can |
| 178 | put one of the following lines into your @file{.emacs} file | 181 | put one of the following lines into your @file{.emacs} file |
| 179 | (@pxref{Init File}). For the first case above, where @key{DELETE} | 182 | (@pxref{Init File}). For the first case above, where @key{DELETE} |
| 180 | deletes forwards instead of backwards, use this line to make | 183 | deletes forwards instead of backwards, use this line to make |
| 181 | @key{DELETE} act as @key{DEL}: | 184 | @key{DELETE} act as @key{DEL} (resulting in behavior compatible |
| 185 | with Emacs 20 and previous versions): | ||
| 182 | 186 | ||
| 183 | @lisp | 187 | @lisp |
| 184 | (normal-erase-is-backspace-mode 0) | 188 | (normal-erase-is-backspace-mode 0) |
| @@ -199,6 +203,15 @@ customize the variable @code{normal-erase-is-backspace}: the value | |||
| 199 | @key{DEL}, and @code{nil} specifies the other mode. @xref{Easy | 203 | @key{DEL}, and @code{nil} specifies the other mode. @xref{Easy |
| 200 | Customization}. | 204 | Customization}. |
| 201 | 205 | ||
| 206 | With a window system, it can also happen that the usual erasure key | ||
| 207 | is labeled @key{BACKSPACE}, there is a @key{DELETE} key elsewhere, and | ||
| 208 | both keys delete forward. This probably means that someone has | ||
| 209 | redefined your @key{BACKSPACE} key as a @key{DELETE} key. With X, | ||
| 210 | this is typically done with a command to the @code{xmodmap} program | ||
| 211 | when you start the server or log in. The most likely motive for this | ||
| 212 | customization was to support old versions of Emacs, so we recommend | ||
| 213 | you simply remove it now. | ||
| 214 | |||
| 202 | @node Stuck Recursive | 215 | @node Stuck Recursive |
| 203 | @subsection Recursive Editing Levels | 216 | @subsection Recursive Editing Levels |
| 204 | 217 | ||