changeset 112076:9b34017f06c6

Fix bug #7667: mention debug-on-quit in the manual. trouble.texi (Checklist): Mention debug-on-quit.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 25 Dec 2010 12:35:16 +0200
parents 9546b9e764b9
children 2f24255ca500
files doc/emacs/ChangeLog doc/emacs/trouble.texi
diffstat 2 files changed, 11 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/doc/emacs/ChangeLog	Sat Dec 25 12:14:48 2010 +0200
+++ b/doc/emacs/ChangeLog	Sat Dec 25 12:35:16 2010 +0200
@@ -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
--- a/doc/emacs/trouble.texi	Sat Dec 25 12:14:48 2010 +0200
+++ b/doc/emacs/trouble.texi	Sat Dec 25 12:35:16 2010 +0200
@@ -806,6 +806,13 @@
 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