From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Process sentinel not called in batch mode Date: Wed, 14 May 2008 10:18:38 -0400 Message-ID: References: <87hcd1kcmz.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1210774813 4419 80.91.229.12 (14 May 2008 14:20:13 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 14 May 2008 14:20:13 +0000 (UTC) Cc: 141@emacsbugs.donarmstrong.com, Helmut Eller , emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed May 14 16:20: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 1JwHpt-0008CW-SD for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 16:20:06 +0200 Original-Received: from localhost ([127.0.0.1]:35246 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwHpA-00053F-HP for ged-emacs-devel@m.gmane.org; Wed, 14 May 2008 10:19:20 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JwHow-0004o7-U2 for emacs-devel@gnu.org; Wed, 14 May 2008 10:19:07 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JwHos-0004hi-34 for emacs-devel@gnu.org; Wed, 14 May 2008 10:19:06 -0400 Original-Received: from [199.232.76.173] (port=34744 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JwHor-0004hP-PP for emacs-devel@gnu.org; Wed, 14 May 2008 10:19:01 -0400 Original-Received: from mercure.iro.umontreal.ca ([132.204.24.67]:38816) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1JwHor-0007Nc-Eb for emacs-devel@gnu.org; Wed, 14 May 2008 10:19:01 -0400 Original-Received: from hidalgo.iro.umontreal.ca (hidalgo.iro.umontreal.ca [132.204.27.50]) by mercure.iro.umontreal.ca (Postfix) with ESMTP id D0D892CF7AF; Wed, 14 May 2008 10:18:59 -0400 (EDT) Original-Received: from faina.iro.umontreal.ca (faina.iro.umontreal.ca [132.204.26.177]) by hidalgo.iro.umontreal.ca (Postfix) with ESMTP id E29783FE0; Wed, 14 May 2008 10:18:38 -0400 (EDT) Original-Received: by faina.iro.umontreal.ca (Postfix, from userid 20848) id CEF9641BEC; Wed, 14 May 2008 10:18:38 -0400 (EDT) In-Reply-To: <87hcd1kcmz.fsf@stupidchicken.com> (Chong Yidong's message of "Tue, 13 May 2008 19:28:04 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-DIRO-MailScanner-Information: Please contact the ISP for more information X-DIRO-MailScanner: Found to be clean X-DIRO-MailScanner-SpamCheck: n'est pas un polluriel, SpamAssassin (score=-2.82, requis 5, autolearn=not spam, ALL_TRUSTED -2.82) X-DIRO-MailScanner-From: monnier@iro.umontreal.ca X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:97143 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? Stefan