emacs-devel
[Top][All Lists]
Advanced

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

Re: jit lock sit-for provokes redisplay provokes imenu


From: David Kastrup
Subject: Re: jit lock sit-for provokes redisplay provokes imenu
Date: Thu, 27 Jul 2006 18:27:26 +0200
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (gnu/linux)

Richard Stallman <address@hidden> writes:

>     Wouldn't it be safer if such counts would be compared for equality
>     only?
>
> It would be, but I doubt it is possible in general
> to use only equality comparisons.  Does someone want to study
> the question and see?

Another possibility would be to check the sign of their difference
instead of comparing them directly.

Then wraparound is not a problem, instead one of them has to have
moved more than half the total range away from the other before things
get ugly.

Probably less likely.

-- 
David Kastrup, Kriemhildstr. 15, 44793 Bochum




reply via email to

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