From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#45898: 27.1; wedged in redisplay again Date: Thu, 30 Jun 2022 15:56:41 -0400 Message-ID: References: <46b65e3f-cf3d-a3f2-9a9a-100e58274ff6@jovi.net> <83v8t6us8t.fsf@gnu.org> <87zgiinptk.fsf@gnus.org> <83mteiufih.fsf@gnu.org> <877d5kojbo.fsf@gnus.org> <83zgigu3e0.fsf@gnu.org> <500e4b9c69f2a90e7cf05b956178d71b@webmail.orcon.net.nz> <835yl3tnv3.fsf@gnu.org> <83iloyo0x7.fsf@gnu.org> <83mte5jukr.fsf@gnu.org> <837d57gbed.fsf@gnu.org> <83o7yicx3p.fsf@gnu.org> <83pmir5lwc.fsf@gnu.org> <83mtdu68cl.fsf@gnu.org> <837d4yf18n.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="35145"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: gerd.moellmann@gmail.com, psainty@orcon.net.nz, larsi@gnus.org, Emacs-hacker2018@jovi.net, 45898@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Jun 30 21:57:55 2022 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1o70IU-0008xR-4E for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Jun 2022 21:57:54 +0200 Original-Received: from localhost ([::1]:46386 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o70IS-00007e-QP for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 30 Jun 2022 15:57:52 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58186) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o70He-0006jL-6o for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2022 15:57:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:41745) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o70Hd-0000QA-SX for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2022 15:57:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o70Hd-0007pZ-N5 for bug-gnu-emacs@gnu.org; Thu, 30 Jun 2022 15:57:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 30 Jun 2022 19:57:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45898 X-GNU-PR-Package: emacs Original-Received: via spool by 45898-submit@debbugs.gnu.org id=B45898.165661901330077 (code B ref 45898); Thu, 30 Jun 2022 19:57:01 +0000 Original-Received: (at 45898) by debbugs.gnu.org; 30 Jun 2022 19:56:53 +0000 Original-Received: from localhost ([127.0.0.1]:35642 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o70HV-0007p3-2J for submit@debbugs.gnu.org; Thu, 30 Jun 2022 15:56:53 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:30174) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o70HS-0007ok-UG for 45898@debbugs.gnu.org; Thu, 30 Jun 2022 15:56:51 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 6496680677; Thu, 30 Jun 2022 15:56:45 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 1BDFE804F6; Thu, 30 Jun 2022 15:56:44 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1656619004; bh=ulw7piGMO0wur2AUpwWwbYs1Yutb+RV1P7AL/Ab89Yc=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=G/vCy18dpLrgAGH1N1eNa1z2onektJlU7eLexQFMYA/Do2SdJnIrazAN1UFEJy7Pq X0pN7lKhHhV4zxhgE52W1bk+uot2A9VqgoFG97x+hayf1P6j48YL7ogqWlcOnbjKBb ac5xQmkPwzF66KbcaJLAGM0WeJFok0ncsNW2YT7l5Fn/5+wlvi9lB7Z4AR5Z95a/wW aTj/oi6L64QqNhd8zEa+oTt36hXMRB1i6R2M6kCIywaBCrWcmHuO+CK+sXceOykemn jivpi4WmTGn4H5WFFwxohP/szbT6d3CfgC1yG+OCTU0UE4h+oyM5eIG5ayvDOBdbBs rstpBh0kVcq6g== Original-Received: from alfajor (unknown [45.72.196.165]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id B12D412023B; Thu, 30 Jun 2022 15:56:43 -0400 (EDT) In-Reply-To: <837d4yf18n.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 30 Jun 2022 21:35:36 +0300") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list 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-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:235747 Archived-At: >> Unsuprisingly so: none of `C-n/C-p/C-v/...` involve font-lock or >> jit-lock either during their operation or during the >> subsequent redisplay phase in the current code: the one-line is all >> fontified once and for all when you open the file and after that >> font-lock is not involved any more (until you make an edit, that is). > > That's only true if max-redisplay-ticks is zero. Why would that make a difference? When I try `master` with this set to 100000, the file still shows up with font-locking, so apparently it's been fully font-locked despite `max-redisplay-ticks` and after that font-locking (and syntax-propertize) won't make any difference any more (until the buffer is edited) since they're already done. [ Of course font-locking (and syntax-propertize) still do have an effect in that the text-properties they applied can impact the time it takes for the redisplay to do its job; so by "won't make any difference" I mean that 0-cycles will be spent running font-lock of syntax-propertize code. ] Stefan