emacs-devel
[Top][All Lists]
Advanced

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

Re: Default of jit-lock-stealth-time


From: Lennart Borgman (gmail)
Subject: Re: Default of jit-lock-stealth-time
Date: Thu, 01 Mar 2007 17:57:57 +0100
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.9) Gecko/20061207 Thunderbird/1.5.0.9 Mnenhy/0.7.4.666

Stuart D. Herring wrote:
Actually, a better test would be to put

   (if (zerop (random 1)) (setq jit-lock-stealth-time nil))

in your .emacs.  And then check the value of jit-lock-stealth-time every
time you notice a delay (after which, you'll want to restart jit-lock,
which basically means restart Emacs).

This should bring the experiment a bit closer to the "double blind"
gold standard.

Remember to seed your random number generator first!  (random t) is your
friend.


It was not necessary in this particular case but would perhaps had made obfuscation better. ;-)




reply via email to

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