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: Wed, 22 Apr 2015 13:32:36 +0300 Message-ID: <837ft44fnf.fsf@gnu.org> References: <87a8y0iji1.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1429698800 18912 80.91.229.3 (22 Apr 2015 10:33:20 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Apr 2015 10:33:20 +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 Wed Apr 22 12:33:10 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 1Ykrxs-0000R8-SH for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Apr 2015 12:33:09 +0200 Original-Received: from localhost ([::1]:34247 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykrxr-0005vl-RX for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Apr 2015 06:33:07 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:48871) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykrxn-0005vV-MX for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 06:33:04 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Ykrxm-00020E-NP for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 06:33:03 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46014) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Ykrxm-00020A-JZ for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 06:33:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Ykrxm-0002b8-4v for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 06:33:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Apr 2015 10:33:02 +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.14296987819980 (code B ref 20404); Wed, 22 Apr 2015 10:33:02 +0000 Original-Received: (at 20404) by debbugs.gnu.org; 22 Apr 2015 10:33:01 +0000 Original-Received: from localhost ([127.0.0.1]:35790 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ykrxk-0002at-SP for submit@debbugs.gnu.org; Wed, 22 Apr 2015 06:33:01 -0400 Original-Received: from mtaout27.012.net.il ([80.179.55.183]:33276) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Ykrxi-0002ab-Et for 20404@debbugs.gnu.org; Wed, 22 Apr 2015 06:32:59 -0400 Original-Received: from conversion-daemon.mtaout27.012.net.il by mtaout27.012.net.il (HyperSendmail v2007.08) id <0NN700900ED24100@mtaout27.012.net.il> for 20404@debbugs.gnu.org; Wed, 22 Apr 2015 13:27:40 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout27.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NN700620EE43V30@mtaout27.012.net.il>; Wed, 22 Apr 2015 13:27:40 +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:101863 Archived-At: > Resent-Sender: help-debbugs@gnu.org > 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. As soon as > you move point, font-lock kicks in and the header lines get their proper > fontification. Or maybe it's the other way round, i.e., the buffer is > created, then redisplayed, then the fontification takes place but no > redisplay is performed thereafter. Sounds like the idle timer that is started by jit-lock-defer-time never runs after the buffer is displayed. Could it be that it already ran before the display?