From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#24849: Is Emacs put in idle mode when window is not focused? Date: Tue, 01 Nov 2016 22:45:29 +0200 Message-ID: <83twbrlyja.fsf@gnu.org> References: <83oa1znpah.fsf@gnu.org> <83wpgnm014.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org X-Trace: blaine.gmane.org 1478033187 28259 195.159.176.226 (1 Nov 2016 20:46:27 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 1 Nov 2016 20:46:27 +0000 (UTC) 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:46:20 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 1c1fwe-0005HP-TO for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Nov 2016 21:46:09 +0100 Original-Received: from localhost ([::1]:51163 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1fwh-00053s-NR for geb-bug-gnu-emacs@m.gmane.org; Tue, 01 Nov 2016 16:46:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50479) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1fwb-00053Z-07 for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 16:46:05 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1fwX-0001tR-Uk for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 16:46:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:52281) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1c1fwX-0001tM-RC for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 16:46:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1c1fwX-00052Y-I0 for bug-gnu-emacs@gnu.org; Tue, 01 Nov 2016 16:46:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 01 Nov 2016 20:46:01 +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.147803314119348 (code B ref 24849); Tue, 01 Nov 2016 20:46:01 +0000 Original-Received: (at 24849) by debbugs.gnu.org; 1 Nov 2016 20:45:41 +0000 Original-Received: from localhost ([127.0.0.1]:39447 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1fw9-00051x-NB for submit@debbugs.gnu.org; Tue, 01 Nov 2016 16:45:41 -0400 Original-Received: from eggs.gnu.org ([208.118.235.92]:59371) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1c1fw7-00051k-SL for 24849@debbugs.gnu.org; Tue, 01 Nov 2016 16:45:36 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1c1fvz-0001kA-Nb for 24849@debbugs.gnu.org; Tue, 01 Nov 2016 16:45:30 -0400 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:45487) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1c1fvz-0001k6-KK; Tue, 01 Nov 2016 16:45:27 -0400 Original-Received: from 84.94.185.246.cable.012.net.il ([84.94.185.246]:4404 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1c1fvw-0003bI-Qb; Tue, 01 Nov 2016 16:45:27 -0400 In-reply-to: (message from Johan Andersson on Tue, 1 Nov 2016 21:18:28 +0100) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] 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:125243 Archived-At: > From: Johan Andersson > Date: Tue, 1 Nov 2016 21:18:28 +0100 > Cc: 24849@debbugs.gnu.org > > I added the set-process-filter in case that would make a difference, but I don't think that is the issue here. The > issue is that the services (sub processes of Emacs as you say) takes a long time to respond when Emacs is > idle. If I run the same command from a terminal, that doesn't happen. "To respond"? That is, Emacs sends something to the service, and the time between that and the response is too long? Are you sure it's the time between the input to the service and its response that's long? Could it be that Emacs delays sending the input instead? Maybe you could describe in more detail how the communications between Emacs and the service work. E.g., what triggers sending input from Emacs to the service?