GNU bug report logs - #9300
24.0.50; `bounds-of-thing-at-point' does not return nil when just after THING

Previous Next

Package: emacs;

Reported by: "Drew Adams" <drew.adams <at> oracle.com>

Date: Sun, 14 Aug 2011 22:39:03 UTC

Severity: minor

Found in version 24.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #95 received at 9300 <at> debbugs.gnu.org (full text, mbox):

From: Drew Adams <drew.adams <at> oracle.com>
To: Andreas Röhler <andreas.roehler <at> easy-emacs.de>,
 9300 <at> debbugs.gnu.org
Subject: RE: bug#9300: 24.0.50; `bounds-of-thing-at-point' does not return nil
 when just after THING
Date: Tue, 21 Jun 2016 06:25:24 -0700 (PDT)
> >>> FWIW, I agree with Dmitry: this has been a de-facto behavior long
> >>> enough to consider it the correct one. If documentation is confusing
> >>> in that it says otherwise, we should fix the documentation.
> >>
> >> I couldn't disagree more.
> >>
> >> It is wrong to consider the current behavior "the correct one",
> >> regardless of how long it has been in place.  It is wrong because
> >> you cannot use it in a general and precise way.  It is just broken.
> >> It has been broken for a long time, but it is broken nevertheless.
> >
> > That's immaterial.  It is being used in many places, and it's
> > obviously useful.
> 
> It is useful, but not in the way of the lemma "at-point". At-point
> means at cursor-position.  What is expected when calling "C-x ="
> -- probably not info WRT char after, but at cursor position.

Yes, but this has all been said before.  Eli knows this, but it does
not sway him.

And at least as important is the fact that "-at-" needs to refer to
only ONE POSITION, not two.

Currently, the function acts the same for both point and point-minus-1.
You cannot tell whether it has determined that the thing it returns
is at point or at point-minus-1.

But this too has all been said before, and Eli knows this too.
It too has not persuaded him.  It seems not to matter whether the
function DTRT.  The only thing that seems to matter to him is that
this broken behavior has been in effect for a while.




This bug report was last modified 3 years and 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.