aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGlenn Morris2012-02-04 19:37:19 -0800
committerGlenn Morris2012-02-04 19:37:19 -0800
commit649f602cd69fb97e9572f526043e288ab9f34024 (patch)
treed8ddf0a8112b9ea18d5ff60a2916d5d33019031f
parent27f7ef2f0a9f4f8d50c7102c659b198e4d3351f6 (diff)
downloademacs-649f602cd69fb97e9572f526043e288ab9f34024.tar.gz
emacs-649f602cd69fb97e9572f526043e288ab9f34024.zip
More doc for debug-on-event.
* emacs/trouble.texi (Checklist): Mention debug-on-event. * lispref/debugging.texi (Error Debugging): Mention debug-on-event default.
-rw-r--r--doc/emacs/ChangeLog2
-rw-r--r--doc/emacs/trouble.texi6
-rw-r--r--doc/lispref/ChangeLog4
-rw-r--r--doc/lispref/debugging.texi4
4 files changed, 14 insertions, 2 deletions
diff --git a/doc/emacs/ChangeLog b/doc/emacs/ChangeLog
index 6ff188a3da0..ab4161c75b8 100644
--- a/doc/emacs/ChangeLog
+++ b/doc/emacs/ChangeLog
@@ -1,5 +1,7 @@
12012-02-05 Glenn Morris <rgm@gnu.org> 12012-02-05 Glenn Morris <rgm@gnu.org>
2 2
3 * trouble.texi (Checklist): Mention debug-on-event.
4
3 * maintaining.texi (Maintaining): Add cross-ref to ERT. 5 * maintaining.texi (Maintaining): Add cross-ref to ERT.
4 6
52012-02-04 Glenn Morris <rgm@gnu.org> 72012-02-04 Glenn Morris <rgm@gnu.org>
diff --git a/doc/emacs/trouble.texi b/doc/emacs/trouble.texi
index 8cb5ab44a2e..6c6dbea9525 100644
--- a/doc/emacs/trouble.texi
+++ b/doc/emacs/trouble.texi
@@ -784,6 +784,12 @@ non-@code{nil} will start the Lisp debugger and show a backtrace.
784This backtrace is useful for debugging such long loops, so if you can 784This backtrace is useful for debugging such long loops, so if you can
785produce it, copy it into the bug report. 785produce it, copy it into the bug report.
786 786
787@vindex debug-on-event
788If you cannot get Emacs to respond to @kbd{C-g} (e.g., because
789@code{inhibit-quit} is set), then you can try sending the signal
790specified by @code{debug-on-event} (default SIGUSR2) from outside
791Emacs to cause it to enter the debugger.
792
787@item 793@item
788Check whether any programs you have loaded into the Lisp world, 794Check whether any programs you have loaded into the Lisp world,
789including your initialization file, set any variables that may affect 795including your initialization file, set any variables that may affect
diff --git a/doc/lispref/ChangeLog b/doc/lispref/ChangeLog
index 681b9b54678..65740feeee5 100644
--- a/doc/lispref/ChangeLog
+++ b/doc/lispref/ChangeLog
@@ -1,3 +1,7 @@
12012-02-05 Glenn Morris <rgm@gnu.org>
2
3 * debugging.texi (Error Debugging): Mention debug-on-event default.
4
12012-02-04 Glenn Morris <rgm@gnu.org> 52012-02-04 Glenn Morris <rgm@gnu.org>
2 6
3 * backups.texi (Reverting): Mention revert-buffer-in-progress-p. 7 * backups.texi (Reverting): Mention revert-buffer-in-progress-p.
diff --git a/doc/lispref/debugging.texi b/doc/lispref/debugging.texi
index a17fc60718b..cc92fc225f9 100644
--- a/doc/lispref/debugging.texi
+++ b/doc/lispref/debugging.texi
@@ -153,8 +153,8 @@ If you set @code{debug-on-event} to a special event (@pxref{Special
153Events}), Emacs will try to enter the debugger as soon as it receives 153Events}), Emacs will try to enter the debugger as soon as it receives
154this event, bypassing @code{special-event-map}. At present, the only 154this event, bypassing @code{special-event-map}. At present, the only
155supported values correspond to the signals @code{SIGUSR1} and 155supported values correspond to the signals @code{SIGUSR1} and
156@code{SIGUSR2}. This can be helpful when @code{inhibit-quit} is set 156@code{SIGUSR2} (this is the default). This can be helpful when
157and Emacs is not otherwise responding. 157@code{inhibit-quit} is set and Emacs is not otherwise responding.
158@end defopt 158@end defopt
159 159
160 To debug an error that happens during loading of the init 160 To debug an error that happens during loading of the init