[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#24849: Is Emacs put in idle mode when window is not focused?
From: |
Eli Zaretskii |
Subject: |
bug#24849: Is Emacs put in idle mode when window is not focused? |
Date: |
Tue, 01 Nov 2016 22:13:11 +0200 |
> From: Johan Andersson <johan.andersson@burtcorp.com>
> Date: Tue, 1 Nov 2016 20:48:59 +0100
> Cc: 24849@debbugs.gnu.org
>
> (let* ((default-directory "/tmp")
> (process (start-process "server" nil "python" "-m" "SimpleHTTPServer"
> "8000")))
> (set-process-filter
> process
> (lambda (_ output)
> ;; ...
> )))
>
> What happens in practice is that, when I get to work, I select the services I
> need and start them (unless
> Emacs was killed, they are already started). Sometimes I use Emacs quite
> frequently and then this is not so
> much of an issue because Emacs does not have time to idle. But when I don't
> use Emacs for a while, it will
> hang waiting for the response from the service (because Emacs is idle).
So you are saying that the service, which is a sub-process of Emacs,
produces some output, but Emacs doesn't read that output timely enough
because it's idle? That's not possible, I think: when Emacs is idle,
it is most of the time stuck inside a call to 'pselect', which should
return immediately when some input arrived from a sub-process.
So I guess I still don't understand something in your setup. But
what?
- bug#24849: Is Emacs put in idle mode when window is not focused?, Johan Andersson, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?, Eli Zaretskii, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?, Johan Andersson, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?,
Eli Zaretskii <=
- bug#24849: Is Emacs put in idle mode when window is not focused?, Johan Andersson, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?, Daniel Colascione, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?, Johan Andersson, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?, Daniel Colascione, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?, Johan Andersson, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?, Daniel Colascione, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?, Johan Andersson, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?, Alan Third, 2016/11/01
- bug#24849: Is Emacs put in idle mode when window is not focused?, Johan Andersson, 2016/11/02
- bug#24849: Is Emacs put in idle mode when window is not focused?, Eli Zaretskii, 2016/11/01