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: Wed, 23 Aug 2006 16:51:04 -0400 Message-ID: References: NNTP-Posting-Host: main.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1156366313 21602 80.91.229.2 (23 Aug 2006 20:51:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Wed, 23 Aug 2006 20:51:53 +0000 (UTC) Cc: emacs-devel@gnu.org, angeli@iwi.uni-sb.de, "Kim F. Storm" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Aug 23 22:51:48 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 1GFzhG-0002xX-2P for ged-emacs-devel@m.gmane.org; Wed, 23 Aug 2006 22:51:34 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFzhF-0007x3-Ey for ged-emacs-devel@m.gmane.org; Wed, 23 Aug 2006 16:51:33 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1GFzgy-0007ra-5g for emacs-devel@gnu.org; Wed, 23 Aug 2006 16:51:16 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1GFzgv-0007mM-W9 for emacs-devel@gnu.org; Wed, 23 Aug 2006 16:51:15 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1GFzgv-0007m1-IT for emacs-devel@gnu.org; Wed, 23 Aug 2006 16:51:13 -0400 Original-Received: from [209.226.175.74] (helo=tomts20-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.52) id 1GFzon-0000l3-QS; Wed, 23 Aug 2006 16:59:22 -0400 Original-Received: from localhost ([70.53.194.87]) by tomts20-srv.bellnexxia.net (InterMail vM.5.01.06.13 201-253-122-130-113-20050324) with ESMTP id <20060823205105.TJRE16051.tomts20-srv.bellnexxia.net@localhost>; Wed, 23 Aug 2006 16:51:05 -0400 Original-Received: by localhost (Postfix, from userid 20848) id DD8C58A21; Wed, 23 Aug 2006 16:51:04 -0400 (EDT) Original-To: rms@gnu.org In-Reply-To: (Richard Stallman's message of "Wed, 23 Aug 2006 10:45:30 -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:58783 Archived-At: > 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);