From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#45898: 27.1; wedged in redisplay again Date: Wed, 29 Jun 2022 22:07:15 +0300 Message-ID: <83pmir5lwc.fsf@gnu.org> References: <46b65e3f-cf3d-a3f2-9a9a-100e58274ff6@jovi.net> <83sfoe2k0j.fsf@gnu.org> <87zgim6qtt.fsf@gnus.org> <83mtem2dc9.fsf@gnu.org> <87y1y63qmq.fsf@gnus.org> <83h74t3k5u.fsf@gnu.org> <87tu8sx569.fsf@gnus.org> <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> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="25697"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, psainty@orcon.net.nz, larsi@gnus.org, Emacs-hacker2018@jovi.net, 45898@debbugs.gnu.org To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Jun 29 21:08:28 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 1o6d36-0006Wz-3C for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 21:08:28 +0200 Original-Received: from localhost ([::1]:43634 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o6d34-0001YQ-Ih for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 29 Jun 2022 15:08:26 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:59292) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6d2k-0001XT-Em for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 15:08:06 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:38120) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o6d2g-0003eD-K9 for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 15:08:06 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o6d2g-0002Jl-FN for bug-gnu-emacs@gnu.org; Wed, 29 Jun 2022 15:08: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: Wed, 29 Jun 2022 19:08:02 +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.16565296448853 (code B ref 45898); Wed, 29 Jun 2022 19:08:02 +0000 Original-Received: (at 45898) by debbugs.gnu.org; 29 Jun 2022 19:07:24 +0000 Original-Received: from localhost ([127.0.0.1]:60250 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6d24-0002Ij-3V for submit@debbugs.gnu.org; Wed, 29 Jun 2022 15:07:24 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:45896) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o6d1w-0002IO-40 for 45898@debbugs.gnu.org; Wed, 29 Jun 2022 15:07:22 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:35128) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6d1q-0003Z8-BQ; Wed, 29 Jun 2022 15:07:10 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=vko8GnhHix1bRTPmdxy6E6fymWZUwuBYSTqogxdEYaE=; b=nh3p/GwAjjjEbKAOxnbY 6b6Gyw0AnhLIEO5aQJXAbH+F284zN/HJ09r1tICaW/dAHcb5MK6F7OTfNmrmNstt0UHLh4LN5+bNc hjasp8HUC3aQMa09RlSxaVc9SBkds78oPWx2q5J1n988zen9D6MaYsxtbVtLhvnv7Ab+vwtDXVY8D gswh1XE5vuLiZespJndPedqQXc95oeYoJcszaMIzm9SNcZ4NJqHw6SpBk301MW3DazDV09laAsoNw nOsTEx/I1RgPyFDfc3xY0a7C+pvH459hD1mYSom3bxhPPi5JINYWzNI5xJ2sdsIXeWceQu+Y7aXp2 JCUOHzns6m34Gg==; Original-Received: from [87.69.77.57] (port=1675 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o6d1p-0006Gl-Rd; Wed, 29 Jun 2022 15:07:10 -0400 In-Reply-To: (message from Stefan Monnier on Wed, 29 Jun 2022 12:18:47 -0400) 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:235665 Archived-At: > From: Stefan Monnier > Cc: Gerd Möllmann , > larsi@gnus.org, > psainty@orcon.net.nz, Emacs-hacker2018@jovi.net, 45898@debbugs.gnu.org > Date: Wed, 29 Jun 2022 12:18:47 -0400 > > Eli Zaretskii [2022-06-24 10:57:30] wrote: > >> Yes, that's exactly what I'm proposing in the paragraph you quoted. > >> I think it makes sense to bound the growth of the region due to > >> `font-lock-extend-region-functions`. We could bound it where we handle > >> `font-lock-extend-region-functions`, or we could bound it just inside > >> `font-lock-extend-region-wholelines`. > > > > I hope this will be done soon. > > How 'bout the patch below? Thanks. > It doesn't seem to make much difference on the `medium_line.json` > example from Phil, tho :-( In what case does it make much difference? And how did you test whether it makes a difference?