emacs-devel
[Top][All Lists]
Advanced

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

Re: Possible `point-entered' `point-left' Text Property Bug


From: Chong Yidong
Subject: Re: Possible `point-entered' `point-left' Text Property Bug
Date: Fri, 12 May 2006 10:05:37 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

>     When executing previous-line and next-line, a situation can arise
>     where no "character before point" is found for the point left, whereas
>     one exists for the point entered (or vice versa).  That's why the
>     point-entered/left hooks are called.
>
> That seems like correct behavior to me.  At least, more correct than
> the alternative.  If the entered/left functions are called in this
> case, they can detect this case and decide to do nothing.  But if we
> change the code NOT to call them in this case, and some program wants
> them to be called, there is nothing it can do.
>
> Does this behavior really cause a problem that is hard to work around?
> Or did it just strike people as incorrect?

It struck the bug reporter as incorrect.  I don't know any real-life
problem that it causes.




reply via email to

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