From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Dmitry Gutov Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Sun, 14 Aug 2022 18:37:34 +0300 Message-ID: <75c316c0-3346-e702-b114-41a7f899deb1@yandex.ru> References: <92da07bd02941d5537e9@heytings.org> <5308e3b5-a160-17d7-77ee-b1d00acfa20d@yandex.ru> <92da07bd02a6cc861e1a@heytings.org> <837d3lzv8n.fsf@gnu.org> <2c8d6755-cfe2-6559-3fde-3fa30ffb411e@yandex.ru> <83mtcgy44k.fsf@gnu.org> <83k07jx5jn.fsf@gnu.org> <866e510d-a060-7daa-d002-97861d056fa7@yandex.ru> <1144021660321893@iva5-64778ce1ba26.qloud-c.yandex.net> <12348081660379417@sas2-a098efd00d24.qloud-c.yandex.net> <66bbbb95983414e79637@heytings.org> <66bbbb95983475c5f3b0@heytings.org> <0d67f253-c080-d750-c2cb-4a9591ff8c6c@yandex.ru> <83lerrl734.fsf@gnu.org> <83wnbbj7v4.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="23154"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.9.1 Cc: 56682@debbugs.gnu.org, gregory@heytings.org, monnier@iro.umontreal.ca To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 14 17:38:21 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 1oNFgy-0005pF-KM for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 17:38:20 +0200 Original-Received: from localhost ([::1]:60222 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNFgx-0002kT-7h for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 14 Aug 2022 11:38:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54374) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNFgg-0002a3-VE for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 11:38:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49789) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNFgg-0004nG-MP for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 11:38:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNFgg-0008OL-Eq for bug-gnu-emacs@gnu.org; Sun, 14 Aug 2022 11:38:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Dmitry Gutov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 14 Aug 2022 15:38: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.166049146632235 (code B ref 56682); Sun, 14 Aug 2022 15:38:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 14 Aug 2022 15:37:46 +0000 Original-Received: from localhost ([127.0.0.1]:39538 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNFgQ-0008Nq-3c for submit@debbugs.gnu.org; Sun, 14 Aug 2022 11:37:46 -0400 Original-Received: from mail-wm1-f53.google.com ([209.85.128.53]:43529) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNFgM-0008Nb-Ht for 56682@debbugs.gnu.org; Sun, 14 Aug 2022 11:37:44 -0400 Original-Received: by mail-wm1-f53.google.com with SMTP id ay39-20020a05600c1e2700b003a5503a80cfso2833002wmb.2 for <56682@debbugs.gnu.org>; Sun, 14 Aug 2022 08:37:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:from:to:cc; bh=bc1fNznv8u4zUs2r5B0EhuDN1wdEO0rA2EOSK51KrzU=; b=ViyYaAHZsVAOxZ0X93I/VXccNVIne2YRHctkU2gBje5ldCVxohFnFXtS39iBg3Royp 1dnUpxwmfDba5VCXP/3ufZBqIoGc4VdDWbdDJWEa4YyKAiE7s2d0vBaeGH+jvPSA5fNT B0II8pJu/LxElaKnS8MVuXCAhvBThDByJNfCnpfH1Yqyb0ZRd+O2Lha3tvubIMQ9YxYe /xZMzWMuE3LVRmEB1qxixGG3wTQrLpkhmhIr1R79yWV5AiumWWFspsmRDq7ozMS/k1BG dGnPL9stgChGelJ1k6sme5S4tm0lbcNdrgFaDwwTWm21BIaYf9DQcySd8uLl2Kgd7xVz 67eA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :sender:x-gm-message-state:from:to:cc; bh=bc1fNznv8u4zUs2r5B0EhuDN1wdEO0rA2EOSK51KrzU=; b=RWLOofzM/glTfKMSgJEK3CtuMuz9oOA7dnCvmRFz+JluGWMgHsxQRGUI8CyT3dl4Bp h5S2gQ4u28FPwKRGdj8Heis3T+hPSmPiGoFhP6ANc8hVAybj1cLkIuKEPQug3MLWZhXX BM1whtBQPCFP8e+/zcn3oJFNXYu2T8Yr8QWHjY3L9XMDitxHKEaKzkb6Sz8oA3uT94sN p+ol5V9zTEnEX7wqiytASkq3zESd7jQfqopo3kz8a5xU8VuJp94E2MN/AV7MEuJ6Vxnu Uyrvtj6NQ1kp13H5z2pFprFEd35PRyS3+WkmQUiHlqaJhVI+0EMbtvivL4wAZW2xkZHg EFDQ== X-Gm-Message-State: ACgBeo30jL1MMElT/SpnnqB6vl6R3RTGb/tMtVMx1VjuU6dsfZnHff6F 8iGeW6dQ9/KjR0BaIgMrSkc= X-Google-Smtp-Source: AA6agR7S79SOXF0n4kOXE+ihP+c1UzUiBK538mnhhvBl3dxUiJMYWofa+c/DaX2UW8gJNiqhBZjH9w== X-Received: by 2002:a05:600c:1c1b:b0:3a5:e6ec:d12f with SMTP id j27-20020a05600c1c1b00b003a5e6ecd12fmr2811997wms.2.1660491456694; Sun, 14 Aug 2022 08:37:36 -0700 (PDT) Original-Received: from [192.168.0.6] ([46.251.119.176]) by smtp.googlemail.com with ESMTPSA id t16-20020adfdc10000000b0021e5f32ade7sm4777837wri.68.2022.08.14.08.37.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 14 Aug 2022 08:37:36 -0700 (PDT) Content-Language: en-US In-Reply-To: <83wnbbj7v4.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:239655 Archived-At: On 14.08.2022 16:02, Eli Zaretskii wrote: >> Date: Sun, 14 Aug 2022 12:41:33 +0300 >> Cc:56682@debbugs.gnu.org,gregory@heytings.org,monnier@iro.umontreal.ca >> From: Dmitry Gutov >> >>> Stuttering in redisplay (and I think you actually mean stuttering in >>> cursor motion commands, but let's ignore that difference for now) is a >>> known issue, but it is NOT the goal of this effort. The goal of this >>> effort is to avoid making Emacs_completely_unusable_ due to the need >>> to wait for many seconds for commands to complete and their results to >>> be shown on display. Stuttering, while somewhat annoying, doesn't >>> make Emacs unusable. >>> >>> So if you are talking about the cases of stuttering, you are focused >>> on cases that are of no particular interest to us here. Of course, >>> any improvement in those other cases will also be welcome, but it is >>> not directly related to what we are trying to do here, and may or may >>> not solve the cases that are of interest to us. >> They*are* solved by Gregory's work. > Not in all cases and not on all systems. I still see stuttering in > some cases, at least with my unoptimized builds, and I don't consider > that a problem. Point is, Gregory's work improves performance in many real-world scenarios, not just in rare special files. So being able to fine-tune the behavior makes sense. Certainly not a "maintenance nightmare".