GNU bug report logs -
#6493
24.0.50; doc strings of region-beginning, region-end
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Tue, 22 Jun 2010 16:14:02 UTC
Severity: minor
Found in version 24.0.50
Done: Juanma Barranquero <lekktu <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #47 received at 6493 <at> debbugs.gnu.org (full text, mbox):
On Fri, 23 Jul 2010 11:45:13 -0400 Chong Yidong <cyd <at> stupidchicken.com> wrote:
> Juanma Barranquero <lekktu <at> gmail.com> writes:
>
>> On Fri, Jul 23, 2010 at 11:10, Deniz Dogan <deniz.a.m.dogan <at> gmail.com> wrote:
>>
>>> Attached is a new patch.
>>
>> Thanks.
>>
>> Three comments:
>
> Aside from these points (with which I agree), the addition of "as a
> nonnegative integer" is unnecessary. Point and mark are always
> non-negative. Also, it is important to keep the word "position",
> because mark could otherwise refer to the mark marker. I prefer:
>
> "Return the position of point or mark, whichever is smaller."
On Fri, 23 Jul 2010 09:16:48 -0700 "Drew Adams" <drew.adams <at> oracle.com> wrote:
> Point _is_ a position. It is the position of the cursor. So that text speaks
> about the position of the position of the cursor, which is incorrect.
>
> But you are correct that we do speak of "setting the mark at a position".
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'.)
Steve Berman
This bug report was last modified 14 years and 298 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.