From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: make-pointer-invisible on Windows Date: Fri, 26 Jun 2015 12:39:41 +0300 Message-ID: <83twtudd0i.fsf@gnu.org> References: <558A75C6.7040003@gmx.at> <83zj3pdusu.fsf@gnu.org> <558AEB8D.4070603@gmx.at> <83k2usewtv.fsf@gnu.org> <558BA156.6090508@gmx.at> <83a8vnesqm.fsf@gnu.org> <558CF75E.90801@gmx.at> <83wpyqdflh.fsf@gnu.org> <558D181A.4070402@gmx.at> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1435311611 29640 80.91.229.3 (26 Jun 2015 09:40:11 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 26 Jun 2015 09:40:11 +0000 (UTC) Cc: emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 26 11:40:04 2015 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1Z8Q7A-0005ll-2U for ged-emacs-devel@m.gmane.org; Fri, 26 Jun 2015 11:40:04 +0200 Original-Received: from localhost ([::1]:59059 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Q79-0003nX-3v for ged-emacs-devel@m.gmane.org; Fri, 26 Jun 2015 05:40:03 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:37047) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Q75-0003nM-Op for emacs-devel@gnu.org; Fri, 26 Jun 2015 05:40:00 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Z8Q70-0004j3-L6 for emacs-devel@gnu.org; Fri, 26 Jun 2015 05:39:59 -0400 Original-Received: from mtaout25.012.net.il ([80.179.55.181]:46655) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Z8Q70-0004i5-Cj for emacs-devel@gnu.org; Fri, 26 Jun 2015 05:39:54 -0400 Original-Received: from conversion-daemon.mtaout25.012.net.il by mtaout25.012.net.il (HyperSendmail v2007.08) id <0NQJ00H00P229J00@mtaout25.012.net.il> for emacs-devel@gnu.org; Fri, 26 Jun 2015 12:35:30 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout25.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NQJ007MYPB6C4B0@mtaout25.012.net.il>; Fri, 26 Jun 2015 12:35:30 +0300 (IDT) In-reply-to: <558D181A.4070402@gmx.at> X-012-Sender: halo1@inter.net.il X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x X-Received-From: 80.179.55.181 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.14 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 Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:187558 Archived-At: > Date: Fri, 26 Jun 2015 11:15:06 +0200 > From: martin rudalics > CC: emacs-devel@gnu.org > > > Btw, how does this work on X? When we wait in waitpid for a > > subprocess launched via "M-!", we are not supposed to call the > > read-socket hook, so the X messages that tell us to redraw portions of > > our frames are not supposed to be redrawn. > > .. not supposed to be processed. OK, thanks for confirming my understanding. > I didn't believe you could (reasonably) redraw the frame while > waiting for a subprocess, but you somehow sounded optimistic ... I understand what happens on XP: Windows sens us the WM_PAINT messages, which the input thread picks up and passes to the main thread. But the main thread is busy-waiting inside waitpid, so it doesn't react to those messages until the subprocess exist. What I don't understand is how come the frame _is_ redrawn on Windows 7, and that's something I still need to look into. It might mean there is a way of keeping the frame display updated after all. But if X doesn't, then the motivation for that gets lower, of course.