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: Thu, 23 Apr 2015 21:53:44 +0200 Message-ID: <87pp6uoc3b.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> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain X-Trace: ger.gmane.org 1429818868 29399 80.91.229.3 (23 Apr 2015 19:54:28 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 19:54:28 +0000 (UTC) Cc: acm@muc.de, 20404@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Thu Apr 23 21:54:15 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 1YlNCQ-0001L5-Cv for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 21:54:14 +0200 Original-Received: from localhost ([::1]:41828 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlNCP-0006we-SE for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 15:54:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50838) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlNCH-0006ow-Ia for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 15:54:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlNCE-0000av-Dc for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 15:54:05 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48271) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlNCE-0000ar-BG for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 15:54:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YlNCE-0004rp-1d for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 15:54: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: Thu, 23 Apr 2015 19:54: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.142981883218694 (code B ref 20404); Thu, 23 Apr 2015 19:54:01 +0000 Original-Received: (at 20404) by debbugs.gnu.org; 23 Apr 2015 19:53:52 +0000 Original-Received: from localhost ([127.0.0.1]:38047 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlNC4-0004rR-4g for submit@debbugs.gnu.org; Thu, 23 Apr 2015 15:53:52 -0400 Original-Received: from out4-smtp.messagingengine.com ([66.111.4.28]:39362) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlNC1-0004rI-5F for 20404@debbugs.gnu.org; Thu, 23 Apr 2015 15:53:49 -0400 Original-Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailout.nyi.internal (Postfix) with ESMTP id E363820AA8 for <20404@debbugs.gnu.org>; Thu, 23 Apr 2015 15:53:48 -0400 (EDT) Original-Received: from frontend1 ([10.202.2.160]) by compute6.internal (MEProxy); Thu, 23 Apr 2015 15:53:48 -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=RTY2e+GesNcS5hGIHaOqzpa7/Es=; b=XsswV 5l3+rb9EgqlGdFB4CFl1DW5UF5R3p5vlQ4pLVHESLXBT/itRNN/iiGWSBxeTrg2G WnfrWzhCzftU0yV+avMascuIHjZp1N4Nvd4v/0tlhXIUYp1met1LK5cBNXHIhJ6G +BN5SYLCidEs8ksgc4KfRcKuOYSafALNposGhk= X-Sasl-enc: gVD24Tv/poqPotLaZQ9sS0861PBbk40/GDunQeOzTGKR 1429818828 Original-Received: from thinkpad-t440p (unknown [2.162.110.201]) by mail.messagingengine.com (Postfix) with ESMTPA id 8D78DC00011; Thu, 23 Apr 2015 15:53:47 -0400 (EDT) In-Reply-To: <834mo622wg.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 23 Apr 2015 20:03:11 +0300") 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:101951 Archived-At: Eli Zaretskii writes: >> That's because the code has changed since. Now redisplay (which >> happens after running a command) is skipped based on the value of >> `input-pending-p' at the beginning of the *command*, rather than >> based on its value at the beginning of redisplay. And jit-lock.el >> has been changed to use (not (input-pending-p)), but only if >> jit-lock-defer-time is 0, so the special case for 0 is new. > > 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. Oh, I've told you that I get the display freezes even with jit-lock-defer-time set to zero but I've been wrong. My error was that I called `emacs -Q src/buffer.c', then set jit-lock-defer-time to zero in *scratch*, and then scrolled in buffer.c. But the effect applies only to new buffers. So with jit-lock-defer-time = 0, scrolling doesn't freeze the display, and also the "no fontification problem" in bug report buffers or byte-compilation output buffers doesn't occur anymore. > But fontification inside the scrolling code itself still happens, I > think. Yes, most text that scrolls by is black on white but occassionally I can catch sight of something reddish (a string or comment) or bluish (function name). Bye, Tassilo