[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [CVS] [patch] text property `point-entered': function called to ofte
From: |
Richard Stallman |
Subject: |
Re: [CVS] [patch] text property `point-entered': function called to often |
Date: |
Mon, 03 Mar 2003 13:58:56 -0500 |
According to this, Emacs should *not* call the function that is the
value of those text properties, if the value at the old location and
the value at the new one are `eq'. This BTW is already suggested by
the names `point-left' and `point-entered'.
Sometimes it should. Consider this text, which is just below
the manual text you cited:
The same comparison is made for the characters before the old and new
locations. The result may be to execute two @code{point-left} functions
(which may be the same function) and/or two @code{point-entered}
functions (which may be the same function). In any case, all the
@code{point-left} functions are called first, followed by all the
@code{point-entered} functions.
But Emacs calls this function _each_ time point moves.
For me, it does so only when the surrounding point-entered
and point-left properties change.
The code appears to be correct.
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: [CVS] [patch] text property `point-entered': function called to often,
Richard Stallman <=