From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Ihor Radchenko Newsgroups: gmane.emacs.bugs Subject: bug#57207: 29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling) Date: Tue, 16 Aug 2022 20:28:57 +0800 Message-ID: <87r11g1ieu.fsf@localhost> References: <87bksmx1j1.fsf@localhost> <5900f208367791fbdfe2@heytings.org> <83bksmka08.fsf@gnu.org> <325f95fd2b7c0cc80613@heytings.org> <83y1voflmb.fsf@gnu.org> <325f95fd2bce114fd74d@heytings.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="27552"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Eli Zaretskii , 57207@debbugs.gnu.org To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Tue Aug 16 14:36:49 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 1oNvoO-0006xw-6s for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 14:36:48 +0200 Original-Received: from localhost ([::1]:45242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNvoN-0004g6-3t for geb-bug-gnu-emacs@m.gmane-mx.org; Tue, 16 Aug 2022 08:36:47 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52444) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNvgs-00081K-IT for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:29:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:55437) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNvgs-0001vU-9D for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:29:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNvgs-00086V-4s for bug-gnu-emacs@gnu.org; Tue, 16 Aug 2022 08:29:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ihor Radchenko Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 16 Aug 2022 12:29: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.166065288631089 (code B ref 57207); Tue, 16 Aug 2022 12:29:02 +0000 Original-Received: (at 57207) by debbugs.gnu.org; 16 Aug 2022 12:28:06 +0000 Original-Received: from localhost ([127.0.0.1]:45185 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNvfy-00085M-CZ for submit@debbugs.gnu.org; Tue, 16 Aug 2022 08:28:06 -0400 Original-Received: from mail-pj1-f52.google.com ([209.85.216.52]:55014) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNvfu-00084q-Iy for 57207@debbugs.gnu.org; Tue, 16 Aug 2022 08:28:06 -0400 Original-Received: by mail-pj1-f52.google.com with SMTP id gp7so9606539pjb.4 for <57207@debbugs.gnu.org>; Tue, 16 Aug 2022 05:28:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:from:to:cc; bh=L/JZbtHwRtVKCRiG08mRAKn6NKhe1KSqrME+3jkd3ck=; b=jGTfNlnXGQ1pVfqVLunvt22MHsfp1STO0JG7vRURw/TwPPg3MVLADh79M5Oh+zGkIc BlTRbT/CfCfxQZ9tHymTR5c9Ae0ECOalf/iDtAQ+FZrT0ccGDvN7Re9ShsMio6cPi40r P/S4fjGm7C4IEwEHmuUriyFlE7l2Ow5kvNFHbbp0gfMVrUbsHw2WHRzIVL6q9OCjbzSx nUPF4IlWXhEE791QiIvpC81EpkL2Kv1f/2qGPOtf1hUY217hTY44YK11FWjMUkl1rvBk Wtg+Q8djqg4imfukl9FvC8OroDgeq/cIpaTqMTqIchlBmzveAm9vrB1hPXcdzVIo/M5A n5Hg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=mime-version:message-id:date:references:in-reply-to:subject:cc:to :from:x-gm-message-state:from:to:cc; bh=L/JZbtHwRtVKCRiG08mRAKn6NKhe1KSqrME+3jkd3ck=; b=kEsjqsuXjyZLEN6fpU+5lH13GVTiKYgKGS5bKu+L4eKPZyMdxYjjHfxLtNyl8jPPgw fYtKBXtWEdL+6sV1t2CYoM2P2t9u74K57x/ls/DD/UoxkQJMnE74yolySwyvwQOKJGB/ 4y8soDVVuVwuvFj1Zp2om0EWvALCh76HuPF0va+NPNVDPWZNdfizUFYPlHHYL1kgHNTk bEXBTXurZHX0kFEHlSICyj9UanwKm+cCBod1LK6igg3SrUehGWBeFpKDbfSE5Ds/xg+E cSDTLPsYR/mAzZouF+LRfylehcvBs2wrHI+TIKrYryHS5Ft9BcRgxnADP0PRvb4OJ3c2 D+eA== X-Gm-Message-State: ACgBeo0CuKVUBSfzZmHpDBgnYFVef8WatRTbsSbbpqhFiyRlgTCSDbQF WbsNvmcaEqpifGy81isSU48= X-Google-Smtp-Source: AA6agR6yWdIVnHcfNmI/7alvgvIhSMpXeqbGTLRJm+twbhUWpJcaLkIDKarZX1DA3FnuK92boW/GKQ== X-Received: by 2002:a17:90b:390f:b0:1f4:e394:8c18 with SMTP id ob15-20020a17090b390f00b001f4e3948c18mr22771094pjb.141.1660652876782; Tue, 16 Aug 2022 05:27:56 -0700 (PDT) Original-Received: from localhost ([2409:8a70:2bf:80b0:8ec6:81ff:fe70:339d]) by smtp.gmail.com with ESMTPSA id u5-20020a170903124500b00162529828aesm8987472plh.109.2022.08.16.05.27.55 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 16 Aug 2022 05:27:56 -0700 (PDT) In-Reply-To: <325f95fd2bce114fd74d@heytings.org> 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:239912 Archived-At: Gregory Heytings writes: >> Maybe Org does something that frequently causes a window's redisplay >> cycle to end prematurely, in which case the code that looks for long >> lines could be called too frequently. But in that case, your proposed >> change will have the same problem, I think? >> > > That's possible indeed, let's see what Ihor tells us. I'm afraid that my knowledge of Emacs redisplay is not sufficient to give any insight. I have no clue what "redisplay cycle end prematurely" means and how it can be triggered. -- Ihor Radchenko, Org mode contributor, Learn more about Org mode at https://orgmode.org/. Support Org development at https://liberapay.com/org-mode, or support my work at https://liberapay.com/yantar92