GNU bug report logs - #15312
Info (point-entered, point-left): Doc incomplete, hence incorrect

Previous Next

Package: emacs;

Reported by: Jambunathan K <kjambunathan <at> gmail.com>

Date: Mon, 9 Sep 2013 13:34:02 UTC

Severity: minor

Done: Jambunathan K <kjambunathan <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


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

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: 15312 <at> debbugs.gnu.org, kjambunathan <at> gmail.com
Subject: Re: bug#15312: Info (point-entered, point-left): Doc incomplete,
 hence incorrect
Date: Fri, 13 Sep 2013 11:15:10 -0400
> Sorry, I don't understand what you are saying about the original issue
> with point-entered/left.  Are you saying that the code works
> correctly, or are you saying it has a bug?

That the code that uses the `point-entered/left' property (just like
the code that uses the other mentioned properties like `display',
`mouse-face', ...) considers runs of characters with the same property
value as belonging together; which means that the text-property is used
to specify a kind of interval.

Clearly, this disagrees with:

    ,----  (info "(elisp) Not Intervals")
    | "What are the properties of this character?"  So we have decided these
    | are the only questions that make sense; we have not implemented asking
    | questions about where intervals start or end.
    `----

And actually the above text is incorrect/incomplete in the sense that
next-single-property-change clearly implements a functionality that lets
you "ask questions about where intervals start or end".


        Stefan




This bug report was last modified 11 years and 249 days ago.

Previous Next


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