GNU bug report logs - #12936
24.2; Setting 'jit-lock-defer-time' to number prevent some new buffers from automatic fontification.

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Reported by: Oleksandr Gavenko <gavenkoa@HIDDEN>; dated Mon, 19 Nov 2012 19:21:02 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at 12936 <at> debbugs.gnu.org:


Received: (at 12936) by debbugs.gnu.org; 19 Nov 2012 19:57:14 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 19 14:57:14 2012
Received: from localhost ([127.0.0.1]:55570 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TaXT0-0007rj-3a
	for submit <at> debbugs.gnu.org; Mon, 19 Nov 2012 14:57:14 -0500
Received: from relais.videotron.ca ([24.201.245.36]:22757)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <monnier@HIDDEN>) id 1TaXSy-0007rc-5u
	for 12936 <at> debbugs.gnu.org; Mon, 19 Nov 2012 14:57:12 -0500
MIME-version: 1.0
Content-transfer-encoding: 7BIT
Content-type: text/plain; CHARSET=US-ASCII
Received: from ceviche.home ([24.201.208.110]) by VL-VM-MR004.ip.videotron.ca
	(Oracle Communications Messaging Exchange Server 7u4-22.01 64bit
	(built Apr 21
	2011)) with ESMTP id <0MDR002CB3DDRY60@HIDDEN> for
	12936 <at> debbugs.gnu.org; Mon, 19 Nov 2012 14:56:03 -0500 (EST)
Received: by ceviche.home (Postfix, from userid 20848)	id CA8CA660FF; Mon,
	19 Nov 2012 14:55:54 -0500 (EST)
From: Stefan Monnier <monnier@HIDDEN>
To: Oleksandr Gavenko <gavenkoa@HIDDEN>
Subject: Re: bug#12936: 24.2; Setting 'jit-lock-defer-time' to number prevent
	some new buffers from automatic fontification.
Message-id: <jwvfw45z7zz.fsf-monnier+emacs@HIDDEN>
References: <87vcd1iep5.fsf@HIDDEN>
Date: Mon, 19 Nov 2012 14:55:54 -0500
In-reply-to: <87vcd1iep5.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.3.50 (gnu/linux)
X-Spam-Score: 1.5 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org",
	has
	identified this incoming email as possible spam. The original message
	has been attached to this so you can view it (if it isn't spam) or
	label similar future email.  If you have any questions, see
	the administrator of that system for details.
	Content preview: > For example: "M-x compile make RET" and
	*compilation* buffer
	fontified > only if I press some key after RET. Same with "M-x grep
	RET"
	and in > another cases. > I can't find case when this happen in current
	buffer (only in buffer > in other window). [...] 
	Content analysis details:   (1.5 points, 10.0 required)
	pts rule name              description
	---- ----------------------
	--------------------------------------------------
	-0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/,
	no trust [24.201.245.36 listed in list.dnswl.org]
	0.7 SPF_SOFTFAIL SPF: sender does not match SPF record (softfail)
	0.8 BAYES_50               BODY: Bayes spam probability is 40 to 60%
	[score: 0.5000]
	0.0 T_HDRS_LCASE           Odd capitalization of message header
	0.0 T_MANY_HDRS_LCASE Odd capitalization of multiple message headers
X-Debbugs-Envelope-To: 12936
Cc: 12936 <at> debbugs.gnu.org
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: 1.5 (+)
X-Spam-Report: Spam detection software, running on the system "debbugs.gnu.org", has
 identified this incoming email as possible spam.  The original message
 has been attached to this so you can view it (if it isn't spam) or label
 similar future email.  If you have any questions, see
 the administrator of that system for details.
 
 Content preview:  > For example: "M-x compile make RET" and *compilation* buffer
    fontified > only if I press some key after RET. Same with "M-x grep RET"
   and in > another cases. > I can't find case when this happen in current buffer
    (only in buffer > in other window). [...] 
 
 Content analysis details:   (1.5 points, 10.0 required)
 
  pts rule name              description
 ---- ---------------------- --------------------------------------------------
 -0.0 RCVD_IN_DNSWL_NONE     RBL: Sender listed at http://www.dnswl.org/, no
                             trust
                             [24.201.245.36 listed in list.dnswl.org]
  0.7 SPF_SOFTFAIL           SPF: sender does not match SPF record (softfail)
  0.8 BAYES_50               BODY: Bayes spam probability is 40 to 60%
                             [score: 0.5000]

> For example: "M-x compile make RET" and *compilation* buffer fontified
> only if I press some key after RET. Same with "M-x grep RET" and in
> another cases.
> I can't find case when this happen in current buffer (only in buffer
> in other window).

I'd guess it also misbehaves if you use `g' in the compile buffer (in
which case the output is placed in the current-buffer), because IIUC the
problem is that idle-timers (such as used by jit-lock-defer) are not
restarted after running process-filters.

While we should fix this bug, we should also fix the performance problem
that caused you to set jit-lock-defer-time (so please, report this
problem via M-x report-emacs-bug).


        Stefan




Information forwarded to bug-gnu-emacs@HIDDEN:
bug#12936; Package emacs. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 19 Nov 2012 19:20:08 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Nov 19 14:20:08 2012
Received: from localhost ([127.0.0.1]:55503 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1TaWt4-00067F-HY
	for submit <at> debbugs.gnu.org; Mon, 19 Nov 2012 14:20:08 -0500
Received: from eggs.gnu.org ([208.118.235.92]:44691)
	by debbugs.gnu.org with esmtp (Exim 4.72)
	(envelope-from <gavenkoa@HIDDEN>) id 1TaWt1-000675-VS
	for submit <at> debbugs.gnu.org; Mon, 19 Nov 2012 14:20:04 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gavenkoa@HIDDEN>) id 1TaWry-00023h-2j
	for submit <at> debbugs.gnu.org; Mon, 19 Nov 2012 14:18:58 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,
	RCVD_IN_DNSWL_HI,T_DKIM_INVALID autolearn=unavailable version=3.3.2
Received: from lists.gnu.org ([208.118.235.17]:38378)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gavenkoa@HIDDEN>) id 1TaWrx-00023d-VI
	for submit <at> debbugs.gnu.org; Mon, 19 Nov 2012 14:18:57 -0500
Received: from eggs.gnu.org ([208.118.235.92]:40882)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gavenkoa@HIDDEN>) id 1TaWrt-0001RX-DF
	for bug-gnu-emacs@HIDDEN; Mon, 19 Nov 2012 14:18:57 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <gavenkoa@HIDDEN>) id 1TaWrr-00022s-AN
	for bug-gnu-emacs@HIDDEN; Mon, 19 Nov 2012 14:18:53 -0500
Received: from mail-ee0-f41.google.com ([74.125.83.41]:38367)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <gavenkoa@HIDDEN>) id 1TaWrr-00022m-3j
	for bug-gnu-emacs@HIDDEN; Mon, 19 Nov 2012 14:18:51 -0500
Received: by mail-ee0-f41.google.com with SMTP id d41so3575017eek.0
	for <bug-gnu-emacs@HIDDEN>; Mon, 19 Nov 2012 11:18:50 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113;
	h=from:to:subject:date:message-id:mime-version:content-type;
	bh=VU+gJL6LBs+4WlKVSwcY/7ZUq9dCezMGx7FsRy7h48o=;
	b=dIcp0lhhpmBbuan/9Ledjvu2TvI9Mu1sK5NDQRwdOGspK33LHKKrWGa4mCg0NSH1zw
	ek8Vkq9+pgxWs2vTfGcEbg//NcuG/CjpHnHKV8RAw4Z4synICProXUeJ16EjddY6vTss
	7qUSgolQ3SFUd5KO0unjE6TlPKAVGpdeogT0yPNV3InX4b9sKXW4GJPUM0ko+uCHVP8m
	plsE+UCaomb9mYx3dEFWJx2K2RFlejkZm0YbE/4hz3idLgoWOHByl9fJqu2xEeLWsCpk
	ep9kIlcakDGxTQXJ0i0pEwKM63Vwh2OR9I95NXTFOuG0OdOpuwOo9doQoj2CyaJWP7pq
	TCeA==
Received: by 10.14.216.70 with SMTP id f46mr26514854eep.12.1353352730247;
	Mon, 19 Nov 2012 11:18:50 -0800 (PST)
Received: from desktop ([37.229.16.202])
	by mx.google.com with ESMTPS id o47sm25821521eem.11.2012.11.19.11.18.47
	(version=SSLv3 cipher=OTHER); Mon, 19 Nov 2012 11:18:48 -0800 (PST)
From: Oleksandr Gavenko <gavenkoa@HIDDEN>
To: bug-gnu-emacs@HIDDEN
Subject: 24.2;
	Setting 'jit-lock-defer-time' to number prevent some new buffers from
	automatic fontification.
Date: Mon, 19 Nov 2012 21:18:46 +0200
Message-ID: <87vcd1iep5.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 3.x [fuzzy]
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6.x
X-Received-From: 208.118.235.17
X-Spam-Score: -3.4 (---)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.13
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>,
	<mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Sender: debbugs-submit-bounces <at> debbugs.gnu.org
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
X-Spam-Score: -3.4 (---)

I write to my .emacs:

  ;; Increase scrolling speed by defer consuming operation.
  (setq jit-lock-defer-time 0.01)

If I visit some file or create buffer - fontification does not performed until
I press any key.

For example: "M-x compile make RET" and *compilation* buffer fontified only if
I press some key after RET. Same with "M-x grep RET" and in another cases.

I can't find case when this happen in current buffer (only in buffer in other
window).

In GNU Emacs 24.2.1 (x86_64-pc-linux-gnu, GTK+ Version 2.24.10)
 of 2012-09-09 on trouble, modified by Debian

-- 
Best regards!




Acknowledgement sent to Oleksandr Gavenko <gavenkoa@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#12936; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.