bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#8628: 24.0.50; `thing-at-point-bounds-of-list-at-point' - no good


From: Chong Yidong
Subject: bug#8628: 24.0.50; `thing-at-point-bounds-of-list-at-point' - no good
Date: Thu, 07 Jul 2011 14:43:41 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (gnu/linux)

"Drew Adams" <drew.adams@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.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]