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.devel Subject: Speedup of display of long and truncated lines Date: Sat, 13 Aug 2022 17:10:44 +0300 Message-ID: <83edxkmdy3.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="37873"; mail-complaints-to="usenet@ciao.gmane.io" To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Aug 13 16:11:33 2022 Return-path: Envelope-to: ged-emacs-devel@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 1oMrrQ-0009m6-Uc for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Aug 2022 16:11:33 +0200 Original-Received: from localhost ([::1]:41270 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oMrrP-0005Xh-LN for ged-emacs-devel@m.gmane-mx.org; Sat, 13 Aug 2022 10:11:31 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:39750) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMrqs-0004rX-Ap for emacs-devel@gnu.org; Sat, 13 Aug 2022 10:10:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:49426) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oMrqs-0002nz-2i for emacs-devel@gnu.org; Sat, 13 Aug 2022 10:10:58 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=Subject:To:From:Date:mime-version:in-reply-to: references; bh=M619VX88tuqfjEEQmTwMscVjKL1Qeic1D7YLLv3taWY=; b=mBq3Uawf9RCj/H sCq1TZ3/KtuYfVPmmVeony7N2nYmxi98vGM7yqtPvxTOYayRYgZtqtxSd6GI6vk1oFxCd63d7gr7c h0b1txg997zhsNodhtStCFbY02ni8ui1RbcL8khXBwfzBeNEz4y/bI6g3sJa/yE2ww/FYkCyl8D76 q1uxJST4GTru43GKaJbNkZhezxjt7zKstrObuE9tW7UU5bl+F7EpeQfaHY9tbAbJeYdt4y0NxqZ0w 4kcc1+WzQhC+91EfNt+63Xyohk7SWoSGMjg/mcmoFoH6zwK08kkUj3M9odbR45G0KwxRlhluJmwiy IfbHMX8y8XRcH3gZk/SA==; Original-Received: from [87.69.77.57] (port=3340 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 1oMrqr-0005ot-D9 for emacs-devel@gnu.org; Sat, 13 Aug 2022 10:10:57 -0400 X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:293413 Archived-At: I've installed a few changes intended to speed up redisplay of buffers with long lines when lines are truncated. This is WIP. With the changes I installed, navigation via C-f/C-b should be much faster, and likewise C-e and C-a (although C-a still has one problem I see that needs to be fixed). Vertical cursor motion commands (C-n/C-p) are still slow and need to be sped up; that's on my TODO. I didn't yet look at C-v/M-v, mainly because I don't have examples of files with long lines that have enough long lines to justify movement by window-full. (I could, of course, produce such files myself, but the question is: do such files exist in Real Life, enough to make the scrolling commands important in these cases? Examples of such files, if they exist, are welcome.) I'm sure these changes break some use cases, or even cause crashes. Reports of such issues are therefore welcome, as are examples of files with long lines which exhibit slow redisplay after these changes (under line-truncation). Thanks in advance, and happy hacking!