From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: no-spam@cua.dk (Kim F. Storm) Newsgroups: gmane.emacs.devel Subject: Re: buffering of process output Date: Mon, 11 Oct 2004 00:36:07 +0200 Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Message-ID: References: <20030716.123727.83083338.kazu@iijlab.net> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1097447793 538 80.91.229.6 (10 Oct 2004 22:36:33 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 10 Oct 2004 22:36:33 +0000 (UTC) Cc: "Kazu Yamamoto \(=?utf-8?b?5bGx5pys5ZKM5b2m?=\)" , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Oct 11 00:36:28 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CGmIl-0004TH-00 for ; Mon, 11 Oct 2004 00:36:27 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGmPf-0002zT-I4 for ged-emacs-devel@m.gmane.org; Sun, 10 Oct 2004 18:43:35 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CGmPP-0002vz-IS for emacs-devel@gnu.org; Sun, 10 Oct 2004 18:43:19 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CGmPN-0002th-OO for emacs-devel@gnu.org; Sun, 10 Oct 2004 18:43:18 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CGmPN-0002tW-IB for emacs-devel@gnu.org; Sun, 10 Oct 2004 18:43:17 -0400 Original-Received: from [195.41.46.236] (helo=pfepb.post.tele.dk) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CGmIJ-0000w4-O6 for emacs-devel@gnu.org; Sun, 10 Oct 2004 18:35:59 -0400 Original-Received: from kfs-l.imdomain.dk.cua.dk (0x503e2644.bynxx3.adsl-dhcp.tele.dk [80.62.38.68]) by pfepb.post.tele.dk (Postfix) with SMTP id 0FA155EE037; Mon, 11 Oct 2004 00:35:57 +0200 (CEST) Original-To: Andreas Schwab In-Reply-To: (Andreas Schwab's message of "Sun, 10 Oct 2004 16:09:16 +0200") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/21.3.50 (gnu/linux) 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: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:28197 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:28197 Andreas Schwab writes: > storm@cua.dk (Kim F. Storm) writes: > > It doesn't. It's because there is no call to XFlush during the read loop > in call-process. See the comment in xterm.c: > > /* Remove calls to XFlush by defining XFlush to an empty replacement. > Calls to XFlush should be unnecessary because the X output buffer > is flushed automatically as needed by calls to XPending, > XNextEvent, or XWindowEvent according to the XFlush man page. > XTread_socket calls XPending. Removing XFlush improves > performance. */ > > Thus redisplay_preserve_echo_area does not call XFlush any more. > > Andreas. Thanks for the explanation. I'll fix that. -- Kim F. Storm http://www.cua.dk