[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: gnus makes emacs lose response
From: |
Chong Yidong |
Subject: |
Re: gnus makes emacs lose response |
Date: |
Mon, 18 Sep 2006 10:53:32 -0400 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
> Stefan Monnier <address@hidden> writes:
>
>>> (gdb) p Qnil
>>> $1 = 137562313
>>> (gdb) p Vquit_flag
>>> $2 = 137562313
>>> (gdb) p immediate_quit
>>> $3 = 0
>>> (gdb) p Vinhibit_quit
>>> $4 = 137562361
>>
>> So inhibit-quit is non-nil, so shouldn't my patch have caught this?
>
> Which patch are you referring to here?
OK I found it.
--- orig/src/process.c
+++ mod/src/process.c
@@ -4255,6 +4256,9 @@
FD_ZERO (&Connecting);
#endif
+ if (time_limit == 0 && PROCESSP (read_kbd) && !NILP (Vinhibit_quit))
+ error ("Blocking call to accept-process-output with quit inhibited!!");
+
/* If wait_proc is a process to watch, set wait_channel accordingly. */
if (wait_proc != NULL)
wait_channel = XINT (wait_proc->infd);
Stefan, why do you check read_kbd with PROCESSP? read_kbd is an
integer (0 in this case), not a process. Shouldn't it be
+ if (time_limit == 0 && read_kbd == 0 && !NILP (Vinhibit_quit))
+ error ("Blocking call to accept-process-output with quit inhibited!!");
- Re: gnus makes emacs lose response, (continued)
- Re: gnus makes emacs lose response, Chong Yidong, 2006/09/07
- Re: gnus makes emacs lose response, Chong Yidong, 2006/09/23
- Re: gnus makes emacs lose response, Kim F. Storm, 2006/09/09
- Re: gnus makes emacs lose response, Stefan Monnier, 2006/09/10
- Re: gnus makes emacs lose response, Chong Yidong, 2006/09/16
- Re: gnus makes emacs lose response, Chong Yidong, 2006/09/18
- Re: gnus makes emacs lose response,
Chong Yidong <=
- Re: gnus makes emacs lose response, Stefan Monnier, 2006/09/19
- Re: gnus makes emacs lose response, Chong Yidong, 2006/09/19
- Re: gnus makes emacs lose response, Stefan Monnier, 2006/09/22
- Re: gnus makes emacs lose response, Richard Stallman, 2006/09/23
- Re: gnus makes emacs lose response, Richard Stallman, 2006/09/22
- Re: gnus makes emacs lose response, Stefan Monnier, 2006/09/23
- Re: gnus makes emacs lose response, Stefan Monnier, 2006/09/18
Re: gnus makes emacs lose response, Chong Yidong, 2006/09/23