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: Fri, 01 Jul 2022 15:51:08 +0300 Message-ID: <83ilohdmir.fsf@gnu.org> References: <46b65e3f-cf3d-a3f2-9a9a-100e58274ff6@jovi.net> <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> <835ykhflmr.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12832"; 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 Fri Jul 01 14:52:11 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 1o7G82-00038d-Qm for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 14:52:10 +0200 Original-Received: from localhost ([::1]:57638 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1o7G81-0000gQ-MZ for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 01 Jul 2022 08:52:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:48602) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7G7u-0000fI-IP for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 08:52:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:42736) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1o7G7u-0008Kq-7J for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 08:52:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1o7G7u-0005In-6R for bug-gnu-emacs@gnu.org; Fri, 01 Jul 2022 08:52: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: Fri, 01 Jul 2022 12:52: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.165667987120305 (code B ref 45898); Fri, 01 Jul 2022 12:52:02 +0000 Original-Received: (at 45898) by debbugs.gnu.org; 1 Jul 2022 12:51:11 +0000 Original-Received: from localhost ([127.0.0.1]:36633 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7G74-0005HQ-MZ for submit@debbugs.gnu.org; Fri, 01 Jul 2022 08:51:11 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:35132) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1o7G6y-0005G4-Jg for 45898@debbugs.gnu.org; Fri, 01 Jul 2022 08:51:09 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:45090) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1o7G6s-0006zK-As; Fri, 01 Jul 2022 08:50:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=eL3zeDVf/Z20MgeCrU9Q07RoD8aefhIjQmr2HX8Cn5k=; b=QmMFf0Ssreo8 ATWPFVoeWpiaxmJfbpwdwx7dmUXLuixG+EInX0jvvOIlQEbp1Ma6sBsrFqedgyWiSgZrDuveIrMNO PVVFXElwueAXDCIjV6BHumPpRgHorW9A8LHOasDSo+MGlCzHLqL5tiQyu3M/m9B+tFLKSGln7FFDU MxxcYlZvDXgs9dSe8653okHXMdC817T42DdHLgzzqdGcSo58L8+fp99HxyqTQ2RVh8wTeo6A3ZZ4M TcMjWwKG+ZdKCPkZh46Pk+f1syA+uk0FUjlafUWEN7ei9SlMyEx59PA5ag2yv4QuqpD8nYnQmHOez JujLB6fDXmSoY++DgOqhKQ==; Original-Received: from [87.69.77.57] (port=4622 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 1o7G6r-0000Cf-QI; Fri, 01 Jul 2022 08:50:58 -0400 In-Reply-To: (message from Stefan Monnier on Fri, 01 Jul 2022 08:14:33 -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:235803 Archived-At: > From: Stefan Monnier > Cc: gerd.moellmann@gmail.com, larsi@gnus.org, psainty@orcon.net.nz, > Emacs-hacker2018@jovi.net, 45898@debbugs.gnu.org > Date: Fri, 01 Jul 2022 08:14:33 -0400 > > >> > That's only true if max-redisplay-ticks is zero. > >> > >> Why would that make a difference? > > > > Because if it is not zero, we won't let the entire line to be > > fontified, we will stop that before it gets to the end of the line. > > Interesting, where in the code do you do that? In scan_sexps_forward, near the end: if too many "ticks" are counted, update_redisplay_ticks will signal an error. Same thing in re_match_2_internal.