From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Daniel Colascione Newsgroups: gmane.emacs.bugs Subject: bug#24849: Is Emacs put in idle mode when window is not focused? Date: Tue, 1 Nov 2016 13:44:43 -0700 Message-ID: <12126fee-ae4f-9ce3-5a31-22e38ba04dcf@dancol.org> References: <83oa1znpah.fsf@gnu.org> <83wpgnm014.fsf@gnu.org> <26658800-320f-359a-6e35-a9deb06d5ed0@dancol.org> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-Trace: blaine.gmane.org 1478033131 3153 195.159.176.226 (1 Nov 2016 20:45:31 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2016 20:45:31 +0000 (UTC) User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 Cc: 24849@debbugs.gnu.org To: Johan Andersson Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Tue Nov 01 21:45:28 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1fvk-00072C-Iq for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Nov 2016 21:45:12 +0100 Original-Received: from localhost ([::1]:51159 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1fvn-0004Y0-85 for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Nov 2016 16:45:15 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50041) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1fvd-0004Va-Gw for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 16:45:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1fva-0001Vl-Da for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 16:45:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52277) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c1fva-0001Va-BF for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 16:45:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c1fva-00050r-4u for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 16:45:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Daniel Colascione Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Nov 2016 20:45:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 24849 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 24849-submit@debbugs.gnu.org id=B24849.147803308919238 (code B ref 24849); Tue, 01 Nov 2016 20:45:02 +0000 Original-Received: (at 24849) by debbugs.gnu.org; 1 Nov 2016 20:44:49 +0000 Original-Received: from localhost ([127.0.0.1]:39443 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1fvN-00050E-EF for submit@debbugs.gnu.org; Tue, 01 Nov 2016 16:44:49 -0400 Original-Received: from dancol.org ([96.126.100.184]:43302) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1fvL-000504-Kn for 24849@debbugs.gnu.org; Tue, 01 Nov 2016 16:44:48 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=dancol.org; s=x; h=Content-Transfer-Encoding:Content-Type:In-Reply-To:MIME-Version:Date:Message-ID:From:Cc:References:To:Subject; bh=JGNaXPjYxRurFH+YDBs2/GW71xp9WWtV3hyYi3wTAB0=; b=ogqyBmIN6+WLyMpG/eqg/Kx7fJ1KaWa/XC+NR1mp9JSzj087V03U5GO9SV4I11cjNbAmwSBxG14ae6pB4B0wJFXih4KevaZGQfQP/LXf7chpaDxybH92jWo9wVVfAqU5ggkKCN+1i+aND0x9SC6FVUrTHtiBlLT5DQJhCCWeJ41qL+mc/x7262wEGH3c6sDNh2zBk0WAiR40pp2veBOkbkz8IRNQxXWxhEUZRf0mRYvkJrvUfpZXjwZ2nq4+/LeUzb+xXtCfSbmX1+8VT06lnxYc+Bsu1wQ6d6XO2hULyfhf+jXWHioMKfW6q5Q7ZTL7HQPDXgFsVRWXlrmaYnvmqg==; Original-Received: from c-73-97-199-232.hsd1.wa.comcast.net ([73.97.199.232] helo=[192.168.1.173]) by dancol.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from ) id 1c1fvK-0005sS-SW; Tue, 01 Nov 2016 13:44:46 -0700 In-Reply-To: X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:125242 Archived-At: On 11/01/2016 01:41 PM, Johan Andersson wrote: >> Please start your reply below the text to which you're replying. > > Ok, then I guess that's default in Gmail. This better? Yep. But please also trim your replies, as I have done. >> ... Internal buffering is a common cause of complaints about parent > processes not seeing output from children. > > I understand that, but that's not my issue here. The sub process might > not have any output at all, but I would still expect that sub process to > respond to my requests. Ah, I see. I think I've misunderstood. The problem isn't that Emacs isn't responding to the subprocess saying something to Emacs, but that the subprocess _itself_ isn't responding quickly to requests it's getting over the network, and that this stalling occurs only when your subprocess is run under Emacs? We shouldn't be seeing this issue either: Emacs subprocesses do not run in some weird environment. I still think a system call trace will help clear up this problem.