aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard M. Stallman2001-04-26 19:46:26 +0000
committerRichard M. Stallman2001-04-26 19:46:26 +0000
commit405d5e634872f112bb169af6beb2bb6857b6c235 (patch)
treed498799435a19263e3f380152dba882ffd76e3d9
parentfd2dfb4079fd37f2b668a36801019d4d3a889c33 (diff)
downloademacs-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.texi21
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
169isn't. 169isn'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
172command @kbd{M-x normal-erase-is-backspace-mode}. That should make 172command @kbd{M-x normal-erase-is-backspace-mode}. This toggles
173the proper key work as @key{DEL}. On a text-only terminal, if you do 173between the two modes that Emacs supports for handling @key{DEL}, so
174want to ask for help, use @key{F1} or @kbd{C-?}. 174if Emacs starts in the wrong mode, it should switch to the right mode.
175On a text-only terminal, if you want to ask for help when @key{BS} is
176treated as @key{DEL}, use @key{F1}; @kbd{C-?} may also work, if it
177sends 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
178put one of the following lines into your @file{.emacs} file 181put 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}
180deletes forwards instead of backwards, use this line to make 183deletes 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
185with 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
200Customization}. 204Customization}.
201 205
206 With a window system, it can also happen that the usual erasure key
207is labeled @key{BACKSPACE}, there is a @key{DELETE} key elsewhere, and
208both keys delete forward. This probably means that someone has
209redefined your @key{BACKSPACE} key as a @key{DELETE} key. With X,
210this is typically done with a command to the @code{xmodmap} program
211when you start the server or log in. The most likely motive for this
212customization was to support old versions of Emacs, so we recommend
213you 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