From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.bugs Subject: bug#20404: 25.0.50; Sometimes no fontification with jit-lock-defer-time Date: 22 Apr 2015 16:31:10 -0000 Organization: muc.de e.V. Message-ID: <20150422163110.68601.qmail@mail.muc.de> References: <87a8y0iji1.fsf@gnu.org> NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1429720339 13987 80.91.229.3 (22 Apr 2015 16:32:19 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 22 Apr 2015 16:32:19 +0000 (UTC) Cc: Tassilo Horn To: 20404@debbugs.gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed Apr 22 18:32: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 1YkxZJ-0007Yt-SM for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Apr 2015 18:32:10 +0200 Original-Received: from localhost ([::1]:36085 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkxZJ-0001s9-CG for geb-bug-gnu-emacs@m.gmane.org; Wed, 22 Apr 2015 12:32:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkxZG-0001s4-02 for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 12:32:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YkxZC-00041I-OX for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 12:32:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:46927) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YkxZC-00041E-Le for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 12:32:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YkxZC-0004Cs-8g for bug-gnu-emacs@gnu.org; Wed, 22 Apr 2015 12:32:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Mackenzie Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 22 Apr 2015 16:32: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.142972027516116 (code B ref 20404); Wed, 22 Apr 2015 16:32:02 +0000 Original-Received: (at 20404) by debbugs.gnu.org; 22 Apr 2015 16:31:15 +0000 Original-Received: from localhost ([127.0.0.1]:36703 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkxYQ-0004Br-Jy for submit@debbugs.gnu.org; Wed, 22 Apr 2015 12:31:14 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:40146 helo=mail.muc.de) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YkxYO-0004Bi-8R for 20404@debbugs.gnu.org; Wed, 22 Apr 2015 12:31:13 -0400 Original-Received: (qmail 68602 invoked by uid 3782); 22 Apr 2015 16:31:10 -0000 In-Reply-To: X-Newsgroups: gnu.emacs.bug User-Agent: tin/2.2.0-20131224 ("Lochindaal") (UNIX) (FreeBSD/10.1-RELEASE (amd64)) 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:101879 Archived-At: In article you wrote: [ .... ] > Fun anecdote: I really have a pretty fast machine but still scrolling, > e.g., buffer.c, by pressing and holding `C-v' causes visible scrolling > for 1-2 seconds, and then the display freezes. Emacs burns one core, > and the next visible change I can observe is that the end of the buffer > is displayed after the ~6 seconds where emacs seems frozen. That lead > me to looking for solutions, and deferred JIT lock and stealth lock > seemed like a good idea (and they are!). 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"). What it does is only to fontify screen-worths it's about to display, rather than fontifying the entire buffer portion that is scrolled over. The disadvantage is that if you're using faces with different heights, the exact place the scrolling ends up at might not be quite correct, but if you're holding down C-v anyway, this might not matter too much. [ .... ] > In GNU Emacs 25.0.50.12 (x86_64-unknown-linux-gnu, GTK+ Version 3.16.2) > of 2015-04-21 on thinkpad-t440p -- Alan Mackenzie (Nuremberg, Germany).