From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: "Stuart D. Herring" Newsgroups: gmane.emacs.devel Subject: Re: Default of jit-lock-stealth-time Date: Thu, 1 Mar 2007 08:54:21 -0800 (PST) Message-ID: <38115.128.165.123.18.1172768061.squirrel@webmail.lanl.gov> References: <85tzxazb8r.fsf@lola.goethe.zz> Reply-To: herring@lanl.gov NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Trace: sea.gmane.org 1172768102 15259 80.91.229.12 (1 Mar 2007 16:55:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 1 Mar 2007 16:55:02 +0000 (UTC) Cc: Eli Zaretskii , rms@gnu.org, emacs-devel@gnu.org To: "Stefan Monnier" Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Mar 01 17:54:53 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 1HMoYG-0003Qz-Rg for ged-emacs-devel@m.gmane.org; Thu, 01 Mar 2007 17:54:45 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMoYI-0003cc-Lg for ged-emacs-devel@m.gmane.org; Thu, 01 Mar 2007 11:54:46 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1HMoXz-0003Z4-EU for emacs-devel@gnu.org; Thu, 01 Mar 2007 11:54:27 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1HMoXx-0003Y8-1i for emacs-devel@gnu.org; Thu, 01 Mar 2007 11:54:26 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1HMoXw-0003Y5-UZ for emacs-devel@gnu.org; Thu, 01 Mar 2007 11:54:24 -0500 Original-Received: from mailwasher.lanl.gov ([192.65.95.54] helo=mailwasher-b.lanl.gov) by monty-python.gnu.org with esmtp (Exim 4.52) id 1HMoXu-0004AY-S7; Thu, 01 Mar 2007 11:54:23 -0500 Original-Received: from mailrelay2.lanl.gov (mailrelay2.lanl.gov [128.165.4.103]) by mailwasher-b.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l21GsMgW014658; Thu, 1 Mar 2007 09:54:22 -0700 Original-Received: from webmail1.lanl.gov (webmail1.lanl.gov [128.165.4.106]) by mailrelay2.lanl.gov (8.13.8/8.13.8/(ccn-5)) with ESMTP id l21GsL4x001251; Thu, 1 Mar 2007 09:54:21 -0700 Original-Received: from webmail1.lanl.gov (localhost.localdomain [127.0.0.1]) by webmail1.lanl.gov (8.12.11.20060308/8.12.11) with ESMTP id l21GsL99021838; Thu, 1 Mar 2007 09:54:21 -0700 Original-Received: (from apache@localhost) by webmail1.lanl.gov (8.12.11.20060308/8.12.11/Submit) id l21GsLGX021836; Thu, 1 Mar 2007 08:54:21 -0800 X-Authentication-Warning: webmail1.lanl.gov: apache set sender to herring@lanl.gov using -f Original-Received: from 128.165.123.18 (SquirrelMail authenticated user 196434) by webmail.lanl.gov with HTTP; Thu, 1 Mar 2007 08:54:21 -0800 (PST) In-Reply-To: User-Agent: SquirrelMail/1.4.8-2.el3.7lanl X-Priority: 3 (Normal) Importance: Normal X-PMX-Version: 4.7.1.128075 X-detected-kernel: Linux 2.4-2.6 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:67147 Archived-At: > 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. Davis -- This product is sold by volume, not by mass. If it appears too dense or too sparse, it is because mass-energy conversion has occurred during shipping.