From unknown Sat Sep 13 13:15:36 2025 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Mailer: MIME-tools 5.509 (Entity 5.509) Content-Type: text/plain; charset=utf-8 From: bug#12936 <12936@debbugs.gnu.org> To: bug#12936 <12936@debbugs.gnu.org> Subject: Status: 24.2; Setting 'jit-lock-defer-time' to number prevent some new buffers from automatic fontification. Reply-To: bug#12936 <12936@debbugs.gnu.org> Date: Sat, 13 Sep 2025 20:15:36 +0000 retitle 12936 24.2; Setting 'jit-lock-defer-time' to number prevent some ne= w buffers from automatic fontification. reassign 12936 emacs submitter 12936 Oleksandr Gavenko severity 12936 normal thanks From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 19 14:20:08 2012 Received: (at submit) by debbugs.gnu.org; 19 Nov 2012 19:20:08 +0000 Received: from localhost ([127.0.0.1]:55503 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaWt4-00067F-HY for submit@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 ) id 1TaWt1-000675-VS for submit@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 ) id 1TaWry-00023h-2j for submit@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 ) id 1TaWrx-00023d-VI for submit@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 ) id 1TaWrt-0001RX-DF for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 14:18:57 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TaWrr-00022s-AN for bug-gnu-emacs@gnu.org; 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 ) id 1TaWrr-00022m-3j for bug-gnu-emacs@gnu.org; Mon, 19 Nov 2012 14:18:51 -0500 Received: by mail-ee0-f41.google.com with SMTP id d41so3575017eek.0 for ; 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 To: bug-gnu-emacs@gnu.org 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@gavenkoa.example.com> 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@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@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! From debbugs-submit-bounces@debbugs.gnu.org Mon Nov 19 14:57:14 2012 Received: (at 12936) by debbugs.gnu.org; 19 Nov 2012 19:57:14 +0000 Received: from localhost ([127.0.0.1]:55570 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.72) (envelope-from ) id 1TaXT0-0007rj-3a for submit@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 ) id 1TaXSy-0007rc-5u for 12936@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@VL-VM-MR004.ip.videotron.ca> for 12936@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 To: Oleksandr Gavenko Subject: Re: bug#12936: 24.2; Setting 'jit-lock-defer-time' to number prevent some new buffers from automatic fontification. Message-id: References: <87vcd1iep5.fsf@gavenkoa.example.com> Date: Mon, 19 Nov 2012 14:55:54 -0500 In-reply-to: <87vcd1iep5.fsf@gavenkoa.example.com> 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@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: debbugs-submit-bounces@debbugs.gnu.org Errors-To: debbugs-submit-bounces@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 From debbugs-submit-bounces@debbugs.gnu.org Wed Oct 30 18:41:05 2019 Received: (at 12936) by debbugs.gnu.org; 30 Oct 2019 22:41:05 +0000 Received: from localhost ([127.0.0.1]:51791 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPweG-0003Xi-OX for submit@debbugs.gnu.org; Wed, 30 Oct 2019 18:41:04 -0400 Received: from quimby.gnus.org ([80.91.231.51]:35662) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1iPweE-0003X9-Rb for 12936@debbugs.gnu.org; Wed, 30 Oct 2019 18:41:03 -0400 Received: from cm-84.212.202.86.getinternet.no ([84.212.202.86] helo=marnie) by quimby.gnus.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.89) (envelope-from ) id 1iPweA-0007kB-Jg; Wed, 30 Oct 2019 23:41:00 +0100 From: Lars Ingebrigtsen To: Oleksandr Gavenko Subject: Re: 24.2; Setting 'jit-lock-defer-time' to number prevent some new buffers from automatic fontification. References: <87vcd1iep5.fsf@gavenkoa.example.com> Date: Wed, 30 Oct 2019 23:40:58 +0100 In-Reply-To: <87vcd1iep5.fsf@gavenkoa.example.com> (Oleksandr Gavenko's message of "Mon, 19 Nov 2012 21:18:46 +0200") Message-ID: <87a79hoo05.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Oleksandr Gavenko writes: > 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 unt [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 12936 Cc: 12936@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) Oleksandr Gavenko writes: > 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. This was fixed as a special case in compile.el in 2014: ;; Turn off deferred fontifications in the compilation buffer, if ;; the user turned them on globally. This is because idle timers ;; aren't re-run after receiving input from a subprocess, so the ;; buffer is left unfontified after the compilation exits, until ;; some other input event happens. (set (make-local-variable 'jit-lock-defer-time) nil) However, removing that does not remove all fontifying, but it seems to happen only after the compilation process has ended. So I'm not sure -- there seems to be a general problem here, but is it something that should be fixed? Or is it up to individual modes (like compilation mode) to switch delayed fontification off? There's probably not a lot of these modes that fontify process output on-the-fly. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 15 13:18:53 2021 Received: (at 12936) by debbugs.gnu.org; 15 Jul 2021 17:18:53 +0000 Received: from localhost ([127.0.0.1]:49651 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m450f-0001oy-84 for submit@debbugs.gnu.org; Thu, 15 Jul 2021 13:18:53 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59340) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m450d-0001og-Pk for 12936@debbugs.gnu.org; Thu, 15 Jul 2021 13:18:52 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=2JLvvyDijvuaG8a4tP4AOR8TYmAyesazggulKq/EpLA=; b=cxyzPnhUZy0NN6xEcONb2Fuixy 2bD2Pio7AHP7ty7hHLIuhzgTnpE+5fy//T6Ht48c/E35fSclR5mAues9IbK7ig7BKYwkW5UVRSwF5 QbB6fgzhJ6ThAnOe1v1uDtJn1RkBvJSOt330V6+NQ6tgZDSh8Mh5u1KHa+PtcGEFQ8hE=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m450V-0002uZ-9A; Thu, 15 Jul 2021 19:18:46 +0200 From: Lars Ingebrigtsen To: Oleksandr Gavenko Subject: Re: bug#12936: 24.2; Setting 'jit-lock-defer-time' to number prevent some new buffers from automatic fontification. References: <87vcd1iep5.fsf@gavenkoa.example.com> <87a79hoo05.fsf@gnus.org> X-Now-Playing: Vert's _Broken Breakbeat Bebop_: "Standing On The Verge Of Falling Off" Date: Thu, 15 Jul 2021 19:18:42 +0200 In-Reply-To: <87a79hoo05.fsf@gnus.org> (Lars Ingebrigtsen's message of "Wed, 30 Oct 2019 23:40:58 +0100") Message-ID: <8735sfh4wd.fsf@gnus.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: Lars Ingebrigtsen writes: > This was fixed as a special case in compile.el in 2014: [...] Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 12936 Cc: 12936@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Lars Ingebrigtsen writes: > This was fixed as a special case in compile.el in 2014: [...] > So I'm not sure -- there seems to be a general problem here, but is it > something that should be fixed? Or is it up to individual modes (like > compilation mode) to switch delayed fontification off? There's probably > not a lot of these modes that fontify process output on-the-fly. I think it's up to the individual modes, so I'm closing this bug report. If it happens in other modes, please open a bug report for that. -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no From debbugs-submit-bounces@debbugs.gnu.org Thu Jul 15 13:18:58 2021 Received: (at control) by debbugs.gnu.org; 15 Jul 2021 17:18:58 +0000 Received: from localhost ([127.0.0.1]:49654 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m450k-0001pJ-En for submit@debbugs.gnu.org; Thu, 15 Jul 2021 13:18:58 -0400 Received: from quimby.gnus.org ([95.216.78.240]:59354) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m450j-0001ox-Gl for control@debbugs.gnu.org; Thu, 15 Jul 2021 13:18:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Subject:From:To:Message-Id:Date:Sender:Reply-To:Cc: MIME-Version:Content-Type:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:In-Reply-To:References:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=RZELajyE5VUariPWqo8DtgRA4BrZIMN3N94gI62/XM4=; b=OcMABfEtx5taeG/1j0ii53rxfE FDOhrE+zKn0Kx7aDJW9fY/BjSg2R5QgX/Vc22Pij0BPuXLVpxCkfUhVxMiUEHyplKIGbfS85opk5F woQnr+7vIfsbSKGtKXg4xAd6pKIr1SHyAkY7sCKikkPiStUQkq6Ifl0nuqMy2o9Jhrs4=; Received: from cm-84.212.220.105.getinternet.no ([84.212.220.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m450b-0002uj-UZ for control@debbugs.gnu.org; Thu, 15 Jul 2021 19:18:52 +0200 Date: Thu, 15 Jul 2021 19:18:49 +0200 Message-Id: <871r7zh4w6.fsf@gnus.org> To: control@debbugs.gnu.org From: Lars Ingebrigtsen Subject: control message for bug #12936 X-Spam-Report: Spam detection software, running on the system "quimby.gnus.org", has NOT identified this incoming email as spam. The original message has been attached to this so you can view it or label similar future email. If you have any questions, see @@CONTACT_ADDRESS@@ for details. Content preview: close 12936 quit Content analysis details: (-2.9 points, 5.0 required) pts rule name description ---- ---------------------- -------------------------------------------------- -1.0 ALL_TRUSTED Passed through trusted hosts only via SMTP -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: control X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) close 12936 quit From unknown Sat Sep 13 13:15:36 2025 Received: (at fakecontrol) by fakecontrolmessage; To: internal_control@debbugs.gnu.org From: Debbugs Internal Request Subject: Internal Control Message-Id: bug archived. Date: Fri, 13 Aug 2021 11:24:06 +0000 User-Agent: Fakemail v42.6.9 # This is a fake control message. # # The action: # bug archived. thanks # This fakemail brought to you by your local debbugs # administrator