From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: gnus makes emacs lose response Date: Mon, 18 Sep 2006 10:53:32 -0400 Message-ID: <87psdtb503.fsf@stupidchicken.com> References: <87u035b5ly.fsf@stupidchicken.com> NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1158591148 16768 80.91.229.2 (18 Sep 2006 14:52:28 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2006 14:52:28 +0000 (UTC) Cc: "Kim F. Storm" , Leon , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 18 16:52:27 2006 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by ciao.gmane.org with esmtp (Exim 4.43) id 1GPKTf-0007Ad-13 for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2006 16:52:07 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GPKTe-000352-Fm for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2006 10:52:06 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GPKT9-0002ta-1p for emacs-devel@gnu.org; Mon, 18 Sep 2006 10:51:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GPKT6-0002sO-8a for emacs-devel@gnu.org; Mon, 18 Sep 2006 10:51:34 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GPKT6-0002sI-2n for emacs-devel@gnu.org; Mon, 18 Sep 2006 10:51:32 -0400 Original-Received: from [18.19.1.138] (helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GPKVx-0005Xi-D2 for emacs-devel@gnu.org; Mon, 18 Sep 2006 10:54:29 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 97AB34E3E3; Mon, 18 Sep 2006 10:53:32 -0400 (EDT) Original-To: Stefan Monnier In-Reply-To: <87u035b5ly.fsf@stupidchicken.com> (Chong Yidong's message of "Mon\, 18 Sep 2006 10\:40\:25 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:59967 Archived-At: > Stefan Monnier 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!!");