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 20:34:44 +0300 Message-ID: <83y4lizr2j.fsf@gnu.org> References: <87a8y0iji1.fsf@gnu.org> <20150422163110.68601.qmail@mail.muc.de> <87383rhqky.fsf@gnu.org> <83egnb3l2f.fsf@gnu.org> <877ft3cwf6.fsf@gnu.org> <83618n2vxu.fsf@gnu.org> <83h9s6282n.fsf@gnu.org> <834mo622wg.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1429810528 18947 80.91.229.3 (23 Apr 2015 17:35:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 17:35:28 +0000 (UTC) Cc: acm@muc.de, 20404@debbugs.gnu.org, tsdh@gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 19:35:17 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 1YlL1s-0003p2-Db for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 19:35:12 +0200 Original-Received: from localhost ([::1]:41391 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlL1r-0003u0-Ht for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 13:35:11 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49331) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlL1n-0003rb-Rc for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 13:35:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlL1i-0004Ur-9B for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 13:35:07 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48208) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlL1i-0004Tl-6r for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 13:35:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YlL1h-0001gF-Nf for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 13:35:01 -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 17:35:01 +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.14298104946442 (code B ref 20404); Thu, 23 Apr 2015 17:35:01 +0000 Original-Received: (at 20404) by debbugs.gnu.org; 23 Apr 2015 17:34:54 +0000 Original-Received: from localhost ([127.0.0.1]:37984 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlL1Z-0001fq-UJ for submit@debbugs.gnu.org; Thu, 23 Apr 2015 13:34:54 -0400 Original-Received: from mtaout29.012.net.il ([80.179.55.185]:48866) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlL1W-0001fc-RM for 20404@debbugs.gnu.org; Thu, 23 Apr 2015 13:34:51 -0400 Original-Received: from conversion-daemon.mtaout29.012.net.il by mtaout29.012.net.il (HyperSendmail v2007.08) id <0NN900E00SMEEK00@mtaout29.012.net.il> for 20404@debbugs.gnu.org; Thu, 23 Apr 2015 20:33:11 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout29.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NN900DV7SRBYO00@mtaout29.012.net.il>; Thu, 23 Apr 2015 20:33:11 +0300 (IDT) In-reply-to: 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:101943 Archived-At: > From: Stefan Monnier > Cc: tsdh@gnu.org, acm@muc.de, 20404@debbugs.gnu.org > Date: Thu, 23 Apr 2015 13:27:20 -0400 > > > FWIW, when I set jit-lock-defer-time to zero and lean on the PageDown > > key, I see somewhat clunky scrolling with no fontifications, until I > > release the key. > > But fontification inside the scrolling code itself still happens, I > > think. > > Hmm... while I guess it's still possible, it normally shouldn't happen: > if the fontification takes place during the scrolling itself, then the > next redisplay should not be skipped How does this work? By "fontification inside scrolling" I mean fontification triggered by calling move_it_* functions, which simulate display. They will only fontify those parts of text over which they iterate, which might be much less than the window. > (and hence you should see fontified text rather than unfontified > text, tho, some of the displayed text may still be unfontified, > because it was marked as "fontified=defer" in the previous > redisplay). It's hard to say, but I'm almost sure I sometimes indeed see a small part of the scrolling window, near its beginning, fontified. Or maybe I'm just imagining things.