From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Mon, 15 Aug 2022 10:19:01 -0400 Message-ID: References: <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> <75c316c0-3346-e702-b114-41a7f899deb1@yandex.ru> <5900f20836ca3f305df8@heytings.org> <8ef8eaba-1add-e87e-247e-71888beaf1f8@yandex.ru> <837d3ak8lf.fsf@gnu.org> <14516fce-8c35-1ce7-1314-44a3d79e8ba7@yandex.ru> <834jyek7df.fsf@gnu.org> <29b571a3-5a47-fed9-3147-f30864134c41@yandex.ru> <83tu6ei6e0.fsf@gnu.org> <83a685iv2d.fsf@gnu.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="38163"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: 56682@debbugs.gnu.org, Eli Zaretskii , gregory@heytings.org To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 15 16:22:46 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 1oNazO-0009k3-7T for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 16:22:46 +0200 Original-Received: from localhost ([::1]:60980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oNazN-0000SM-5h for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 15 Aug 2022 10:22:45 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:36152) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oNawk-00074I-8A for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 10:20:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54010) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oNawj-0003GW-Uy for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 10:20:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oNawj-00037m-Mx for bug-gnu-emacs@gnu.org; Mon, 15 Aug 2022 10:20:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 15 Aug 2022 14:20:01 +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.166057318411982 (code B ref 56682); Mon, 15 Aug 2022 14:20:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 15 Aug 2022 14:19:44 +0000 Original-Received: from localhost ([127.0.0.1]:43759 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNawS-00037B-GV for submit@debbugs.gnu.org; Mon, 15 Aug 2022 10:19:44 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:15307) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oNawN-00036s-5c for 56682@debbugs.gnu.org; Mon, 15 Aug 2022 10:19:43 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id BA8C0440A15; Mon, 15 Aug 2022 10:19:33 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 98C8644099B; Mon, 15 Aug 2022 10:19:32 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1660573172; bh=L9h49lUrJvJzWr1oyHvzte4gTxba1Q5w+iXrdmj+LVs=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=WU3ncPD68ZZ6UguRvUFAnLgp/1WFyK6ZtVjj9xR6oh2CPz+Zg8BFWSDtYAD2DjtRy 0IJ8s/GeQuzhoOsCu/QZuQOZpTWfP2rvDLaKx7BBWE5CotbNlkbTWnImH+67H4kqRh rNf0nrI0dut0/tTsPrKQarxdhMMXRi9/KVoFLM6owRO/Svz0TLsQ5zrXmlbShTrDOX VtyvqvTrlLUYyNbPoYhq2DjXS1eQApdNoPb/4wyXt3kHAqrrvX27lOpJyzRThfls8t dL+XXS5B0EAyTxvpllHBcXnLnlK8tqXaGXeRvqWzlVOFPhBVoCXBxQHkl0D5DFaA0Z ZWK76inh1OXnQ== Original-Received: from lechazo (lechon.iro.umontreal.ca [132.204.27.242]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 543FF120302; Mon, 15 Aug 2022 10:19:32 -0400 (EDT) In-Reply-To: (Dmitry Gutov's message of "Mon, 15 Aug 2022 15:06:35 +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:239802 Archived-At: >> If you are willing to lose my ability to debug complex redisplay >> problems in many cases, sure, go ahead. > Why? You would customize an option to a lower value, and go on to debugging. I suspect that the "large-file-threshold" and the "long-line-threshold" can both be kept small enough that they accommodate the case of Eli (or myself) running a slow build of Emacs on a slowish machine without significantly affecting those who could live with larger thresholds. IOW, I think this part of your discussion should wait to see what actual thresholds seem to work well in practice because it may prove to be a non-problem. Stefan