Fix bug #7667: mention debug-on-quit in the manual.
authorEli Zaretskii <eliz@gnu.org>
Sat, 25 Dec 2010 10:35:16 +0000 (12:35 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 25 Dec 2010 10:35:16 +0000 (12:35 +0200)
 trouble.texi (Checklist): Mention debug-on-quit.

doc/emacs/ChangeLog
doc/emacs/trouble.texi

index 7fa2c1a..d0ad25b 100644 (file)
@@ -1,3 +1,7 @@
+2010-12-25  Eli Zaretskii  <eliz@gnu.org>
+
+       * trouble.texi (Checklist): Mention debug-on-quit.  (Bug#7667)
+
 2010-12-18  Glenn Morris  <rgm@gnu.org>
 
        * maintaining.texi: Move inclusion of emerge after EDE, so that it
index ef8b5ab..b8cfd32 100644 (file)
@@ -806,6 +806,13 @@ 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
 the whole error message.
 
+@vindex debug-on-quit
+If Emacs appears to be stuck in an infinite loop or in a very long
+operation, typing @kbd{C-g} with the variable @code{debug-on-quit}
+non-@code{nil} will start the Lisp debugger and show a backtrace.
+This backtrace is useful for debugging such long loops, so if you can
+produce it, copy it into the bug report.
+
 @item
 Check whether any programs you have loaded into the Lisp world,
 including your @file{.emacs} file, set any variables that may affect the