emacs-devel
[Top][All Lists]
Advanced

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

Re: Three strikes them out


From: Lennart Borgman (gmail)
Subject: Re: Three strikes them out
Date: Sun, 01 Jun 2008 12:09:59 +0200
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.1.9) Gecko/20071031 Thunderbird/2.0.0.9 Mnenhy/0.7.5.666

martin rudalics wrote:
 > And it is still very hard to find those bugs sometimes. One suggestion
 > that have been given here to test fontification code is to run it by
 > calling for example font-lock-fontify-region.
 >
 > That does not always work because that function fontifies from top to
 > bottom, but the bug may perhaps only show up in other situations.

You could try writing a small testbed which turns off regular font-lock
and allows to _manually_ trigger refontification (and contextual
refontification) according to what jit-lock and font-lock would do in
case of a buffer change.  Then you could step through these routines
with edebug without being hit by intercepting timers.

It is a good idea. I could extend my testbed like that.

However if a user discovers the problem it would be good to have a debugger that writes a log somewhere that a user can send with a bug report.




reply via email to

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