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:03:11 +0300 Message-ID: <834mo622wg.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> Reply-To: Eli Zaretskii NNTP-Posting-Host: plane.gmane.org X-Trace: ger.gmane.org 1429808678 19272 80.91.229.3 (23 Apr 2015 17:04:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 23 Apr 2015 17:04:38 +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:04:25 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 1YlKXp-0005ct-PC for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 19:04:09 +0200 Original-Received: from localhost ([::1]:41275 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlKXp-0008TB-0z for geb-bug-gnu-emacs@m.gmane.org; Thu, 23 Apr 2015 13:04:09 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:41281) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlKXm-0008T2-4k for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 13:04:07 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YlKXi-0001o3-Vm for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 13:04:06 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:48185) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YlKXi-0001nz-SJ for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 13:04:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1YlKXi-0000wo-AQ for bug-gnu-emacs@gnu.org; Thu, 23 Apr 2015 13:04: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: Thu, 23 Apr 2015 17:04: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.14298086373631 (code B ref 20404); Thu, 23 Apr 2015 17:04:02 +0000 Original-Received: (at 20404) by debbugs.gnu.org; 23 Apr 2015 17:03:57 +0000 Original-Received: from localhost ([127.0.0.1]:37961 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlKXc-0000wU-9O for submit@debbugs.gnu.org; Thu, 23 Apr 2015 13:03:57 -0400 Original-Received: from mtaout24.012.net.il ([80.179.55.180]:53314) by debbugs.gnu.org with esmtp (Exim 4.80) (envelope-from ) id 1YlKXZ-0000wE-2Y for 20404@debbugs.gnu.org; Thu, 23 Apr 2015 13:03:54 -0400 Original-Received: from conversion-daemon.mtaout24.012.net.il by mtaout24.012.net.il (HyperSendmail v2007.08) id <0NN900C00QL0QW00@mtaout24.012.net.il> for 20404@debbugs.gnu.org; Thu, 23 Apr 2015 19:54:21 +0300 (IDT) Original-Received: from HOME-C4E4A596F7 ([87.69.4.28]) by mtaout24.012.net.il (HyperSendmail v2007.08) with ESMTPA id <0NN9009A1QYLPE40@mtaout24.012.net.il>; Thu, 23 Apr 2015 19:54:21 +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:101938 Archived-At: > From: Stefan Monnier > Cc: tsdh@gnu.org, acm@muc.de, 20404@debbugs.gnu.org > Date: Thu, 23 Apr 2015 12:23:02 -0400 > > >> What was it? That input-pending-p returns nil even though there are > >> lots of pending events (because they haven't been processed enough for > >> Emacs to realize they're there)? Could you make a bug report about this > >> issue, describing under which circumstances this happens? Or do we have > >> one already? > > Maybe we are not talking about the same thing. I meant these > > messages: > > http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg00705.html > > This message of yours seems to be talking about the problem I'm > referring to above. At least, the way I read it, it seems to say that > `input-pending-p' can return nil even if there is pending input > (because that pending input is still in the system's input queue). > If that's the case, we should have a bug report about that. > > > http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg01039.html > > http://lists.gnu.org/archive/html/emacs-devel/2014-10/msg01055.html > > These talk about something else, which is partly outdated. > > > I don't see the special case of zero discussed back there, so perhaps > > this is a different problem. > > 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. But fontification inside the scrolling code itself still happens, I think.