From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#20404: 25.0.50; Sometimes no fontification with jit-lock-defer-time Date: Thu, 23 Apr 2015 10:54:24 +0300 Message-ID: <83383r2sb3.fsf@gnu.org> References: <87a8y0iji1.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1429775723 3770 80.91.229.3 (23 Apr 2015 07:55:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 07:55:23 +0000 (UTC) Cc: 20404@debbugs.gnu.org To: Tassilo Horn Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 09:55:13 2015 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1YlByZ-0001MM-Q3 for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 09:55:11 +0200 Original-Received: from localhost ([::1]:38685 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlByZ-0005Co-5h for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 03:55:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:52591) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlByV-0005AU-TP for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 03:55:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlByR-0005SX-Lq for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 03:55:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47303) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlByR-0005SF-Ig for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 03:55:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YlByR-0003DW-CH for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 03:55:03 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 23 Apr 2015 07:55:03 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20404 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 20404-submit@debbugs.gnu.org id=B20404.142977567512274 (code B ref 20404); Thu, 23 Apr 2015 07:55:03 +0000 Original-Received: (at 20404) by debbugs.gnu.org; 23 Apr 2015 07:54:35 +0000 Original-Received: from localhost ([127.0.0.1]:37079 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlBxy-0003Br-BC for submit@debbugs.gnu.org; Thu, 23 Apr 2015 03:54:34 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:51877) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlBxu-0003BO-Gt for 20404@debbugs.gnu.org; Thu, 23 Apr 2015 03:54:32 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NN900D001JCEW00@mtaout29.012.net.il> for 20404@debbugs.gnu.org; Thu, 23 Apr 2015 10:52:51 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NN9003FB1W367A0@mtaout29.012.net.il>; Thu, 23 Apr 2015 10:52:51 +0300 (IDT) In-reply-to: <87a8y0iji1.fsf@gnu.org> X-012-Sender: halo1@inter.net.il X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.15 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:101908 Archived-At: > From: Tassilo Horn > Date: Wed, 22 Apr 2015 11:45:42 +0200 > > I use the settings > > (setq jit-lock-defer-time 0.0312 > jit-lock-stealth-nice 0.117 > jit-lock-stealth-time 0.23) > > to speed up scrolling in large buffers with complex font-lock rules. > That basically works nice. However, quite often I'm faced with buffers > that are not fontified before I do something, e.g., move point. > > This frequently happens when installing/upgrading packages with the > package manager. That shows the buffer containing the byte-compliation > messages with fontified warnings and errors. Every second time or so, > I'm faced with a completely unfontified buffer that gets fontified only > after selecting the window showing the buffer. > > Another and even reproducible case is `report-emacs-bug'. It goes like > this: > > 1. emacs -Q > 2. eval my above settings in *scratch* > 3. M-x report-emacs-bug > > The new message buffer is completely unfontified initially. I've reproduced this recipe. The fontification happens about 2.5 sec after the buffer is initially displayed. I've noticed that the cursor also doesn't blink during these few seconds, which seems to imply that Emacs simply doesn't "become idle" during that time, or maybe doesn't run _any_ idle timers during that time for some other reason. Btw, it is enough to set jit-lock-defer-time to something non-zero, to have this effect; the other 2 customizations seem not to affect this.