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#56682: Fix the long lines font locking related slowdowns Date: Wed, 03 Aug 2022 14:56:25 +0300 Message-ID: <83k07p5ymu.fsf@gnu.org> References: <837d46mjen.fsf@gnu.org> <8a3eaeef01be5bfaa5ef@heytings.org> <05388e8d8812bfa3695d@heytings.org> <83v8rf5894.fsf@gnu.org> <65cb7c73fd4a999cca00@heytings.org> <8c7321f2f3400a5db9be@heytings.org> <8c7321f2f388e5343475@heytings.org> <8c7321f2f36494299e61@heytings.org> <8c7321f2f336523624e3@heytings.org> <83r1202meh.fsf@gnu.org> <6020ffaf-9069-0070-76cf-a13379ef01b5@yandex.ru> <83les71ilg.fsf@gnu.org> <06c5560d-3009-e5a5-3d33-fe5d2ec32d6b@yandex.ru> <74ddc877f17a06d8f120@heytings.org> <83wnbq62sz.fsf@gnu.org> <74ddc877f1b7de1eaf91@heytings.org> <9a8f98b5-3943-be38-908a-3aad3f282ccb@yandex.ru> <68722578-414c-a0d9-57f2-21a0e6d74c0f@yandex.ru> 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="10996"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, gregory@heytings.org, monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Wed Aug 03 13:57:54 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 1oJD0c-0002kF-6p for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Aug 2022 13:57:54 +0200 Original-Received: from localhost ([::1]:56194 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJD0b-0003Ie-Ar for geb-bug-gnu-emacs@m.gmane-mx.org; Wed, 03 Aug 2022 07:57:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55508) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJD00-0002av-4U for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 07:57:17 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56572) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJCzm-0001E2-D9 for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 07:57:13 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJCzm-0002g2-9F for bug-gnu-emacs@gnu.org; Wed, 03 Aug 2022 07:57: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, 03 Aug 2022 11:57: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.165952780010260 (code B ref 56682); Wed, 03 Aug 2022 11:57:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 3 Aug 2022 11:56:40 +0000 Original-Received: from localhost ([127.0.0.1]:46321 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJCzQ-0002fQ-GI for submit@debbugs.gnu.org; Wed, 03 Aug 2022 07:56:40 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:42418) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJCzO-0002fD-KV for 56682@debbugs.gnu.org; Wed, 03 Aug 2022 07:56:38 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:41034) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJCzH-00015b-SN; Wed, 03 Aug 2022 07:56:32 -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=bUaTF6x4DFN0OaC66NhvU6DZm2fM/Cgh5JALI+PwEtA=; b=oJi6IZKRQ1sDtszahnFB eDK2UwqLKvgmQOo2LBkCqA4ziHxwJXrY4UbR9kdeirXF2Aonj8OEiR4mzM/4ZDB8wvEJ0aSvuTfQH hyLlfvwAGzmhe7DJ+/L9L974y9hdBVHLq5E+hpm83ikRqAvmfZcbGPrs8OW5tJEwmZUiTwMOIH+AK AkZQXqJlwzqKeZkIwXXahNDdHBLgWDRsC+UO1RlpJ4dOOi3XHImCjphiIq1fP20ybtColDgHcDFFv rXAB0e/85iz1EuLqFg9+a4z6K5jGM7CYcVIfNQe4pm2Ygmt3RiGd5qUshK2+RBfYOKcdWqOIj0cNG bfuDhUnDz9pK5g==; Original-Received: from [87.69.77.57] (port=3476 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 1oJCzH-0005Ma-AH; Wed, 03 Aug 2022 07:56:31 -0400 In-Reply-To: <68722578-414c-a0d9-57f2-21a0e6d74c0f@yandex.ru> (message from Dmitry Gutov on Wed, 3 Aug 2022 03:26:02 +0300) 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:238635 Archived-At: > Date: Wed, 3 Aug 2022 03:26:02 +0300 > From: Dmitry Gutov > Cc: 56682@debbugs.gnu.org, monnier@iro.umontreal.ca > > On 03.08.2022 03:00, Dmitry Gutov wrote: > > On 02.08.2022 19:19, Gregory Heytings wrote: > >> > >>>> Try to open the dictionary.json with Emacs on master a month ago. > >>> > >>> I believe it can also be done with the current master, just after > >>> setting long-line-threshold to the nil value.  Right? > >>> > >> > >> Indeed.  With master from one month ago it's even more crystal-clear > >> that you see the statu quo ante. > > > > If I set long-line-threshold to nil, does that also disable the > > redisplay optimizations related to long lines? > > > > Ones that caused scrolling delays even after the buffer has been fully > > fontified. > > I mean those that *fixed* the said scrolling delays, of course. I don't think I understand which changes you had in mind (could you give a less vague pointer?), but I think the answer is NO: that variable disables only the recent changes related to long lines.