emacs-devel
[Top][All Lists]
Advanced

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

Re: bug#141: Process sentinel not called in batch mode


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

>> 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?


        Stefan




reply via email to

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