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, was: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Fri, 10 Apr 2020 21:25:31 +0300 Message-ID: <838sj3mc4k.fsf@gnu.org> References: <20200403174757.GA8266@ACM> <83y2r9syby.fsf@gnu.org> <20200405195753.GG5049@ACM> <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> <83v9m9nltx.fsf@gnu.org> <4c5ebff1-39ab-3d63-6118-42befc93b862@yandex.ru> <6914ebb2-2dfa-efdc-1181-c42259219bca@yandex.ru> <83zhbjna0q.fsf@gnu.org> <903b7d31-bd0e-e2dc-a981-d090ed959ccb@yandex.ru> <83pncfmpme.fsf@gnu.org> <94ee576f-ff26-cad9-3e22-b75299ff9cdb@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="126623"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rms@gnu.org, emacs-devel@gnu.org, rudalics@gmx.at, rrandresf@gmail.com, dgutov@yandex.ru, acm@muc.de To: Stefan Monnier Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 10 20:27:20 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 1jMyN5-000W1q-Ly for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Apr 2020 20:27:19 +0200 Original-Received: from localhost ([::1]:37782 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMyMR-0002fO-Ib for ged-emacs-devel@m.gmane-mx.org; Fri, 10 Apr 2020 14:26:39 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:54540) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jMyLl-0001i6-8u for emacs-devel@gnu.org; Fri, 10 Apr 2020 14:25:58 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56419) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1jMyLk-0004JM-4D; Fri, 10 Apr 2020 14:25:56 -0400 Original-Received: from [176.228.60.248] (port=2141 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jMyLc-0007bc-BG; Fri, 10 Apr 2020 14:25:49 -0400 In-Reply-To: (message from Stefan Monnier on Fri, 10 Apr 2020 10:45:08 -0400) 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:246789 Archived-At: > From: Stefan Monnier > Date: Fri, 10 Apr 2020 10:45:08 -0400 > Cc: rms@gnu.org, emacs-devel@gnu.org, rudalics@gmx.at, rrandresf@gmail.com, > acm@muc.de, Eli Zaretskii > > And in theory it should be possible to make something like > (setq jit-lock-defer-mode 0) avoid this flicker because the last > repetition of `C-v` is executed with `input-pending-p` returning nil, so > we should be able to fully jit-lock right away with no deferral at > that point. Redisplay is not instantaneous, so even if you check at some point through redisplay and find that no input is pending, this can change while redisplay is in progress. In any case, this talk about checking whether input is available seems to mean we want to resurrect the nil value of redisplay-dont-pause, doesn't it?