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
View this message in rfc822 format
> > "Returns point or mark, whichever is larger."
>
> How about this (for region-end):
>
> "Returns point or mark, whichever is larger.
> The returned value is the position of the end of the region
> as an integer."
The end of the region is always a position, so no need to speak of the position
of the end of the region.
We don't really need to say that a number is returned, as opposed to a marker.
"Point" is a position, which is a number (natnump). "Mark" is more ambiguous -
it is sometimes referred to as a marker and sometimes as the position of that
marker. So it's probably good to mention that a number is returned, even if not
really necessary. (We also need not specify what kind of number, since it is a
position, but that doesn't hurt either.)
"Returns the larger of point or mark, as a nonnegative integer."
We can add that the function "raises an error if the mark is not set".
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.