From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: gnus makes emacs lose response Date: Mon, 18 Sep 2006 10:55:11 -0400 Message-ID: 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 1158591368 17638 80.91.229.2 (18 Sep 2006 14:56:08 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 18 Sep 2006 14:56:08 +0000 (UTC) Cc: emacs-devel@gnu.org, Leon , "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 18 16:56:06 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 1GPKX6-0008Co-Fi for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2006 16:55:40 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GPKX5-0005gS-TA for ged-emacs-devel@m.gmane.org; Mon, 18 Sep 2006 10:55:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GPKWt-0005dC-8i for emacs-devel@gnu.org; Mon, 18 Sep 2006 10:55:27 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GPKWp-0005Z3-JW for emacs-devel@gnu.org; Mon, 18 Sep 2006 10:55:26 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GPKWp-0005Yb-CN for emacs-devel@gnu.org; Mon, 18 Sep 2006 10:55:23 -0400 Original-Received: from [132.204.24.67] (helo=mercure.iro.umontreal.ca) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GPKZg-00062q-Lp for emacs-devel@gnu.org; Mon, 18 Sep 2006 10:58:20 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id 8AFDE2CEFAC; Mon, 18 Sep 2006 10:55:22 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id 3D3AA3FE0; Mon, 18 Sep 2006 10:55:11 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id 28E0C6C18E; Mon, 18 Sep 2006 10:55:11 -0400 (EDT) Original-To: Chong Yidong 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-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca 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:59968 Archived-At: >>>>> "Chong" == Chong Yidong writes: > 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? The one below, which I sent at the beginning of this thread. Stefan --- orig/src/process.c +++ mod/src/process.c @@ -4259,6 +4260,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);