From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Tassilo Horn Newsgroups: gmane.emacs.bugs Subject: bug#20404: 25.0.50; Sometimes no fontification with jit-lock-defer-time Date: Wed, 22 Apr 2015 22:10:21 +0200 Message-ID: <87383rhqky.fsf@gnu.org> References: <87a8y0iji1.fsf@gnu.org> <20150422163110.68601.qmail@mail.muc.de> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429733483 22891 80.91.229.3 (22 Apr 2015 20:11:23 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Apr 2015 20:11:23 +0000 (UTC) Cc: Alan Mackenzie , 20404@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 22 22:11:12 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 1Yl0zH-0002ec-Ec for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Apr 2015 22:11:11 +0200 Original-Received: from localhost ([::1]:36906 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yl0zF-0003i9-UF for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Apr 2015 16:11:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58740) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yl0zB-0003h5-QL for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 16:11:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Yl0z8-00056E-JU for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 16:11:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:47033) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Yl0z8-000562-GY for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 16:11:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1Yl0z7-0002KX-Rq for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 16:11:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Tassilo Horn Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Apr 2015 20:11: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.14297334308918 (code B ref 20404); Wed, 22 Apr 2015 20:11:01 +0000 Original-Received: (at 20404) by debbugs.gnu.org; 22 Apr 2015 20:10:30 +0000 Original-Received: from localhost ([127.0.0.1]:36809 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yl0yb-0002Jl-9U for submit@debbugs.gnu.org; Wed, 22 Apr 2015 16:10:29 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:53213) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1Yl0yY-0002Jc-ML for 20404@debbugs.gnu.org; Wed, 22 Apr 2015 16:10:27 -0400 Original-Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id 60EE12088A for <20404@debbugs.gnu.org>; Wed, 22 Apr 2015 16:10:26 -0400 (EDT) Original-Received: from frontend2 ([10.202.2.161]) by compute3.internal (MEProxy); Wed, 22 Apr 2015 16:10:26 -0400 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-sasl-enc :x-sasl-enc; s=smtpout; bh=v6daW0yqD6cYv3Cc9gF3QeNq5nc=; b=nLJme jrITauA1HWqXc5a5ix+MjT3G5NA0TKZrpG1rGnUnhn2Sy8upT1ziY0pHKxw6ezzz wPeubBxeBAksPihtrHiTVvMTaqFw6o8z+OAwCReqPXAViSObhpyDA9+bi0AtbE8o pQ3vejBQd3n0WH8rFCfWF7UgJX2slWNyQriA44= X-Sasl-enc: 3YdY2jsG9ur7UMBqdxUBZgzZAyEK71cYGq6VGl9Fqh24 1429733425 Original-Received: from thinkpad-t440p (unknown [2.163.86.218]) by mail.messagingengine.com (Postfix) with ESMTPA id 23770680097; Wed, 22 Apr 2015 16:10:24 -0400 (EDT) In-Reply-To: (Stefan Monnier's message of "Wed, 22 Apr 2015 13:37:13 -0400") User-Agent: Gnus/5.130012 (Ma Gnus v0.12) Emacs/25.0.50 (gnu/linux) 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:101887 Archived-At: Stefan Monnier writes: > [ OFFTOPIC: the bug report is not about performance but about > a functional bug in jit-lock-defer. ] > >> There's a solution (or, depending on your point of view, a workaround) >> for this. You're using Emacs-25, so set fast-but-imprecise-scrolling to >> t, or customize it (it's in customisation group "scrolling"). > > FWIW, on my machine, this doesn't make much difference: a single > "font-lock one screen's worth" takes much too long, so after that one > screen is displayed, Emacs takes a while catching up (with no display > at all in the mean time). Setting `fast-but-imprecise-scrolling' to t works quite nicely for me. Scrolling is indeed a bit bumpy but there are no noticeable hangs. And it's nice that the text scrolls by fontified. > So I recommend you try jit-lock-defer-time set to 0 instead of using > fast-but-imprecise-scrolling, and see if you like the resulting > behavior. This doesn't work for me. I get the same display freezes as with `jit-lock-defer-time' set to nil. I guess that's not how it's indended to be. Maybe keyboard events don't count as pending input? Bye, Tassilo