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: Thu, 04 Aug 2022 17:37:27 -0400 Message-ID: References: <837d43j198.fsf@gnu.org> <83y1wjhkkh.fsf@gnu.org> <83wnc3hkdg.fsf@gnu.org> <49df74e5-e16a-a532-98d1-66c6ff1eb6c6@yandex.ru> <83pmhuft5a.fsf@gnu.org> <05388e8d8836c2e7ef3e@heytings.org> <136c4fe0fcb9ce5181cb@heytings.org> <3d639ea12689d767ba2a@heytings.org> <03dce9be-5c51-94d7-a32a-52ab7f57dde2@yandex.ru> <3d639ea126e5f71c5ee4@heytings.org> <3d639ea126a196d498b9@heytings.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="2908"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) Cc: gerd.moellmann@gmail.com, 56682@debbugs.gnu.org, Eli Zaretskii , Stefan Kangas , Dmitry Gutov To: Gregory Heytings Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 04 23:38:19 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 1oJiXp-0000VY-PE for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 23:38:17 +0200 Original-Received: from localhost ([::1]:46360 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJiXo-0000HB-Es for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 17:38:16 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:38066) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJiXa-0000H2-1w for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 17:38:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:37218) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJiXZ-0005tD-P6 for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 17:38:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJiXZ-00015E-Kx for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 17:38: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: Thu, 04 Aug 2022 21:38: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.16596490694145 (code B ref 56682); Thu, 04 Aug 2022 21:38:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 4 Aug 2022 21:37:49 +0000 Original-Received: from localhost ([127.0.0.1]:55200 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJiXN-00014n-6f for submit@debbugs.gnu.org; Thu, 04 Aug 2022 17:37:49 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:30161) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJiXL-00014Z-KN for 56682@debbugs.gnu.org; Thu, 04 Aug 2022 17:37:48 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 6E42D441178; Thu, 4 Aug 2022 17:37:41 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 0F19B440A65; Thu, 4 Aug 2022 17:37:36 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1659649056; bh=oh9BFdTPTqPSPIZWmSWIes5TBcwAiiKdvm9jRmS+SrI=; h=From:To:Cc:Subject:In-Reply-To:References:Date:From; b=IpgtrA6JNZCpAKBK6336WIAITPKcCGJHpd33iNpdzlUHUt9/zeghywwKEJs/KnbER Q2fcdbyu/4Db93l/kvEfSbruVw/4Dy9yW3XKPHh166c3IMfMT0OEX/r0q04oaGJRpj /UteU0qN59HfVxBO37Oz5B6cUsw7zWxaqid0wKjSHdDDZblb2dxUflkmcSHtY2GDLp BhmBAXz3WFuIOreP2gCrYlX5ubX5+lBhnIgs+XN3pB5M/dMPzlreXAtqH2J1yUlefn sHHt3mbORZMZkFAsfK2Xr/h/rA9d0Oqoz/yU50Elc5rBYJ6SFLgKUzgUS6VC4m/VTX E1bC1IBGy4+zA== Original-Received: from milanesa (unknown [46.44.221.102]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id DA2C712031C; Thu, 4 Aug 2022 17:37:34 -0400 (EDT) In-Reply-To: <3d639ea126a196d498b9@heytings.org> (Gregory Heytings's message of "Thu, 04 Aug 2022 12:05:14 +0000") 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:238800 Archived-At: >> Just a curious question: How did we arrive at the current value of >> `long-line-threshold'? > I took the same value that Stefan had chosen for syntax-wholeline-max. For the record, I chose 10K based on ... a wild guess that a 10K is "definitely" in the camp of "very long lines" (it's not just a normal line that happens to be a bit long) yet at the same time it is hopefully short enough that it shouldn't take too much time to process. Stefan