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#74813: 31.0.50; scroll-down is 10x slower and laggy than scroll-up Date: Sat, 04 Jan 2025 14:05:36 +0200 Message-ID: <864j2eeqcv.fsf@gnu.org> References: <87ikrpgwlk.fsf@Mufasa.mail-host-address-is-not-set> <86a5d11d0u.fsf@gnu.org> <864j2oul7t.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28418"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 74813@debbugs.gnu.org To: Eval Exec Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jan 04 13:06:22 2025 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 1tU2v8-0007BL-L1 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 04 Jan 2025 13:06:22 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tU2us-00050R-7P; Sat, 04 Jan 2025 07:06: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 1tU2uo-0004zd-Sf for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 07:06: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 1tU2uo-00065Z-JT for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 07:06: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=OsUPBmC7N4nmD7cJ414X4tj6aV/7dR5a4AyyhDBOano=; b=Xo3x3v4xh6SbTWQAq7JWGEwOjjTzbDoZkjSWRpfMAJNtH52JGRymtJ4V7DWYdONpXa5wEBRUktG8wEk1sY9oJ258cmcV3u0wbPGgZXd8cSuVFU6KpNnY0uuizOZcYC6OXIhj7JepjtEI/iEW71sCi9hBDaStHCXoEfwqSgqPYPe1k6iYK6qHhRM4gGU1IzdEcZFLjTdTR5WkHrRvVQY/ElG0j2MQzg0dq73d4uZGpCTZx01IrTHOTpOS3bNPnuap3WGaL3BUDtASVLVXSpMSZNHiE1tSLE+gUELDEvJxJLt4vy+JiJ0kWt8DmlmqPVFiqyhoDTm3lG35azJSQkSd7A==; Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tU2uo-0004I0-DZ for bug-gnu-emacs@gnu.org; Sat, 04 Jan 2025 07:06:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 04 Jan 2025 12:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 74813 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: moreinfo Original-Received: via spool by 74813-submit@debbugs.gnu.org id=B74813.173599234816459 (code B ref 74813); Sat, 04 Jan 2025 12:06:02 +0000 Original-Received: (at 74813) by debbugs.gnu.org; 4 Jan 2025 12:05:48 +0000 Original-Received: from localhost ([127.0.0.1]:53746 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tU2uZ-0004HO-1S for submit@debbugs.gnu.org; Sat, 04 Jan 2025 07:05:47 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33376) by debbugs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1tU2uW-0004H9-2w for 74813@debbugs.gnu.org; Sat, 04 Jan 2025 07:05:44 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tU2uQ-0005ws-PK; Sat, 04 Jan 2025 07:05:38 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-version:References:Subject:In-Reply-To:To:From: Date; bh=OsUPBmC7N4nmD7cJ414X4tj6aV/7dR5a4AyyhDBOano=; b=l08uj4RhvsJ5lIWwO1cj HuPKMl7WWN5QTFTwYPxIh/0bjmK2rbU1y9VGfi9O6lqu7Oz2hbS/iDPzwh/Aao+UbLCeVHs682hmq 4yOt8txl0Wa6QxHc+9W2w+aqHtMs2I8WvkUBO1luk0UQwKjUk3NHCC/zUiWxjP0zkGmADNbd3Hrjp /uuFyokQcEypbxZtBXK4xkcCOkUV7/8WuoqjqV8+zPy6zEpFNuiqS7ondWcZwITZymFFByq/06jvt jJCOPUCfSBwk/sKQ2C5mdy9kagqII27/MiNR/5BUpU9NlH15AQQtXnHjw3Lw9ZFC42+aO6BMCpsc6 u5+EzwkgybXAVg==; In-Reply-To: (message from Eval Exec on Sat, 28 Dec 2024 21:31:28 +0800) 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:298383 Archived-At: > From: Eval Exec > Date: Sat, 28 Dec 2024 21:31:28 +0800 > Cc: 74813@debbugs.gnu.org > > Friendly Pong. I'm busy these days. I will upload a reproducible > minimal init.el tomorrow. Did you have time to come up with a reproducible recipe? > > On Sat, Dec 28, 2024 at 6:59 PM Eli Zaretskii wrote: > > > > > Cc: 74813@debbugs.gnu.org > > > Date: Thu, 12 Dec 2024 11:11:45 +0200 > > > From: Eli Zaretskii > > > > > > > From: Eval Exec > > > > Date: Thu, 12 Dec 2024 15:59:51 +0800 > > > > > > > > > > > > I opened a large rust file, about 5000 lines. > > > > scroll-up is quick and smooth, no laggy: > > > > [...] > > > > > > > > but scroll down is very laggy: > > > > > > > > 2667 87% - command-execute > > > > 2666 87% - funcall-interactively > > > > 2666 87% - evil-scroll-page-up > > > > 2666 87% - scroll-down > > > > 2665 87% - apply > > > > 2664 87% - ad-Advice-scroll-down > > > ^^^^^^^^^^^^^^^^^^^^^ > > > > 2663 87% - # > > > > > > First, you have an advice on scroll-down. > > > > > > Furthermore, scrolling down exposes portions of a file that were never > > > seen before, which needs to fontify them. If fontification is > > > expensive, it is expected that you will see some lags. What happens > > > if you scroll down, then go back to the beginning, and then scroll > > > down again -- is scrolling down the second time much faster? > > > > > > Also, you didn't say which major mode did you use for this file. > > > > Ping! Can you please answer my questions? >