From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel,gmane.emacs.bugs Subject: Re: bug#141: Process sentinel not called in batch mode Date: Mon, 19 May 2008 04:24:19 -0400 Message-ID: References: <87hcd1kcmz.fsf@stupidchicken.com> <873aofvvzn.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 1211185546 5393 80.91.229.12 (19 May 2008 08:25:46 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 19 May 2008 08:25:46 +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: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon May 19 10:26:23 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 1Jy0hL-00072P-9U for ged-emacs-devel@m.gmane.org; Mon, 19 May 2008 10:26:23 +0200 Original-Received: from localhost ([127.0.0.1]:54717 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jy0gb-0002Gw-DT for ged-emacs-devel@m.gmane.org; Mon, 19 May 2008 04:25:37 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jy0fl-0001vz-2a for emacs-devel@gnu.org; Mon, 19 May 2008 04:24:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jy0fk-0001vK-Cb for emacs-devel@gnu.org; Mon, 19 May 2008 04:24:44 -0400 Original-Received: from [199.232.76.173] (port=46292 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jy0fh-0001tN-Hy; Mon, 19 May 2008 04:24:41 -0400 Original-Received: from 206-248-170-48.dsl.teksavvy.com ([206.248.170.48]:39771 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Jy0fc-0001BJ-6Y; Mon, 19 May 2008 04:24:36 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id F0FB2B4F21; Mon, 19 May 2008 04:24:19 -0400 (EDT) In-Reply-To: <873aofvvzn.fsf@stupidchicken.com> (Chong Yidong's message of "Sun, 18 May 2008 23:00:28 -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, 3) X-Greylist: delayed 103112 seconds by postgrey-1.27 at monty-python; Mon, 19 May 2008 04:24:36 EDT 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:97384 gmane.emacs.bugs:18050 Archived-At: >>>> 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? The one you proposed seems right, Stefan