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#56682: Fix the long lines font locking related slowdowns Date: Sun, 07 Aug 2022 00:29:05 +0000 Message-ID: <6ae35c93067115557a73@heytings.org> References: <05388e8d8836c2e7ef3e@heytings.org> <136c4fe0fcb9ce5181cb@heytings.org> <3d639ea12689d767ba2a@heytings.org> <838ro44fc8.fsf@gnu.org> <3d639ea126d759bddfea@heytings.org> <83y1w42vp4.fsf@gnu.org> <3d639ea12618e6a503af@heytings.org> <83wnbo2uw3.fsf@gnu.org> <3d639ea126e3a4d880b8@heytings.org> <83k07o2izh.fsf@gnu.org> <3d639ea1265c40a07f40@heytings.org> <83h72s2e3o.fsf@gnu.org> <3d639ea126c6b0c6737b@heytings.org> <838ro42b1g.fsf@gnu.org> <3d639ea126db3913202e@heytings.org> <83wnbn264f.fsf@gnu.org> <3d639ea12684115449f8@heytings.org> <83tu6r1b03.fsf@gnu.org> <92da07bd02b96d54dbf4@heytings.org> <835yj62a18.fsf@gnu.org> <92da07bd02f5963a2da4@heytings.org> <83zgghy00k.fsf@gnu.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="LIqiRvlAFy" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="39660"; mail-complaints-to="usenet@ciao.gmane.io" Cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, monnier@iro.umontreal.ca, dgutov@yandex.ru To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 07 02:30:23 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 1oKUBS-000A88-1W for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Aug 2022 02:30:22 +0200 Original-Received: from localhost ([::1]:46242 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKUBQ-0005mZ-GP for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Aug 2022 20:30:20 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57116) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKUB8-0005mR-J9 for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 20:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45933) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKUB8-0004Zh-AX for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 20:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKUB8-0004bC-3c for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 20:30: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: Sun, 07 Aug 2022 00:30:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 56682 X-GNU-PR-Package: emacs Original-Received: via spool by 56682-submit@debbugs.gnu.org id=B56682.165983214917590 (code B ref 56682); Sun, 07 Aug 2022 00:30:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 7 Aug 2022 00:29:09 +0000 Original-Received: from localhost ([127.0.0.1]:35682 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKUAH-0004Ze-10 for submit@debbugs.gnu.org; Sat, 06 Aug 2022 20:29:09 -0400 Original-Received: from heytings.org ([95.142.160.155]:42372) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKUAE-0004ZU-9D for 56682@debbugs.gnu.org; Sat, 06 Aug 2022 20:29:06 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1659832145; bh=jbAvEkJi7qG40pnIhMqXtmWoPncaVJpmOkvjwX4PIMk=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=at+mqAFaIskUm+65bwW9t2zs4mwVIW24hIISJQVyD0F7CHFTZaUo9We1fGsWsunUh q/SLJj903NOHJtgNJLlDuk8LuJSpGEXlMQNNfVjo77QWTTm5tq5HF3/pLCJCrTu9Cm bOWUCAbFcLapeIVOSITwFPH4k00MUOiFG9xZvYOWU4jPUYeoi20HCGn+YasWCZs5Ma ChIlBQeW/xEmujjGCGY4CnZ4sSAEEbQ6gyz2bRIGJrCIjWYImKxVfRqngWkijMPvMg KHBpYQajtLkHv+p3tJiwidIxGSPAGLx4yt4QKb6XtknoH3DVHoGFBP/rSWAEmPwIKq R56QTZE0c6Dpg== In-Reply-To: <83zgghy00k.fsf@gnu.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:239009 Archived-At: --LIqiRvlAFy Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable > > The problems with C-n/C-p were unrelated, and seem to be a very old bug.= =20 > I've now mostly fixed that on master (and hopefully didn't introduce any= =20 > regressions while at that). > Thanks! Indeed these problem seem fixed now, it's much better. I did not= =20 see any regressions, if I see anything I'll tell you. One case that still= =20 isn't quite right apparently is the arabic-small.txt.json file. If I open= =20 that file with emacs -Q and type C-f, or C-n, or C-p, point moves to EOB=20 (but strangly, not in 100% cases), and there C-a, or M-<, or C-p, or C-n=20 do not seem to work anymore. > > In general, layout calculations when we have very long stretches of R2L= =20 > text in a left-to-right paragraph are very tricky, because many=20 > assumptions become false. > Frankly, would programming be as fun as it is if assumptions were true? =F0= =9F=98=89 --LIqiRvlAFy--