bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#141: Process sentinel not called in batch mode


From: Eli Zaretskii
Subject: bug#141: Process sentinel not called in batch mode
Date: Fri, 16 May 2008 22:08:35 +0300

> From: Stefan Monnier <address@hidden>
> Cc: address@hidden,  address@hidden,  address@hidden,  address@hidden,  
> address@hidden,  address@hidden,  address@hidden
> Date: Fri, 16 May 2008 12:57:16 -0400
> 
> >> 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?






reply via email to

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