From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: Scrolling commands and skipping redisplay Date: Sat, 11 Apr 2020 20:15:55 +0300 Message-ID: <83lfn2kkok.fsf@gnu.org> References: <542b48ba-4dfa-820f-ba50-4b147ab6d8e2@yandex.ru> <0a5f70aa-4985-8f8d-81d6-6ac4a60a94f9@yandex.ru> <838sj8sphk.fsf@gnu.org> <834ktwsmfw.fsf@gnu.org> <83imibqsmm.fsf@gnu.org> <478c2aab-a5fc-61c2-02e2-2d9846b95273@yandex.ru> <20200411132126.GA6682@ACM> <83pncekug1.fsf@gnu.org> <20200411170404.GB6682@ACM> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="24192"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, rrandresf@gmail.com, emacs-devel@gnu.org, rms@gnu.org, dgutov@yandex.ru To: Alan Mackenzie Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 11 19:16:56 2020 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 1jNJkV-0006Dr-BZ for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Apr 2020 19:16:55 +0200 Original-Received: from localhost ([::1]:53824 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNJkU-0005tH-E4 for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Apr 2020 13:16:54 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:55926) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNJjw-0005JW-Nk for emacs-devel@gnu.org; Sat, 11 Apr 2020 13:16:21 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:46430) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jNJju-00060m-GW; Sat, 11 Apr 2020 13:16:18 -0400 Original-Received: from [176.228.60.248] (port=2744 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jNJjn-00067U-7I; Sat, 11 Apr 2020 13:16:11 -0400 In-Reply-To: <20200411170404.GB6682@ACM> (message from Alan Mackenzie on Sat, 11 Apr 2020 17:04:04 +0000) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 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:246843 Archived-At: > Date: Sat, 11 Apr 2020 17:04:04 +0000 > Cc: dgutov@yandex.ru, rudalics@gmx.at, rrandresf@gmail.com, rms@gnu.org, > emacs-devel@gnu.org > From: Alan Mackenzie > > > I dislike (i)b and (ii)b because they are jerky, and because when I > > stop leaning on C-v, I have a lot of screen to watch scrolling, until > > Emacs starts executing new commands. I guess my auto-repeat rate is > > higher than Alan's. or maybe it's because I'm trying this in a GUI > > frame, not a TTY frame. > > It sounds like your time for scrolling a screen, even without > fontification, is close to your auto-repeat time. _Only_ without fontification. With fontifications, at least in CC Mode, Emacs gets stuck after several screenfuls in -O0 and -Og builds, which means the time to scroll is longer than the auto-repeat interval. > My repeat rate is 30 characters/second. It's about 50 here. > As an alternative to setting `fast-but-imprecise-scrolling' you > might prefer to enable jit-lock deferred fontification (See Font > Lock). To do this, customize `jit-lock-defer-time' to a small > positive number such as 0.1. This gives you less jerky scrolling, > but the buffer contents on any scroll operation into a fresh portion > of the buffer will at first be unfontified, No objections.