unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: "Drew Adams" <drew.adams@oracle.com>
To: "'Stephen Berman'" <stephen.berman@gmx.net>,
	"'Chong Yidong'" <cyd@stupidchicken.com>
Cc: 'Juanma Barranquero' <lekktu@gmail.com>,
	6493@debbugs.gnu.org, 'Deniz Dogan' <deniz.a.m.dogan@gmail.com>
Subject: bug#6493:
Date: Fri, 23 Jul 2010 10:26:59 -0700	[thread overview]
Message-ID: <5C27C3C9B5A74BDC85D2D78C4E68F276@us.oracle.com> (raw)
In-Reply-To: <87y6d2jfm2.fsf@escher.home>

> How about this:
> "Return the smaller of the integer value of point or the mark."
> (`value' is used in the doc strings of 'point' and `mark'.)

The scope of "the integer value of" is ambiguous.  Does it apply to "point or
the mark" or to just to "point"?  In the latter case, if the mark is smaller
than the integer value of point then the mark is returned.  (Yes, a marker can
be compared numerically.)

And in that case, it is incorrect.  The mark is a marker.  A marker is never
returned here - it is the integer value of the mark (or of point) that is
returned.

And in the former case, the grammar is incorrect - it should be "and" not "or".
It's `min' applied to a plurality (2) of things, not just to one of them.  So
"value" needs to be "values" and "or" needs to be "and".  Hence:

"Return the smaller of the integer values of point and mark."

But that could conceivably be misread to suggest that either can have multiple
values...

This is what I recommend (very close to what I mentioned in the beginning):

"Return the integer value of point or mark, whichever is smaller."







  reply	other threads:[~2010-07-23 17:26 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-22 16:13 bug#6493: 24.0.50; doc strings of region-beginning, region-end Drew Adams
2010-06-27 12:26 ` bug#6493: Deniz Dogan
2010-06-27 13:52   ` bug#6493: Drew Adams
2010-06-27 14:02     ` bug#6493: Deniz Dogan
2010-06-27 14:18       ` bug#6493: Drew Adams
2010-06-27 14:29         ` bug#6493: Deniz Dogan
2010-06-27 14:33           ` bug#6493: Drew Adams
2010-07-10 23:41             ` bug#6493: Deniz Dogan
2010-07-11  4:20               ` bug#6493: Drew Adams
2010-07-23  0:12                 ` bug#6493: Juanma Barranquero
2010-07-23  9:10                   ` bug#6493: Deniz Dogan
2010-07-23  9:30                     ` bug#6493: Juanma Barranquero
2010-07-23 15:45                       ` bug#6493: Chong Yidong
2010-07-23 16:16                         ` bug#6493: Drew Adams
2010-07-23 17:02                         ` bug#6493: Stephen Berman
2010-07-23 17:26                           ` Drew Adams [this message]
2010-07-23 17:32                             ` bug#6493: Juanma Barranquero
2010-07-29 11:44                               ` bug#6493: Juanma Barranquero
2010-07-29 15:16                                 ` bug#6493: Johan Bockgård
2010-08-01 19:01                                   ` bug#6493: Juanma Barranquero
2010-08-01 21:17                                     ` bug#6493: Drew Adams
2010-08-02  3:30                                       ` bug#6493: Juanma Barranquero
2010-08-02  5:09                                         ` bug#6493: Drew Adams
2010-08-02  5:34                                         ` bug#6493: Drew Adams
2010-08-02  6:43                                           ` bug#6493: Juanma Barranquero
2010-07-29 15:58                                 ` bug#6493: Chong Yidong

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=5C27C3C9B5A74BDC85D2D78C4E68F276@us.oracle.com \
    --to=drew.adams@oracle.com \
    --cc=6493@debbugs.gnu.org \
    --cc=cyd@stupidchicken.com \
    --cc=deniz.a.m.dogan@gmail.com \
    --cc=lekktu@gmail.com \
    --cc=stephen.berman@gmx.net \
    /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).