From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel,gmane.emacs.bugs Subject: Re: bug#141: Process sentinel not called in batch mode Date: Sun, 18 May 2008 23:00:28 -0400 Message-ID: <873aofvvzn.fsf@stupidchicken.com> 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 1211166096 25071 80.91.229.12 (19 May 2008 03:01:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2008 03:01:36 +0000 (UTC) Cc: 141@emacsbugs.donarmstrong.com, rms@gnu.org, bug-gnu-emacs@gnu.org, eller.helmut@gmail.com, emacs-devel@gnu.org, Eli Zaretskii , bug-submit-list@donarmstrong.com To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 19 05:02:13 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 1Jxvdb-0005JL-B4 for ged-emacs-devel@m.gmane.org; Mon, 19 May 2008 05:02:11 +0200 Original-Received: from localhost ([127.0.0.1]:43827 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jxvcr-0005Ve-Ko for ged-emacs-devel@m.gmane.org; Sun, 18 May 2008 23:01:25 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jxvc9-0004zT-RF for emacs-devel@gnu.org; Sun, 18 May 2008 23:00:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jxvc9-0004ym-6t for emacs-devel@gnu.org; Sun, 18 May 2008 23:00:41 -0400 Original-Received: from [199.232.76.173] (port=44217 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jxvc7-0004wW-7Q; Sun, 18 May 2008 23:00:39 -0400 Original-Received: from c-98-216-111-182.hsd1.ma.comcast.net ([98.216.111.182]:15713 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jxvby-0004R0-7W; Sun, 18 May 2008 23:00:30 -0400 Original-Received: by furry (Postfix, from userid 1000) id 2B227C049; Sun, 18 May 2008 23:00:28 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Sat, 17 May 2008 23:45:48 -0400") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) 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:97374 gmane.emacs.bugs:18047 Archived-At: Stefan Monnier writes: >>> But if we're in wait_reading_process_output, that means that idle or >>> not, we're checking for process output, so why not check for process >>> status changes as well? > >> Because status_notify has a side effect of triggering redisplay. > > Thanks. Now it makes a lot more sense. Please add a corresponding > comment on the do_display check. What do you think should be the fix for the original problem?