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: Stefan Monnier
Subject: Re: gnus makes emacs lose response
Date: Wed, 23 Aug 2006 16:51:04 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

> Yes--if C-g fails to work, it is a bug.

> So we need to determine WHY it fails to work.
> Perhaps wait_reading_process_output, when called on behalf
> of accept-process-output, fails to take note of quit-flag.

I use the patch below to catch such problems.


        Stefan


--- 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);




reply via email to

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