GNU bug report logs -
#8628
24.0.50; `thing-at-point-bounds-of-list-at-point' - no good
Previous Next
Reported by: "Drew Adams" <drew.adams <at> oracle.com>
Date: Fri, 6 May 2011 00:31:02 UTC
Severity: wishlist
Found in version 24.0.50
Done: Chong Yidong <cyd <at> stupidchicken.com>
Bug is archived. No further changes may be made.
Full log
Message #28 received at 8628 <at> debbugs.gnu.org (full text, mbox):
"Drew Adams" <drew.adams <at> oracle.com> writes:
> Besides which, we might as well get rid of
> `thing-at-point-bounds-of-list-at-point' and the `(put 'list
> 'bounds-of-thing-at-point 'thing-at-point-bounds-of-list-at-point)'.
>
> There is no generally no reason to define such
> `thing-at-point-bounds-of...' functions. The regular
> `bounds-of-thing-at-point' should work, and it does.
>
> Try M-: (bound-of-thing-at-point 'list) instead of M-:
>
> (thing-at-point-bounds-of-list-at-point). It returns (191 . 218) at
> the first location (which corresponds to the list before point, which
> I suppose is OK - it's certainly a lot better than the current
> behavior). And it returns nil at eob, which is correct.
This is incorrect; thing-at-point-bounds-of-list-at-point is a helper
function that is called by `bounds-of-thing-at-point'. If removed,
(bounds-of-thing-at-point 'list) no longer works.
I've marked thing-at-point-bounds-of-list-at-point explicitly as an
internal function, and will close this bug.
This bug report was last modified 13 years and 323 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.