From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Jason Rumney Newsgroups: gmane.emacs.devel Subject: Re: Pretest next week Date: Tue, 27 Jan 2009 10:10:58 +0800 Message-ID: <497E6D32.9000707@gnu.org> References: <87y6x4ue2u.fsf@cyd.mit.edu> <87mydjv4bd.fsf@cyd.mit.edu> <08054F25-1F90-4795-9FFE-01363F6900CE@gmail.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1233022308 9952 80.91.229.12 (27 Jan 2009 02:11:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 27 Jan 2009 02:11:48 +0000 (UTC) Cc: emacs-devel@gnu.org To: Adrian Robert Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 27 03:13:01 2009 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1LRdRl-0007Ex-1Z for ged-emacs-devel@m.gmane.org; Tue, 27 Jan 2009 03:13:01 +0100 Original-Received: from localhost ([127.0.0.1]:57701 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRdQS-0001Nz-Tv for ged-emacs-devel@m.gmane.org; Mon, 26 Jan 2009 21:11:40 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LRdQN-0001Nu-C2 for emacs-devel@gnu.org; Mon, 26 Jan 2009 21:11:35 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LRdQL-0001Ni-Td for emacs-devel@gnu.org; Mon, 26 Jan 2009 21:11:34 -0500 Original-Received: from [199.232.76.173] (port=41804 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LRdQL-0001Nf-Oq for emacs-devel@gnu.org; Mon, 26 Jan 2009 21:11:33 -0500 Original-Received: from mail-qy0-f17.google.com ([209.85.221.17]:56007) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LRdQL-0004Bm-DD for emacs-devel@gnu.org; Mon, 26 Jan 2009 21:11:33 -0500 Original-Received: by qyk10 with SMTP id 10so7582310qyk.18 for ; Mon, 26 Jan 2009 18:11:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :content-type:content-transfer-encoding; bh=n7n2MhoFmMOKexbIpeylQ8U3+623bDB+2FAVCABe4Xc=; b=k7OcoMJVb3P+h1pDUy2lgNan0SM/IZvfNirajUoVTeStMTBbSftknviT7NNMJRjr67 MkaLmnwgA996l7coQZNcduP2e8H/qji3i/+z2UZcc5ucXsw+QczwN7ywku4NHjnaDAzC ss0nY1/wB2XKAlrk8pfZdKxiLE/HXgtkQTRqU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:content-type:content-transfer-encoding; b=cVOxAN4G1aCq45rU95ZwqbOmYZyCX4hY3O6pC6qVmJXxPCRBQwAIoJEFse2H7LsIGv 5ubtqDvb1hQoI7Rm++IZ/NTcxtxhkXzMISWRO4dujdwsdo5KAlbTbc7ihtKqu7HANMP8 FD0QcXBbLlwc6PITtfbMA1QmVXu5Iglfnei7M= Original-Received: by 10.214.60.14 with SMTP id i14mr3890232qaa.170.1233022291554; Mon, 26 Jan 2009 18:11:31 -0800 (PST) Original-Received: from ?192.168.249.26? ([118.101.26.137]) by mx.google.com with ESMTPS id 5sm125925qwh.46.2009.01.26.18.11.29 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 26 Jan 2009 18:11:30 -0800 (PST) User-Agent: Thunderbird 2.0.0.19 (Windows/20081209) In-Reply-To: <08054F25-1F90-4795-9FFE-01363F6900CE@gmail.com> X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) 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:108279 Archived-At: Adrian Robert wrote: >> 3) Make sure some kind of interrupt mechanism is in place to pick up >> ctrl-g events when emacs core is busy processing and does not itself >> make passes through the NS code event loop (colored spinning disk >> shown in gui). > > Here, the issue is that the SIGIO handler is never called, despite > being registered. It might be overridden by Cocoa in some way, though > I haven't been able to fully confirm this. > > In any case, I tried to use input polling (Fset_input_interrupt_mode > (Qnil)), but poll_for_input() does not get called during, for example, > (while t t). It seems that the QUIT macro does nothing to update > timers so the polling timer never fires. Making the QUIT macro call > handle_async_input() every time slows down emacs (esp during startup). > > Does anyone have any suggestions? On w32, we set Vquit_flag directly when Ctrl-G (quit_char) is pressed. This is done in the asyncronous key handling where the event gets put on the Lisp input queue, so it does not have to wait for the input queue to be polled.