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: Thu, 16 Apr 2020 16:20:56 -0400 Message-ID: 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> <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> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="17812"; 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, Dmitry Gutov , acm@muc.de To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 16 22:21:34 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 1jPB0w-0004Wq-S3 for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 22:21:34 +0200 Original-Received: from localhost ([::1]:38980 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPB0v-0004Ki-Sa for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 16:21:33 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:58892) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPB0Q-0003uM-L6 for emacs-devel@gnu.org; Thu, 16 Apr 2020 16:21:03 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPB0P-0003Y7-Ku for emacs-devel@gnu.org; Thu, 16 Apr 2020 16:21:02 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:11713) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1jPB0O-0003XE-1b; Thu, 16 Apr 2020 16:21:00 -0400 Original-Received: from pmg3.iro.umontreal.ca (localhost [127.0.0.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 7BAE04500F7; Thu, 16 Apr 2020 16:20:59 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg3.iro.umontreal.ca (Proxmox) with ESMTP id 123854500DC; Thu, 16 Apr 2020 16:20:58 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1587068458; bh=s9M7NG68MhIYuAd3jIxs6QSgZUm4xLm+jCzgWbRDp6g=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=GrtwmlZ4Lcf5XiQRqmZcTKC5XM8ZHq3SQ27y2BtIRz5cfPEGGHAMQCeJuChRe34DW yz70eIfl4PP8ccROPqjA2iVt52Kain1APnb+ms3aHILCC9osJBgNAiefV6jPiCExXd YcrMcHMGKH9WD07loDXnZPvZtYbpq67d4AjF0tAuIstMymDs85+LDKqiqyBB17u6CB KWNqPvPrtPlh4rrNpzqbzEV24b7/0mGmxuZRzWNAy3MYirzPX/wlTyqmkT+G5x6adT 73SGP9GI928MZst9Q6n0gLG9hWJB7eScwMLmtoaLJpICdah5J0kwep9MiUBw5vs48P mvcv8S14z/ulw== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 7248D12053C; Thu, 16 Apr 2020 16:20:57 -0400 (EDT) In-Reply-To: <83zhbcdmyi.fsf@gnu.org> (Eli Zaretskii's message of "Thu, 16 Apr 2020 08:22:13 +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:247132 Archived-At: >> - Implementation-wise, not all commands simulate redisplay during their >> operation. > I think you will find that many more do than you seem to assume. Even > just redisplaying a window does this in many cases (to find the proper > place for window-start position). C-n and C-p do as well. char-based, word-based, and sexp-based motion doesn't. But line and motion that depends on "visual size" indeed typically does. > And when scroll-conservatively is in effect, almost every command that > moves point does. 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). Stefan