From 88ab43400d4bee3e35ad737aa185442775ddf7dc Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 25 Dec 2010 12:35:16 +0200 Subject: [PATCH] Fix bug #7667: mention debug-on-quit in the manual. trouble.texi (Checklist): Mention debug-on-quit. --- doc/emacs/ChangeLog | 4 ++++ doc/emacs/trouble.texi | 7 +++++++ 2 files changed, 11 insertions(+) diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog index 7fa2c1aaf76..d0ad25bb1af 100644 --- a/doc/emacs/ChangeLog +++ b/doc/emacs/ChangeLog @@ -1,3 +1,7 @@ +2010-12-25 Eli Zaretskii + + * trouble.texi (Checklist): Mention debug-on-quit. (Bug#7667) + 2010-12-18 Glenn Morris * maintaining.texi: Move inclusion of emerge after EDE, so that it diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi index ef8b5ab6772..b8cfd322bd4 100644 --- a/doc/emacs/trouble.texi +++ b/doc/emacs/trouble.texi @@ -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 -- 2.11.4.GIT