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: Thu, 04 Aug 2022 09:08:37 +0300 Message-ID: <83les44k2i.fsf@gnu.org> References: <8c7321f2f388e5343475@heytings.org> <6ea376f6-d503-06d8-6d83-50c52b695394@yandex.ru> <8c7321f2f3ac52bfee4b@heytings.org> <8c7321f2f3ec1ef81af9@heytings.org> <02e83b0e-1b5c-fe75-6e59-1f8ddff82d37@yandex.ru> <96f28fd8-6744-1925-0631-0095099362dd@yandex.ru> <74ddc877f1e81f399eea@heytings.org> <74ddc877f14320d7852f@heytings.org> <5f6988c781f1253541e3@heytings.org> <5f6988c781a5686a88d1@heytings.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="31765"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 56682@debbugs.gnu.org, gregory@heytings.org, dgutov@yandex.ru To: Stefan Monnier Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Aug 04 08:17:42 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 1oJUAw-000819-Er for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 08:17:42 +0200 Original-Received: from localhost ([::1]:55738 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oJUAv-00064H-6p for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 04 Aug 2022 02:17:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54252) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJU2c-0002d0-0A for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 02:09:08 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:32865) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oJU2Y-000849-4I for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 02:09:04 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oJU2X-0005cu-RR for bug-gnu-emacs@gnu.org; Thu, 04 Aug 2022 02:09:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 04 Aug 2022 06:09: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.165959333521617 (code B ref 56682); Thu, 04 Aug 2022 06:09:01 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 4 Aug 2022 06:08:55 +0000 Original-Received: from localhost ([127.0.0.1]:50847 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJU2R-0005ca-EE for submit@debbugs.gnu.org; Thu, 04 Aug 2022 02:08:55 -0400 Original-Received: from eggs.gnu.org ([209.51.188.92]:41312) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oJU2O-0005cM-PR for 56682@debbugs.gnu.org; Thu, 04 Aug 2022 02:08:54 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:34666) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oJU2D-000829-IT; Thu, 04 Aug 2022 02:08:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=DU/5mmkkYceqj0FCbk93ZkWAXOKyMKQe5gyjqUtfH0E=; b=HDt4V2+FYbhe QXW+CH0/zMUcSS3Je+HX+bB+CKi2mIA6ZT1x/1hiitOoOgcja0hrH5xLLRFgOUrJIbcd2LU0o3Gls NKyjbBjy3UkWdRNqvTBqbTUQh8D3LxPK6I0OI19j3zTOiYFhN7hAAAUcMmTCYX+/gN+VNKCbZxpbu dzxAfNJtn4ehAc8YKnX0+GnjSpH0pug4QZbgpFw6vbDmu2Rikbk5HTv7XazDZ+ncNv2F+JosWdwij nT3dX2PkVYoupYhfe/tdI6EYMAu1yUb4ds2em6WZt4TWE6AplgWMhU2OMlk6PicIGzBxGRC7tiQik OU6V8Ag9u0oZMTWqS7pewA==; Original-Received: from [87.69.77.57] (port=2931 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 1oJU2D-0007ii-1h; Thu, 04 Aug 2022 02:08:41 -0400 In-Reply-To: (message from Stefan Monnier on Wed, 03 Aug 2022 18:42:03 -0400) 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:238676 Archived-At: > From: Stefan Monnier > Cc: 56682@debbugs.gnu.org, Eli Zaretskii , Dmitry Gutov > > Date: Wed, 03 Aug 2022 18:42:03 -0400 > > I don't care about the mishighlighting and find the current behavior > perfectly acceptable from an end-user point of view. I only care about > the extra enforcement done in C code without providing any mechanism to > circumvent it. Especially since this discussion seems to suggest that > if I were to propose a patch that makes this locking a bit more "soft", > it might be rejected on the grounds that it opens the door to abuse "Show me the code", instead of imagining what would be the reaction to that. (To say nothing of the fact that what I already wrote several times explicitly contradicts your impression.)