emacs-devel
[Top][All Lists]
Advanced

[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!!");




reply via email to

[Prev in Thread] Current Thread [Next in Thread]