From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: typo in accept-process-output (process.c) Date: Sun, 05 Aug 2007 16:01:16 -0400 Message-ID: References: <87ejiinq6b.fsf@debby.local.net> <85643u8955.fsf@lola.goethe.zz> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186343933 3320 80.91.229.12 (5 Aug 2007 19:58:53 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Sun, 5 Aug 2007 19:58:53 +0000 (UTC) Cc: Dieter Wilhelm , emacs-devel@gnu.org To: David Kastrup Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Sun Aug 05 21:58:51 2007 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 1IHmFW-0000q2-Ba for ged-emacs-devel@m.gmane.org; Sun, 05 Aug 2007 21:58:51 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHmFT-0005eo-Ul for ged-emacs-devel@m.gmane.org; Sun, 05 Aug 2007 15:58:47 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IHmFR-0005ej-OM for emacs-devel@gnu.org; Sun, 05 Aug 2007 15:58:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IHmFP-0005eX-9t for emacs-devel@gnu.org; Sun, 05 Aug 2007 15:58:44 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IHmFP-0005eU-4M for emacs-devel@gnu.org; Sun, 05 Aug 2007 15:58:43 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IHmFN-00042i-5A for emacs-devel@gnu.org; Sun, 05 Aug 2007 15:58:41 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.60) (envelope-from ) id 1IHmHs-00006E-JI; Sun, 05 Aug 2007 16:01:16 -0400 X-Spook: Qaddafi Firewalls Chobetsu embassy bemd SAFE STARLAN CISU X-Ran: h+0oYiT42^#^-}8L7~u%iy#*)|i!5:`N=>>c2FkI9!%x!fxXcI:*j_!LO (David Kastrup's message of "Sun, 05 Aug 2007 14:21:10 +0200") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-Detected-Kernel: Linux 2.6, seldom 2.4 (older, 4) 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:76058 Archived-At: David Kastrup wrote: >> -Return non-nil iff we received any output before the timeout expired. */) >> +Return non-nil if we received any output before the timeout expired. */) >> (process, seconds, millisec, just_this_one) >> register Lisp_Object process, seconds, millisec, just_this_one; > > That is not a typo. It is, however, a deprecated usage that consistently confuses people, exactly as it has done here. This motivates me to tackle the TODO item to get rid of the "iff"s. So the job only has to be done once, what replacement will people be happy with? Personally, I think plain "if" would be just fine, except perhaps to the tediously literal-minded. Failing that, "only if". As a last resort, "if and only if" (yuck).