[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: jit-lock called at EOB?
From: |
David Kastrup |
Subject: |
Re: jit-lock called at EOB? |
Date: |
Fri, 29 Sep 2006 13:21:33 +0200 |
User-agent: |
Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux) |
Stefan Monnier <address@hidden> writes:
> The recent problems of "looping in jit-lock / redisplay" seem to be
> caused by the fact that every redisplay will call jit-lock at EOB
> because the text-property value of `fontified' at EOB is always nil
> (this is because get-text-property treats requests at EOB specially:
> there is no char there, so there can't be a property either, but
> instead of signalling an error it returns nil).
Wouldn't it make sense if rear-sticky properties of the last character
in the buffer would be returned by
(get-text-property (point-max))
?
--
David Kastrup, Kriemhildstr. 15, 44793 Bochum