From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Lennart Borgman (gmail)" Newsgroups: gmane.emacs.devel Subject: Re: Default of jit-lock-stealth-time Date: Thu, 01 Mar 2007 17:57:57 +0100 Message-ID: <45E70615.7020904@gmail.com> References: <85tzxazb8r.fsf@lola.goethe.zz> <38115.128.165.123.18.1172768061.squirrel@webmail.lanl.gov> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1172768372 18620 80.91.229.12 (1 Mar 2007 16:59:32 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Mar 2007 16:59:32 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel@gnu.org, Stefan Monnier , rms@gnu.org To: herring@lanl.gov Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 01 17:59:23 2007 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1HMocl-0005Qy-Ko for ged-emacs-devel@m.gmane.org; Thu, 01 Mar 2007 17:59:23 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMocn-0005Fg-IP for ged-emacs-devel@m.gmane.org; Thu, 01 Mar 2007 11:59:25 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HMocc-0005F6-N9 for emacs-devel@gnu.org; Thu, 01 Mar 2007 11:59:14 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HMoca-0005Dn-8L for emacs-devel@gnu.org; Thu, 01 Mar 2007 11:59:14 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMoca-0005Dj-3q for emacs-devel@gnu.org; Thu, 01 Mar 2007 11:59:12 -0500 Original-Received: from ch-smtp02.sth.basefarm.net ([80.76.149.213]) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA:32) (Exim 4.52) id 1HMocT-00057D-Jt; Thu, 01 Mar 2007 11:59:05 -0500 Original-Received: from c83-254-145-24.bredband.comhem.se ([83.254.145.24]:63951 helo=[127.0.0.1]) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.63) (envelope-from ) id 1HMoc6-00064l-8A; Thu, 01 Mar 2007 17:58:43 +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 In-Reply-To: <38115.128.165.123.18.1172768061.squirrel@webmail.lanl.gov> X-Antivirus: avast! (VPS 000720-0, 2007-03-01), Outbound message X-Antivirus-Status: Clean X-Scan-Result: No virus found in message 1HMoc6-00064l-8A. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1HMoc6-00064l-8A 5705afd4017dd4ab7b70eaee40d2efd2 X-detected-kernel: Linux 2.6? (barebone, rare!) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.devel:67148 Archived-At: 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. ;-)