From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: Dmitry Gutov 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 23:13:16 +0300 Message-ID: <61f565cd-4fee-d48c-a9ef-b78419b3d058@yandex.ru> References: <20200403174757.GA8266@ACM> <20200404104553.GA5329@ACM> <07fe3b69-3ab2-3173-0696-cb17809e2b91@gmx.at> <83blo7v68b.fsf@gnu.org> <1845d7aa-9ae4-3d95-6a30-c7b1d8d8adec@gmx.at> <83a73qt6zs.fsf@gnu.org> <97c4254e-ff43-8402-3645-f713c408c245@gmx.at> <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; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="115098"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 Cc: acm@muc.de, rrandresf@gmail.com, emacs-devel@gnu.org, rms@gnu.org, rudalics@gmx.at To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Thu Apr 16 22:13:52 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 1jPAtU-000Tpt-QO for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 22:13:52 +0200 Original-Received: from localhost ([::1]:38908 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPAtT-0001K2-Sd for ged-emacs-devel@m.gmane-mx.org; Thu, 16 Apr 2020 16:13:51 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:57845) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jPAt0-0000uw-B5 for emacs-devel@gnu.org; Thu, 16 Apr 2020 16:13:23 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1jPAsz-0007oY-DX for emacs-devel@gnu.org; Thu, 16 Apr 2020 16:13:22 -0400 Original-Received: from mail-wm1-x32c.google.com ([2a00:1450:4864:20::32c]:40199) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1jPAsz-0007o4-7P; Thu, 16 Apr 2020 16:13:21 -0400 Original-Received: by mail-wm1-x32c.google.com with SMTP id a81so136850wmf.5; Thu, 16 Apr 2020 13:13:20 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=cVwHkdhw/4qCniyUvD51TXgYOlQaEQqwub12FeVYqwc=; b=rqowMliCxbMAJkhgn95UAqqY+qEjtyyUASoheVdGK6X6sj3IJGb3YSi3udz5ZK2Gqq LYWgTIddCG12MIQrmBCUZMcmba/aDOPOKX11yY/2OLez6tzlUFramUPeBJ7Ihxy9h1jA d7OK7brTjDZYPIaRQP/Mj75u9EE2OcGtyDgNoc6n7y58phDgKe4Tg93tvHfzWcIQvwN8 EcWjvAqrE8wjFgEMLD8TfaVC4vVv4BRgt5lYr2Pf5vyqh8KRiCc8ro8hw2DRTZpoYzey mX6bGVDW1VBdV4tCy17rriyfoiE3sOtB2N33ToMU+r2DSjsKx7eqKdOcrpfxEzueCVET sPXQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:subject:to:cc:references:from:message-id :date:user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=cVwHkdhw/4qCniyUvD51TXgYOlQaEQqwub12FeVYqwc=; b=Z+tUwMxIJqW+5KY6nLkPMzMJHCYNCWpb+kjUUvwO21sypLXqToHUBWROT7ujiFUDvj 4BX6QnwhgzbUE7NIuby4mvGOyM0moQdn/TOgSxwyFHjRmR0zC0wfJFNoG8de7qy23hpK lvQIEoZn37gx3MNVG9SLROfqj60A3jX8r/v6Nk/0adiFrzfJ+jHGsSEwFPLDZuBwsaV/ NekqGZd9r22zA4L2wXLhSxJrTFlHxxhrmW8Sltdt+hnhX0jKCfVrl2k9t4f/9yIXLjwF t69SvS/VrwfbgWf/EZr5yMfBH+ExJ+jS82O0f3dzFDAH6wD23syt9VWF/F3fuSKZccAN X+yA== X-Gm-Message-State: AGi0PuZ385wNdMf2mS7hTDQd/HJrLBUKDi4PHP+RqOQ6ptns9jRaNbBp krr1gdUPGgvVPOGhiydJydtJw1j3dzo= X-Google-Smtp-Source: APiQypJ1ZsPj8QqHM60N1KIFiwplY2m2fVKeRTw80I1H9vjDiCNDTAHU7gpjucaT57aNBrtyr3M2YA== X-Received: by 2002:a05:600c:2941:: with SMTP id n1mr6684974wmd.25.1587067999568; Thu, 16 Apr 2020 13:13:19 -0700 (PDT) Original-Received: from [192.168.0.2] ([66.205.73.129]) by smtp.googlemail.com with ESMTPSA id r5sm4845518wmr.15.2020.04.16.13.13.17 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 16 Apr 2020 13:13:18 -0700 (PDT) In-Reply-To: <83zhbcdmyi.fsf@gnu.org> Content-Language: en-US X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:4864:20::32c 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:247130 Archived-At: On 16.04.2020 08:22, Eli Zaretskii wrote: >> Scrolling is certainly special at least in some way: >> >> - 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. And when > scroll-conservatively is in effect, almost every command that moves > point does. Would that be... almost all of them? (Indeed, the fact that (setq scroll-conservatively 1) doesn't work as well as one would expect is a real bug IMO). In any case, if there is a way to dynamically detect these cases and disable redisplay skipping for them, I'd like to try that out. Even more if there was a way to put the results of "simulated redisplay" to use in the "real" redisplay later.