GNU bug report logs -
#8667
24.0.50; `bounds-of-thing-at-point' returns (N . N) for `comment'
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Fri, 13 May 2011 00:47:02 UTC
Severity: normal
Merged with 8670
Found in version 24.0.50
Done: "Drew Adams" <drew.adams <at> oracle.com>
Bug is archived. No further changes may be made.
Full log
Message #11 received at submit <at> debbugs.gnu.org (full text, mbox):
On 5/12/11 9:00 PM, Drew Adams wrote:
> - (if (and beg real-end (<= beg orig) (<= orig real-end))
> - (cons beg real-end))
>
> + (and beg real-end (<= beg orig) (<= orig real-end)
> + (/= beg read-end)
> + (cons beg real-end))
>
> and
>
> - (if (and real-beg end (<= real-beg orig) (<= orig end))
> - (cons real-beg end)))
>
> + (and real-beg end (<= real-beg orig) (<= orig end)
> + (/= real-beg end)
> + (cons real-beg end))
>
> (Dunno why some people insist on using `(if (and...) singleton)'. It gets in
> the way of readability and just represents extra noise. Binary `if' is
> generally an impediment to readability and communicating intention.)
Readability is in the eye of the beholder, intention is in the mind of the
author.
Personally, I think (if (and...) result) communicates the intent more clearly
than (and ... result)
--
Kevin Rodgers
Denver, Colorado, USA
This bug report was last modified 14 years and 61 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.