From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Gregory Heytings Newsgroups: gmane.emacs.bugs Subject: bug#57207: 29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling) Date: Wed, 24 Aug 2022 08:26:51 +0000 Message-ID: <41c62c2d9e57bc44b587@heytings.org> References: <87bksmx1j1.fsf@localhost> <5900f208367791fbdfe2@heytings.org> <83bksmka08.fsf@gnu.org> <325f95fd2b7c0cc80613@heytings.org> <83y1voflmb.fsf@gnu.org> <325f95fd2bce114fd74d@heytings.org> <87r11g1ieu.fsf@localhost> <325f95fd2b82a19f6838@heytings.org> <37dd2827f539d0de2773@heytings.org> <87bksemg5g.fsf@localhost> <87k071ko0m.fsf@localhost> <3e338474763bf6d68c39@heytings.org> <83fsho9t9i.fsf@gnu.org> <06db1973da523e62ad39@heytings.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="2n9TtG2ozV" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31388"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 57207@debbugs.gnu.org To: Ihor Radchenko Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 24 10:27:24 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 1oQljQ-00082k-ES for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 10:27:24 +0200 Original-Received: from localhost ([::1]:39960 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oQljP-00018O-9m for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 24 Aug 2022 04:27:23 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52220) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oQlj5-00014N-KV for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 04:27:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oQlj4-00078E-Mz for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 04:27:03 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oQlj4-00038N-J3 for bug-gnu-emacs@gnu.org; Wed, 24 Aug 2022 04:27:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 24 Aug 2022 08:27:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 57207 X-GNU-PR-Package: emacs Original-Received: via spool by 57207-submit@debbugs.gnu.org id=B57207.166132961512020 (code B ref 57207); Wed, 24 Aug 2022 08:27:02 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 24 Aug 2022 08:26:55 +0000 Original-Received: from localhost ([127.0.0.1]:45608 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQliw-00037n-Kz for submit@debbugs.gnu.org; Wed, 24 Aug 2022 04:26:54 -0400 Original-Received: from heytings.org ([95.142.160.155]:38614) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oQliv-00037f-41 for 57207@debbugs.gnu.org; Wed, 24 Aug 2022 04:26:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1661329612; bh=WhdoZ+QaeQk5xb9OMES3Z5ZC6bOzjpKQSLlHqb2tWUU=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=I7sx33lsbmZsr9lkPSWIUyXcrAj5rnrOfmYuClYGJjk33LvEAL8FYKDWXwPvy/wU1 unfrkdxsAcHpQX6lcXRl2hB+Zydn7Z3MaJ+hT/lnsyP1QcPjZrnWmVuEYtZZHNAxYL 21gWDM9n4bSNik503tomgwBsHem+z6ZJuSNliDkHLO07IyJCTOWGh1e0PZLC/2gvJB sOLr+C9EAU/L4rKL8UHVS4I/Ou9hvpvW/xEyBth/ofrKOnGtBkxovzMp7x0ytvXnS6 K3A8lKlNUSTHdKF0QASv8sKQfiU35M3WcNlzgOghBEvambsEUgOmX63lCnbLybNswd ZEuS+iQzX7L6A== In-Reply-To: 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:240593 Archived-At: --2n9TtG2ozV Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable > > With the latest master, the fontification gets completely broken. > > IDK if it is related to this specific patch, but I got the following=20 > redisplay backtrace. > > Note that org-element--parse-objects has the following: >=20 > =C2=A0 (save-excursion > =C2=A0 =C2=A0 (save-restriction > =C2=A0 =C2=A0 =C2=A0 (narrow-to-region beg end) > =C2=A0 =C2=A0 =C2=A0 (goto-char (point-min)) > =C2=A0 =C2=A0 =C2=A0 (let (next-object contents) > (while (and (not (eobp)) > =C2=A0 =C2=A0(setq next-object (org-element--object-lex restriction))) > > The infinite recursion did not happen on the same Org file in the past.= =20 > So, it is not an issue with logic. Most likely, there is something about= =20 > narrowing/point movement that is very wrong on Emacs master. > I'm puzzled, you tried the patch and said it improved fontification? Can= =20 you try to revert 1c837c42c2 and see if it works again? Or can you=20 provide (privately if necessary) an example file with which that error is= =20 triggered? --2n9TtG2ozV--