From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Divya Ranjan via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#74281: 30.0.91; font-lock mode hangs on scrolling large Scheme file Date: Thu, 14 Nov 2024 11:09:41 +0000 Message-ID: <4127F2A6-D61A-4B77-9172-16861383B73C@subvertising.org> References: <8734k0cs1u.fsf@subvertising.org> <86zfm2jjbo.fsf@gnu.org> <87frnu2mar.fsf@subvertising.org> <86ldxmjfim.fsf@gnu.org> Reply-To: Divya Ranjan Mime-Version: 1.0 Content-Type: multipart/alternative; boundary=----AEHSK0JDD6QH7W6ZWHOXDT8WGBM7QF Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="29543"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Thunderbird for Android Cc: monnier@iro.umontreal.ca To: 74281@debbugs.gnu.org, eliz@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Nov 14 12:10:17 2024 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 1tBXjr-0007RI-VM for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 14 Nov 2024 12:10:16 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tBXjh-00071X-T7; Thu, 14 Nov 2024 06:10:06 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBXjf-0006zh-AL for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 06:10:03 -0500 Original-Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1tBXje-0001fH-IM for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 06:10:02 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:References:In-Reply-To:From:Date:To:Subject; bh=CvyfPDp1nkxwpwnrv5UMuiozo/sjNDePW6kyqhpMZWw=; b=rMLJVP+xp4FK3WyaSrWKoxGJksSjCF4lVJIgbEecuajj+8fWiIBwaiIt8TPLrcX89rXSlNn5L15+44hk6vKDW4ui/rgPvXCJLw/miNkGG4O8Btkamh92bRhgXt/z6txMwBH9Ki3jFMbOzP43nAsDPneDf9XKQWuMfUO9MCAhH2pURK+0WyqAdi3LMACNAMSB1rJjrZcyx/B2FpsSrB4UqLcsBgnFzrDZ/5WNkVPWP051WUclWmCGTUPo+dx5NgJ6iPAg17D2jECcWyZwSsspDsxjfpcWU4Zz9d1XvDf6A3AjVxGwJLy4IQsQfO9CxgZae6q1Un/1u3s9cagcjtq6jQ==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tBXje-0000Fx-C0 for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 06:10:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Divya Ranjan Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 14 Nov 2024 11:10:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74281 X-GNU-PR-Package: emacs X-Debbugs-Original-To: bug-gnu-emacs@gnu.org, Eli Zaretskii X-Debbugs-Original-Cc: monnier@iro.umontreal.ca, 74281@debbugs.gnu.org Original-Received: via spool by submit@debbugs.gnu.org id=B.1731582600967 (code B ref -1); Thu, 14 Nov 2024 11:10:02 +0000 Original-Received: (at submit) by debbugs.gnu.org; 14 Nov 2024 11:10:00 +0000 Original-Received: from localhost ([127.0.0.1]:45256 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBXjc-0000FX-8v for submit@debbugs.gnu.org; Thu, 14 Nov 2024 06:10:00 -0500 Original-Received: from lists.gnu.org ([209.51.188.17]:51580) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tBXjZ-0000FM-FD for submit@debbugs.gnu.org; Thu, 14 Nov 2024 06:09:57 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBXjY-0006sT-Pt for bug-gnu-emacs@gnu.org; Thu, 14 Nov 2024 06:09:57 -0500 Original-Received: from devianza.investici.org ([198.167.222.108]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tBXjX-0001dL-4k; Thu, 14 Nov 2024 06:09:56 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=subvertising.org; s=stigmate; t=1731582592; bh=CvyfPDp1nkxwpwnrv5UMuiozo/sjNDePW6kyqhpMZWw=; h=Date:From:To:CC:Subject:In-Reply-To:References:From; b=mXZVCdrpP0QoLhZDRx/tIhldicQeZdJ2d1pXWuKthOIcG3mZEGbCK4a5mre0yg7v3 rec2Zs5YtTHP1myAGvMs2dDmxAvkBT3iX9VlZCTQ94v14eHU7NQg+R2f1l9XOPbVJQ /8RgvrnVgk3ZRcwcpr8KUJnWhGAd7nvktfU9k3nA= Original-Received: from mx2.investici.org (unknown [127.0.0.1]) by devianza.investici.org (Postfix) with ESMTP id 4Xpy9D6Jc2z6vFd; Thu, 14 Nov 2024 11:09:52 +0000 (UTC) Original-Received: from [198.167.222.108] (mx2.investici.org [198.167.222.108]) (Authenticated sender: divya@subvertising.org) by localhost (Postfix) with ESMTPSA id 4Xpy9D0ybTz6v2Q; Thu, 14 Nov 2024 11:09:51 +0000 (UTC) In-Reply-To: <86ldxmjfim.fsf@gnu.org> Received-SPF: pass client-ip=198.167.222.108; envelope-from=divya@subvertising.org; helo=devianza.investici.org X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:295327 Archived-At: ------AEHSK0JDD6QH7W6ZWHOXDT8WGBM7QF Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable > I don't understand the question: I thought I pointed at the possible caus= e by mentioning syntax-directed font lock? I meant you said the emacs build is "unoptimized", what can be optimized? Regards, On 14 November 2024 10:06:41 GMT, Eli Zaretskii wrote: >> From: Divya Ranjan >> Cc: Stefan Monnier , 74281@debbugs=2Egnu= =2Eorg >> Date: Thu, 14 Nov 2024 09:32:12 +0000 >>=20 >> Hello, Eli >>=20 >> Eli Zaretskii writes: >>=20 >> >> Date: Sat, 09 Nov 2024 16:04:13 +0000 >> >> From: Divya Ranjan via "Bug reports for GNU Emacs, >> >> the Swiss army knife of text editors" >> >>=20 >> >>=20 >> >> 1=2E In emacs -Q, open a fairly big Scheme file (> 70k) and try to m= ove in >> >> the file with C-n, C-f or mouse scrolling=2E It sverely lags for sev= eral >> >> seconds, doesn=E2=80=99t even respond to C-g=2E >> > >> > I can only reproduce this with C-p when moving from the end of the >> > file=2E C-n and C-f are instantaneous here, even though this is an >> > unoptimized build of Emacs 30=2E >>=20 >> I see, well its the latest build of emacs on GNU Guix, so yeah=2E Which= lacking features in particular do you think might be causing this? > >I don't understand the question: I thought I pointed at the possible >cause by mentioning syntax-directed font lock? > > > Divya Ranjan, Mathematics, Philosophy and Libre Software ------AEHSK0JDD6QH7W6ZWHOXDT8WGBM7QF Content-Type: text/html; charset=utf-8 Content-Transfer-Encoding: quoted-printable
> I don't understand the ques= tion: I thought I pointed at the possible cause by mentioning syntax-direct= ed font lock?

I meant you said the emacs build is "unoptimized", wha= t can be optimized?

Regards,


On 14 November 2024 10:06:41 GMT, Eli Zaretskii <= eliz@gnu=2Eorg> wrote:
From: Divya Ranjan <divya@subvertising=2Eorg>
Cc: S= tefan Monnier <monnier@iro=2Eumontreal=2Eca>, 74281@debbugs=2Egnu=2E= org
Date: Thu, 14 Nov 2024 09:32:12 +0000

Hello, Eli

Eli Z= aretskii <eliz@gnu=2Eorg> writes:

Date: Sat, 09 Nov 2024 16:04:13 +0000
From: Divya Ra= njan via "Bug reports for GNU Emacs,
the Swiss army knife of text edito= rs" <bug-gnu-emacs@gnu=2Eorg>


1=2E In emacs -Q, open a fai= rly big Scheme file (> 70k) and try to move in
the file with C-n, C-f= or mouse scrolling=2E It sverely lags for several
seconds, doesn=E2=80= =99t even respond to C-g=2E

I = can only reproduce this with C-p when moving from the end of the
file= =2E C-n and C-f are instantaneous here, even though this is an
unoptim= ized build of Emacs 30=2E

I see= , well its the latest build of emacs on GNU Guix, so yeah=2E Which lacking = features in particular do you think might be causing this?

I don't understand the question: I thought I po= inted at the possible
cause by mentioning syntax-directed font lock?
=


Divya Ranjan, = Mathematics, Philosophy and Libre Software
------AEHSK0JDD6QH7W6ZWHOXDT8WGBM7QF--