From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Visuwesh Newsgroups: gmane.emacs.bugs Subject: bug#56682: Fix the long lines font locking related slowdowns Date: Sat, 23 Jul 2022 20:05:50 +0530 Message-ID: <87v8rnc2wp.fsf@gmail.com> References: <837d46mjen.fsf@gnu.org> <174616cd5c33bfc14b1f@heytings.org> <837d44jr4p.fsf@gnu.org> <83bktghrn0.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="1860"; 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, monnier@iro.umontreal.ca To: Gerd =?UTF-8?Q?M=C3=B6llmann?= Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 23 16:37:32 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 1oFGG4-0000If-Iy for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jul 2022 16:37:32 +0200 Original-Received: from localhost ([::1]:57340 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oFGG3-0001QJ-FL for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 23 Jul 2022 10:37:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:43644) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oFGFb-0000e9-6B for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2022 10:37:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:56249) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1oFGFa-00047c-TH for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2022 10:37:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1oFGFa-0006Mw-PR for bug-gnu-emacs@gnu.org; Sat, 23 Jul 2022 10:37:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Visuwesh Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 23 Jul 2022 14:37: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.165858696624379 (code B ref 56682); Sat, 23 Jul 2022 14:37:02 +0000 Original-Received: (at 56682) by debbugs.gnu.org; 23 Jul 2022 14:36:06 +0000 Original-Received: from localhost ([127.0.0.1]:45997 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFGEf-0006L3-Pb for submit@debbugs.gnu.org; Sat, 23 Jul 2022 10:36:06 -0400 Original-Received: from mail-pj1-f66.google.com ([209.85.216.66]:51976) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1oFGEa-0006KO-RG for 56682@debbugs.gnu.org; Sat, 23 Jul 2022 10:36:04 -0400 Original-Received: by mail-pj1-f66.google.com with SMTP id gq7so6666005pjb.1 for <56682@debbugs.gnu.org>; Sat, 23 Jul 2022 07:36:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:in-reply-to:references:date:message-id :user-agent:mime-version:content-transfer-encoding; bh=0uowK9m14WLeCgEv6FSb2w5KCXKj2CeOchj8/a4HpzE=; b=DQHRLQFSai3mNe2vcDNGaB/624meGo2ahH4bYL439KgcTt2gulUXWq5OeyVkyhcsVX zDwDxZqygADDI6B3W0FYeTXGZfF9GCUc2CjgHlAmf88+bitNuftsvTzc+FvF1ANjhAKn Sy8TfdOK1pOTX0Fpvvmbz+aR699KoLr+hX4JUImmARto9UWVqXCLhX3QPkfQOwG1iCs1 tRGHYGmoKYs9B5V3ORJhDyuQPuvNPZmHqh0kXo80j7tZILCycFwLwpzHOYxA+BeaQgeJ R94xrQDxXf/nT1+xLKOTg2Sa7yOXwZxjTXeDy8mujbcDLjyqArA+swHbJTZK/CDArYw3 m3fA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:in-reply-to:references:date :message-id:user-agent:mime-version:content-transfer-encoding; bh=0uowK9m14WLeCgEv6FSb2w5KCXKj2CeOchj8/a4HpzE=; b=I9HSviil2OJBS7knPVYYKqIcKIvyxrBJb/p9H7aatGhc1nTTAFXKVz5d58j4azR9KN zxbQoHQGwVg8WUbfoiYUt7ZKeqRAbgUL3aYgHzqW6BRIBPMHF5CGF3Fqi9XOXccPTv7J gCKLzsN3YuFRB4CP3EKdO91yHAdEA0UNUl/5r0hkA0TnLYmqrr6PW6b8P+VJ41GKj5m+ DAguQFKdOzjCAqVadU24rT8PcWNzkUJtmuUv+dW/fhmuEiD/AyH1UQS5MIWzvlEkzl17 u5fU9fbt0KcPiOx332JGuu0rmNSRK9poTLAt0u5508qQxQ0v8DkKGCo8REdVKWJzSDO7 cMRA== X-Gm-Message-State: AJIora+PTsdDx4H50Ur8RQA5d74cXhPd/Bd1JklOyPhI+VogRGEIBlNm brTZVXJnNSFiGOYitbA/pxM= X-Google-Smtp-Source: AGRyM1uUJC4OB9q4/cZbvEcmrfEHSwVlOGTnmxXSWaN8hl8U/U1ffsomDNE9jHhmEdMYPhgvXfPGNg== X-Received: by 2002:a17:90a:f003:b0:1f2:49f8:19d5 with SMTP id bt3-20020a17090af00300b001f249f819d5mr5541838pjb.28.1658586954955; Sat, 23 Jul 2022 07:35:54 -0700 (PDT) Original-Received: from localhost ([49.204.138.209]) by smtp.gmail.com with ESMTPSA id t14-20020a170902e84e00b0016bfbd99f64sm5884596plg.118.2022.07.23.07.35.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 23 Jul 2022 07:35:53 -0700 (PDT) In-Reply-To: ("Gerd =?UTF-8?Q?M=C3=B6llmann?="'s message of "Sat, 23 Jul 2022 16:25:34 +0200") 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:237750 Archived-At: [=E0=AE=9A=E0=AE=A9=E0=AE=BF =E0=AE=9C=E0=AF=82=E0=AE=B2=E0=AF=88 23, 2022]= Gerd M=C3=B6llmann wrote: > Eli Zaretskii writes: > >> And I've found a serious sink of CPU cycles under truncate-lines, and >> installed a fix on the feature branch. Gerd, if you have time to >> eyeball the fix and comment on it, I'd appreciate. It's commit >> 350e97d on the branch. (I can post a more detailed explanation of >> what I did and why, if that would help, because the code and the >> functions it calls are somewhat tricky.) > > I'll look at it and come back. > > BTW, does feature/long-lines-and-font-locking] build for you? I'm getting > > In toplevel form: > cedet/semantic/symref/list.el:35:2: Error: Wrong type argument: number-or= -marker-p, nil > make[2]: *** [cedet/semantic/symref/list.elc] Error 1 > make[2]: *** Waiting for unfinished jobs.... > make[1]: *** [compile-main] Error 2 > make: *** [lisp] Error 2 > > Configured --with-native-compilation. I think Eli fixed it in the master branch in commit 4a4fcf628e1e4c8db47cd62= fa5617b662fa8b5d6. https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=3D4a4fcf628e1e4c8db4= 7cd62fa5617b662fa8b5d6