diff options
| author | Spencer Baugh | 2023-05-02 11:37:48 -0400 |
|---|---|---|
| committer | Eli Zaretskii | 2023-05-02 20:50:16 +0300 |
| commit | fceaf230b063a0df9fb79cd5159cac4a761aba87 (patch) | |
| tree | 22c617e7a333db8b655c624af37cb8d840243291 | |
| parent | 46392c1623bc3f9764b8c7df293a89fcd47ab0ad (diff) | |
| download | emacs-fceaf230b063a0df9fb79cd5159cac4a761aba87.tar.gz emacs-fceaf230b063a0df9fb79cd5159cac4a761aba87.zip | |
Note that Emacs pauses when handling sentinel errors
Noting this behavior and variable here makes it easier to
understand the behavior of Emacs when a sentinel has an error.
* doc/lispref/processes.texi (Filter Functions): Note that Emacs
pauses when handling sentinel errors.
(Sentinels): Note that Emacs pauses when handling sentinel errors.
(Bug#63096)
| -rw-r--r-- | doc/lispref/processes.texi | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/doc/lispref/processes.texi b/doc/lispref/processes.texi index 50e67475d8e..c901215d35d 100644 --- a/doc/lispref/processes.texi +++ b/doc/lispref/processes.texi | |||
| @@ -1755,7 +1755,9 @@ caught automatically, so that it doesn't stop the execution of whatever | |||
| 1755 | program was running when the filter function was started. However, if | 1755 | program was running when the filter function was started. However, if |
| 1756 | @code{debug-on-error} is non-@code{nil}, errors are not caught. | 1756 | @code{debug-on-error} is non-@code{nil}, errors are not caught. |
| 1757 | This makes it possible to use the Lisp debugger to debug filter | 1757 | This makes it possible to use the Lisp debugger to debug filter |
| 1758 | functions. @xref{Debugger}. | 1758 | functions. @xref{Debugger}. If an error is caught, Emacs pauses for |
| 1759 | @code{process-error-pause-time} seconds so that the user sees the | ||
| 1760 | error. @xref{Asynchronous Processes} | ||
| 1759 | 1761 | ||
| 1760 | Many filter functions sometimes (or always) insert the output in the | 1762 | Many filter functions sometimes (or always) insert the output in the |
| 1761 | process's buffer, mimicking the actions of the default filter. | 1763 | process's buffer, mimicking the actions of the default filter. |
| @@ -2159,7 +2161,9 @@ automatically, so that it doesn't stop the execution of whatever | |||
| 2159 | programs was running when the sentinel was started. However, if | 2161 | programs was running when the sentinel was started. However, if |
| 2160 | @code{debug-on-error} is non-@code{nil}, errors are not caught. | 2162 | @code{debug-on-error} is non-@code{nil}, errors are not caught. |
| 2161 | This makes it possible to use the Lisp debugger to debug the | 2163 | This makes it possible to use the Lisp debugger to debug the |
| 2162 | sentinel. @xref{Debugger}. | 2164 | sentinel. @xref{Debugger}. If an error is caught, Emacs pauses for |
| 2165 | @code{process-error-pause-time} seconds so that the user sees the | ||
| 2166 | error. @xref{Asynchronous Processes} | ||
| 2163 | 2167 | ||
| 2164 | While a sentinel is running, the process sentinel is temporarily | 2168 | While a sentinel is running, the process sentinel is temporarily |
| 2165 | set to @code{nil} so that the sentinel won't run recursively. | 2169 | set to @code{nil} so that the sentinel won't run recursively. |