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: Sat, 06 Aug 2022 23:29:07 +0000 Message-ID: <75558ca18e4a8cd4eea6@heytings.org> References: <83v8rf5894.fsf@gnu.org> <65cb7c73fd4a999cca00@heytings.org> <8c7321f2f3400a5db9be@heytings.org> <8c7321f2f388e5343475@heytings.org> <8c7321f2f36494299e61@heytings.org> <83v8rc2n1h.fsf@gnu.org> <64084296-1953-8ef8-5938-adfb6fb9b43f@yandex.ru> <83r11uzs8n.fsf@gnu.org> <14845631-c2ef-8371-8606-c858092e3192@yandex.ru> <83mtcizov2.fsf@gnu.org> <83h72qzheq.fsf@gnu.org> <25717d84-3411-a93a-3620-e04fe0571aff@yandex.ru> <83edxuzemr.fsf@gnu.org> <83a68hzz0a.fsf@gnu.org> <835yj5zkm4.fsf@gnu.org> <75558ca18e15abb45e9e@heytings.org> <85c0c8fb-4435-cf61-2b9e-93630537a40a@yandex.ru> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="x8TMxYPdZh" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="17726"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, Eli Zaretskii , monnier@iro.umontreal.ca To: Dmitry Gutov Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sun Aug 07 01:30:13 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 1oKTFF-0004Qu-H0 for geb-bug-gnu-emacs@m.gmane-mx.org; Sun, 07 Aug 2022 01:30:13 +0200 Original-Received: from localhost ([::1]:41514 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oKTFD-0008Hg-Ut for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 06 Aug 2022 19:30:11 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:53226) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oKTF4-0008HX-Dg for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 19:30:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:45887) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oKTF4-0005vc-4v for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 19:30:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oKTF3-0000wp-UH for bug-gnu-emacs@gnu.org; Sat, 06 Aug 2022 19:30:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Gregory Heytings Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 06 Aug 2022 23:30: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.16598285543570 (code B ref 56682); Sat, 06 Aug 2022 23:30:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 6 Aug 2022 23:29:14 +0000 Original-Received: from localhost ([127.0.0.1]:35636 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKTEI-0000vW-Bu for submit@debbugs.gnu.org; Sat, 06 Aug 2022 19:29:14 -0400 Original-Received: from heytings.org ([95.142.160.155]:42304) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oKTED-0000vG-2E for 56682@debbugs.gnu.org; Sat, 06 Aug 2022 19:29:13 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=heytings.org; s=20220101; t=1659828548; bh=oslRj5UUjBoYaIpSrXu0vdSEJfVzhuICV4ZrP00EGX0=; h=Date:From:To:cc:Subject:In-Reply-To:Message-ID:References:From; b=b/aZ823Ehp6+v96PaQd0KhnWqybgStDZvvW6oAPtG/4OtgExm5LujNitBtcqDoVeg ukOXDHCLpyS9isrV/uMVapKPtGnZZ0ChTiyYz+YDQJ3AVtlRq/+fe5cBH5OgsKx2IV 3aCEFPFiRfMAva3Me52akcEZdxkEQPwflJKhpjqUgEVwYmiGSyMWEB+jYSsi5jPSbs f2fiVaUH9yC0Yq9vFp0wTsSLOpLrcAjp1M92ts+P3V7GEslqSTLTSzIjOFUfDK475U JF5LNcPVIzTjaugZnQTqpmg7j4Oq1BO23QSP1lPz+CDl8n8sJuOvgJXK317Cccx6JT lK9nGqnufhqPQ== In-Reply-To: <85c0c8fb-4435-cf61-2b9e-93630537a40a@yandex.ru> Content-ID: <75558ca18ec8a9bded71@heytings.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:239006 Archived-At: --x8TMxYPdZh Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Content-ID: <75558ca18e64a4f17274@heytings.org> >> Especially given that the said correctness has always been relative.=C2= =A0=20 >> So it's not like we're leaving the heaven of 100% correctness and=20 >> falling into the hell of 10% correctness.=C2=A0 A more reasonable view o= f=20 >> the situation is that we had 90% correctness and now have, > > As someone who worked on different major mode and syntax-ppss itself a=20 > little, that feels moderately insulting. > > No: we strive to close to 100% correctness in supporting language syntax= =20 > and can often reach it with moderate effort (programming-wise). > It isn't meant to be insulting, and I think you understood that. My=20 experience is simply that highlighting in Emacs is definitely not "close=20 to 100% correct", whatever be the mode. The most correct one is perhaps=20 emacs-lisp-mode (unsurprisingy). >> in files with "loo long lines" and only in those files, 60%=20 >> correctness. > > Does the attached screenshot look like 60% correctness to you? > A small sample of a big file is definitely not representative, and I think= =20 you understood that. > > To me, it's more like -60%. Or at least, that's what the utility of such= =20 > highlighting will be (negative). > In which case you should turn highlighting off in such files. That's what= =20 all other editors do anyway. --x8TMxYPdZh--