[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#141: Process sentinel not called in batch mode

From: Stefan Monnier
Subject: bug#141: Process sentinel not called in batch mode
Date: Fri, 16 May 2008 15:24:04 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux)

>> >> This side I understand, but what about the other: why should we not
>> >> check process status in the case where we are not redisplaying?
>> > Because Emacs generally looks at process output only when it's idle?
>> I don't follow: we're talking about when should
>> wait_reading_process_output check status_notify.
>> So to repeat/rephrase my question: why doesn't
>> wait_reading_process_output call status_notify when it is passed a zero
>> do_display?

> Sorry, let me explain my line of thought in more detail: Emacs only
> does a redisplay when it is idle.  Emacs also checks input from
> subprocesses when it is idle.  If we are not in redisplay, it means
> Emacs is not idle, and so it makes sense not to check for subprocess
> output at that time.

> Does this make any sense?

But if we're in wait_reading_process_output, that means that idle or
not, we're checking for process output, so why not check for process
status changes as well?


reply via email to

[Prev in Thread] Current Thread [Next in Thread]