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 17:41:45 +0300

> From: Stefan Monnier <monnier@iro.umontreal.ca>
> Date: Fri, 16 May 2008 09:25:54 -0400
> Cc: 141@emacsbugs.donarmstrong.com, cyd@stupidchicken.com,
>       eller.helmut@gmail.com, emacs-devel@gnu.org,
>       bug-submit-list@donarmstrong.com, bug-gnu-emacs@gnu.org
> 
> >> This problem occurs because wait_reading_process_output only calls
> >> status_notify when given a nonzero DO_DISPLAY argument (process.c:4451).
> >> Although wait_reading_process_output is called from many places in
> >> Emacs, it is given a nonzero DO_DISPLAY argument only during
> >> kbd_buffer_get_event.  But that function is never called in batch mode.
> 
> >     Does anyone know why we test do_display there?
> 
> > I think the idea is, if you are going to update the display, it is
> > good to display the fact that a process has terminated.
> 
> 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?






reply via email to

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