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: A question on wait_reading_process_output Date: Thu, 29 May 2008 22:15:31 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1212113758 28749 80.91.229.12 (30 May 2008 02:15:58 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 30 May 2008 02:15:58 +0000 (UTC) Cc: emacs-devel@gnu.org To: Herbert Euler Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri May 30 04:16:39 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 1K1uAW-0000O5-1q for ged-emacs-devel@m.gmane.org; Fri, 30 May 2008 04:16:36 +0200 Original-Received: from localhost ([127.0.0.1]:52692 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1u9k-0003qi-9d for ged-emacs-devel@m.gmane.org; Thu, 29 May 2008 22:15:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K1u9f-0003qc-Vs for emacs-devel@gnu.org; Thu, 29 May 2008 22:15:44 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K1u9e-0003qQ-K2 for emacs-devel@gnu.org; Thu, 29 May 2008 22:15:43 -0400 Original-Received: from [199.232.76.173] (port=58616 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K1u9e-0003qN-F3 for emacs-devel@gnu.org; Thu, 29 May 2008 22:15:42 -0400 Original-Received: from 206-248-174-248.dsl.teksavvy.com ([206.248.174.248]:36810 helo=ceviche.home) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K1u9e-0005rR-Av for emacs-devel@gnu.org; Thu, 29 May 2008 22:15:42 -0400 Original-Received: by ceviche.home (Postfix, from userid 20848) id 2368BB41E2; Thu, 29 May 2008 22:15:31 -0400 (EDT) In-Reply-To: (Herbert Euler's message of "Fri, 30 May 2008 09:27:55 +0800") 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-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:98032 Archived-At: > + got_some_input =3D total_nread> 0 ? 1 : 0; Which, by the =CE=B7-reduction rule, can be replaced advantageously by: got_some_input =3D total_nread > 0; =E2=80=93 Stefan