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: Fri, 22 Sep 2006 15:12:54 -0400 Message-ID: References: <87u035b5ly.fsf@stupidchicken.com> <87psdtb503.fsf@stupidchicken.com> <87u033zyq0.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 1158952407 25356 80.91.229.2 (22 Sep 2006 19:13:27 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 22 Sep 2006 19:13:27 +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 Fri Sep 22 21:13:25 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 1GQqSV-0006Nt-E1 for ged-emacs-devel@m.gmane.org; Fri, 22 Sep 2006 21:13:11 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQqSU-0007IJ-Vm for ged-emacs-devel@m.gmane.org; Fri, 22 Sep 2006 15:13:11 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GQqSH-0007As-V5 for emacs-devel@gnu.org; Fri, 22 Sep 2006 15:12:57 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GQqSF-00072j-PV for emacs-devel@gnu.org; Fri, 22 Sep 2006 15:12:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GQqSF-00072M-M9 for emacs-devel@gnu.org; Fri, 22 Sep 2006 15:12:55 -0400 Original-Received: from [209.226.175.188] (helo=tomts25-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GQqW3-0007e3-1m for emacs-devel@gnu.org; Fri, 22 Sep 2006 15:16:51 -0400 Original-Received: from localhost ([70.53.192.222]) by tomts25-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060922191254.MHCP1747.tomts25-srv.bellnexxia.net@localhost>; Fri, 22 Sep 2006 15:12:54 -0400 Original-Received: by localhost (Postfix, from userid 20848) id E1C539CE0; Fri, 22 Sep 2006 15:12:54 -0400 (EDT) Original-To: Chong Yidong In-Reply-To: <87u033zyq0.fsf@stupidchicken.com> (Chong Yidong's message of "Tue\, 19 Sep 2006 11\:02\:15 -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:60114 Archived-At: >>>>> "Chong" == Chong Yidong writes: > Stefan Monnier writes: >> Oh I see, it's because I haven't updated the code in response to the >> following change: >> >> 2004-08-19 Kim F. Storm >> >> * process.c (wait_reading_process_input): Clean up. >> Add wait_for_cell, wait_proc, and just_wait_proc args >> to avoid overloading `read_kbd' and `do_display' args. >> Change read_kbd arg to int. All callers changed. >> >> So I should probably check wait_proc instead. > Could you post a new patch for Leon to try? You mean like the patch below? Stefan --- orig/src/process.c +++ mod/src/process.c @@ -4259,6 +4260,9 @@ FD_ZERO (&Connecting); #endif + if (time_limit == 0 && wait_proc && !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);