From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Alan Mackenzie Newsgroups: gmane.emacs.devel Subject: Re: Scrolling commands and skipping redisplay Date: Sat, 11 Apr 2020 21:13:19 +0000 Message-ID: <20200411211319.GC6682@ACM> References: <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> <83lfn2kkok.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="70864"; 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: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sat Apr 11 23:14:05 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 1jNNS1-000IKc-9y for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Apr 2020 23:14:05 +0200 Original-Received: from localhost ([::1]:56390 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNNS0-0002Rq-Ax for ged-emacs-devel@m.gmane-mx.org; Sat, 11 Apr 2020 17:14:04 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:49720) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jNNRO-0001zp-QI for emacs-devel@gnu.org; Sat, 11 Apr 2020 17:13:27 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jNNRN-0005JY-M6 for emacs-devel@gnu.org; Sat, 11 Apr 2020 17:13:26 -0400 Original-Received: from colin.muc.de ([193.149.48.1]:18673 helo=mail.muc.de) by eggs.gnu.org with smtp (Exim 4.71) (envelope-from ) id 1jNNRN-0005Iz-CE for emacs-devel@gnu.org; Sat, 11 Apr 2020 17:13:25 -0400 Original-Received: (qmail 23668 invoked by uid 3782); 11 Apr 2020 21:13:23 -0000 Original-Received: from acm.muc.de (p2E5D55B6.dip0.t-ipconnect.de [46.93.85.182]) by localhost.muc.de (tmda-ofmipd) with ESMTP; Sat, 11 Apr 2020 23:13:19 +0200 Original-Received: (qmail 10781 invoked by uid 1000); 11 Apr 2020 21:13:19 -0000 Content-Disposition: inline In-Reply-To: <83lfn2kkok.fsf@gnu.org> X-Delivery-Agent: TMDA/1.1.12 (Macallan) X-Primary-Address: acm@muc.de X-detected-operating-system: by eggs.gnu.org: FreeBSD 9.x [fuzzy] X-Received-From: 193.149.48.1 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:246845 Archived-At: Hello, Eli. On Sat, Apr 11, 2020 at 20:15:55 +0300, Eli Zaretskii wrote: > > 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 > > 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. This would presumably happen in emacs-lisp-mode, too, if you ever did auto-repeated C-v's. > > 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. OK, I've tidied it up a bit, and pushed it to the emacs-27 branch. It's looking like the gnu.org mailing server is down. -- Alan Mackenzie (Nuremberg, Germany).