Mercurial > emacs
changeset 37347:bd817d6f9ba3
Minor clarifications regarding DEL key.
Mention toggle-debug-on-error.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Sat, 14 Apr 2001 14:48:01 +0000 |
parents | e80fc3e25af8 |
children | 84cb4bee4df1 |
files | man/trouble.texi |
diffstat | 1 files changed, 12 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/man/trouble.texi Sat Apr 14 14:46:57 2001 +0000 +++ b/man/trouble.texi Sat Apr 14 14:48:01 2001 +0000 @@ -144,7 +144,9 @@ Every keyboard has a large key, a little ways above the @key{RET} or @key{ENTER} key, which you normally use outside Emacs to erase the last character that you typed. We call this key @dfn{the usual -erasure key}. In Emacs, it is supposed to be equivalent to @key{DEL}. +erasure key}. In Emacs, it is supposed to be equivalent to @key{DEL}, +and when Emacs is properly configured for your terminal, it translates +that key into the character @key{DEL}. When Emacs starts up using a window system, it determines automatically which key should be @key{DEL}. In some unusual cases @@ -168,7 +170,7 @@ In all of those cases, the immediate remedy is the same: use the command @kbd{M-x normal-erase-is-backspace-mode}. That should make -the proper @key{DEL} key work. On a text-only terminal, if you do +the proper key work as @key{DEL}. On a text-only terminal, if you do want to ask for help, use @key{F1} or @kbd{C-?}. @findex normal-erase-is-backspace-mode @@ -703,12 +705,14 @@ @samp{*Messages*} buffer into the bug report. Copy all of it, not just part. -To make a backtrace for the error, evaluate the Lisp expression -@code{(setq @w{debug-on-error t})} before the error happens (that is to -say, you must execute that expression and then make the bug happen). -This causes the error to run the Lisp debugger, which shows you a -backtrace. Copy the text of the debugger's backtrace into the bug -report. +@findex toggle-debug-on-error +To make a backtrace for the error, use @kbd{M-x toggle-debug-on-error} +before the error happens (that is to say, you must give that command +and then make the bug happen). This causes the error to run the Lisp +debugger, which shows you a backtrace. Copy the text of the +debugger's backtrace into the bug report. @xref{Debugger,, The Lisp +Debugger, elisp, the Emacs Lisp Reference Manual}, for information on +debugging Emacs Lisp programs. This use of the debugger is possible only if you know how to make the bug happen again. If you can't make it happen again, at least copy