From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Stefan Newsgroups: gmane.emacs.devel Subject: Re: BLOCK_INPUT on Mac OS X Date: 06 Sep 2004 12:17:45 -0400 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1094487539 13965 80.91.224.253 (6 Sep 2004 16:18:59 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Mon, 6 Sep 2004 16:18:59 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Sep 06 18:18:43 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1C4MCY-0002Bt-00 for ; Mon, 06 Sep 2004 18:18:42 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C4MHj-0004Ti-MI for ged-emacs-devel@m.gmane.org; Mon, 06 Sep 2004 12:24:03 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1C4MHd-0004Tc-Ud for emacs-devel@gnu.org; Mon, 06 Sep 2004 12:23:58 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1C4MHc-0004TQ-2X for emacs-devel@gnu.org; Mon, 06 Sep 2004 12:23:57 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1C4MHb-0004TN-VY for emacs-devel@gnu.org; Mon, 06 Sep 2004 12:23:56 -0400 Original-Received: from [206.47.199.165] (helo=simmts7-srv.bellnexxia.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1C4MBf-0001d9-D8 for emacs-devel@gnu.org; Mon, 06 Sep 2004 12:17:47 -0400 Original-Received: from empanada.home ([67.68.216.103]) by simmts7-srv.bellnexxia.net (InterMail vM.5.01.06.10 201-253-122-130-110-20040306) with ESMTP id <20040906161544.DOSE1960.simmts7-srv.bellnexxia.net@empanada.home>; Mon, 6 Sep 2004 12:15:44 -0400 Original-Received: by empanada.home (Postfix, from userid 502) id A7B022D7E0A; Mon, 6 Sep 2004 12:17:45 -0400 (EDT) Original-To: YAMAMOTO Mitsuharu In-Reply-To: Original-Lines: 10 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3.50 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:26829 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:26829 > I tried SYNC_INPUT with the X11 build on Mac OS X, which can use SIGIO > for notification of input events. It worked fine, but I noticed that > we couldn't quit a synchronous subprocess if it produced no output. > For example, `M-! yes RET' can be quit but `M-! sleep 10 RET' cannot. Can you try and figure out where in the C code is Emacs looping? A well placed QUIT in there should do the trick. Stefan