unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Glenn Morris <rgm@gnu.org>
To: David Kastrup <dak@gnu.org>
Cc: Dieter Wilhelm <dieter@duenenhof-wilhelm.de>, emacs-devel@gnu.org
Subject: Re: typo in accept-process-output (process.c)
Date: Sun, 05 Aug 2007 16:01:16 -0400	[thread overview]
Message-ID: <w0tzrd3g4z.fsf@fencepost.gnu.org> (raw)
In-Reply-To: <85643u8955.fsf@lola.goethe.zz> (David Kastrup's message of "Sun,  05 Aug 2007 14:21:10 +0200")

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).

  reply	other threads:[~2007-08-05 20:01 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-08-05 12:04 typo in accept-process-output (process.c) Dieter Wilhelm
2007-08-05 12:21 ` David Kastrup
2007-08-05 20:01   ` Glenn Morris [this message]
2007-08-05 22:54     ` Dieter Wilhelm
2007-08-06  0:06       ` Nick Roberts
2007-08-06  6:41         ` Dieter Wilhelm
2007-08-06 14:19     ` Richard Stallman
2007-08-06 20:50       ` Michael Olson
2007-08-07 11:02         ` Stephen Berman
2007-08-07 11:18           ` David Kastrup
2007-08-07 11:31         ` Jason Rumney
2007-08-07 16:37           ` Stefan Monnier
2007-08-07 17:33             ` Drew Adams
2007-08-07 22:01               ` Dieter Wilhelm
2007-08-07 22:17                 ` Lennart Borgman (gmail)
2007-08-07 23:16                   ` Drew Adams
2007-08-08  0:06                     ` Jason Rumney
2007-08-08  0:21                       ` Drew Adams
2007-08-09  0:07                   ` Richard Stallman
2007-08-08  3:06                 ` Eli Zaretskii
2007-08-08  5:50                   ` Dieter Wilhelm
2007-08-08 18:43                     ` Eli Zaretskii
2007-08-08 20:14                       ` David Kastrup
2007-08-08 20:24                       ` Stefan Monnier
2007-08-08 20:27                         ` martin rudalics
2007-08-08 20:53                           ` Stefan Monnier
2007-08-12 20:33                       ` Christian Schlauer
2007-08-12 22:01                         ` Stephen Berman
2007-08-13  5:00                         ` Richard Stallman
2007-08-05 20:54   ` Richard Stallman
2007-08-08  7:54     ` Glenn Morris
2007-08-09  0:07       ` Richard Stallman

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=w0tzrd3g4z.fsf@fencepost.gnu.org \
    --to=rgm@gnu.org \
    --cc=dak@gnu.org \
    --cc=dieter@duenenhof-wilhelm.de \
    --cc=emacs-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).