From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Richard M Stallman Newsgroups: gmane.emacs.devel,gmane.emacs.bugs Subject: Re: bug#141: Process sentinel not called in batch mode Date: Fri, 16 May 2008 07:32:02 -0400 Message-ID: References: <87hcd1kcmz.fsf@stupidchicken.com> Reply-To: rms@gnu.org NNTP-Posting-Host: lo.gmane.org Content-Type: text/plain; charset=ISO-8859-15 X-Trace: ger.gmane.org 1210937645 19653 80.91.229.12 (16 May 2008 11:34:05 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 16 May 2008 11:34:05 +0000 (UTC) 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 To: Stefan Monnier , 141@emacsbugs.donarmstrong.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 16 13:34:42 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1JwyCv-0000xl-Sg for ged-emacs-devel@m.gmane.org; Fri, 16 May 2008 13:34:42 +0200 Original-Received: from localhost ([127.0.0.1]:49535 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwyCC-0004e5-Go for ged-emacs-devel@m.gmane.org; Fri, 16 May 2008 07:33:56 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwyBb-0004Pv-3M for emacs-devel@gnu.org; Fri, 16 May 2008 07:33:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwyBZ-0004Ou-CH for emacs-devel@gnu.org; Fri, 16 May 2008 07:33:18 -0400 Original-Received: from [199.232.76.173] (port=41043 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwyBY-0004OV-Lo; Fri, 16 May 2008 07:33:16 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:34858) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwyBQ-00088d-EW; Fri, 16 May 2008 07:33:16 -0400 Original-Received: from rms by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1JwyAM-0002Mk-Gm; Fri, 16 May 2008 07:32:02 -0400 In-reply-to: (message from Stefan Monnier on Wed, 14 May 2008 10:18:38 -0400) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:97263 gmane.emacs.bugs:18014 Archived-At: > 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. I don't claim this implies the code should not be changed.