From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Stefan Monnier Newsgroups: gmane.emacs.devel Subject: Re: Scrolling commands and skipping redisplay, was: Re: emacs rendering comparisson between emacs23 and emacs26.3 Date: Fri, 17 Apr 2020 11:13:27 -0400 Message-ID: References: <20200403174757.GA8266@ACM> <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> <83tv1rn8fx.fsf@gnu.org> <4f8bb277-b376-97bf-8539-799688d8e66d@yandex.ru> <83eesvmj15.fsf@gnu.org> <6eec7f68-770e-b3b1-4627-6222f3ef7216@yandex.ru> <83ftd9kwlu.fsf@gnu.org> <1de9d24f-eeb7-7d0a-3768-4baba4365066@yandex.ru> <83zhbcdmyi.fsf@gnu.org> <83v9lyd49n.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="112183"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: rms@gnu.org, emacs-devel@gnu.org, rudalics@gmx.at, rrandresf@gmail.com, dgutov@yandex.ru, acm@muc.de To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Apr 17 17:14:43 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 1jPShW-000T4H-TC for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Apr 2020 17:14:42 +0200 Original-Received: from localhost ([::1]:48318 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPShV-00061q-VI for ged-emacs-devel@m.gmane-mx.org; Fri, 17 Apr 2020 11:14:41 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:50109) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPSgS-0005Fy-07 for emacs-devel@gnu.org; Fri, 17 Apr 2020 11:13:37 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPSgQ-0005zK-GD for emacs-devel@gnu.org; Fri, 17 Apr 2020 11:13:35 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:32494) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jPSgO-0005xb-8g; Fri, 17 Apr 2020 11:13:32 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id E88F381145; Fri, 17 Apr 2020 11:13:30 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 09705806B9; Fri, 17 Apr 2020 11:13:29 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1587136409; bh=Vf1uaoi563KZpXL7dBqnNU+MV/oyajpie414tdIeTow=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=L24ryZ00MDUqZqGBNf3VbeGo0UsL94ieEFnqjxMdZaVWpQlsfi8AcxvHV/yq8FFyU +7DYOEdVgomQV5a/PtCSOX9vXw/7m7V9JUUzd4i4xsDdLsol5E5gLHl+MnxMV2+AIs 6Ih8QIplE2XY9kUvpMhYEVrmCbYNu7OAI8LrdxD3JomaSs3p3pqDapidfiAfaPKGC1 ijXbD8INvDVaoThcBlivhfFpDTpkb1TQKAN4LXLZsq6iiGtQWSuARMPFhI0D38/9Sg xXCpzvTiRK3pxf1KXHIu6YZXWJbOk9N/h7yHInzOmoapvPvjGE8LFM65IYHDVPForR HhJuRoExAzVyA== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id AF6C2120835; Fri, 17 Apr 2020 11:13:28 -0400 (EDT) In-Reply-To: <83v9lyd49n.fsf@gnu.org> (Eli Zaretskii's message of "Fri, 17 Apr 2020 09:18:12 +0300") X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 132.204.25.50 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:247172 Archived-At: >> Really? I thought `scroll-conservatively` only affects the redisplay >> code and not the execution of "normal" commands (i.e. commands which >> don't themselves rely on simulating redisplay). > > Like I said: redisplay itself calls those functions internally in many > situations, and scroll-conservatively > 100 makes it use that much > more. When I said above "almost every command", I meant redisplay > triggered after commands that move point. But my understanding was that this part of the discussion was focused on the distinction between "may run redisplay/jit-lock during the execution of the command itself" vs "only runs jit-lock/redisplay once the command itself is over". AFAIK `scroll-conservatively` only affects the redisplay so it can't affect the above distinction. Stefan