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: Sun, 19 Apr 2020 21:51:33 +0300 Message-ID: <83d083ia16.fsf@gnu.org> References: <20200403174757.GA8266@ACM> <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> <61f565cd-4fee-d48c-a9ef-b78419b3d058@yandex.ru> <83wo6ed4kb.fsf@gnu.org> <464b5639-7790-fdbc-b519-22a6b0e8c016@yandex.ru> <83o8rqaucp.fsf@gnu.org> <551c7634-f614-c5a7-c089-33a0dc56574d@yandex.ru> <83imhyaqyw.fsf@gnu.org> <3ddcec07-079f-18e8-81a7-76eaf9a8187a@yandex.ru> Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="31102"; 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 Sun Apr 19 20:52:19 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 1jQF3D-0007zM-DO for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Apr 2020 20:52:19 +0200 Original-Received: from localhost ([::1]:46560 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQF3C-0007tE-Ge for ged-emacs-devel@m.gmane-mx.org; Sun, 19 Apr 2020 14:52:18 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41218 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQF2k-0007SP-QK for emacs-devel@gnu.org; Sun, 19 Apr 2020 14:51:51 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:54946) by eggs1p.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQF2i-0002Aa-Oh; Sun, 19 Apr 2020 14:51:48 -0400 Original-Received: from [176.228.60.248] (port=2785 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1jQF2b-00074H-EV; Sun, 19 Apr 2020 14:51:41 -0400 In-Reply-To: (message from Stefan Monnier on Sun, 19 Apr 2020 13:17:11 -0400) 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:247324 Archived-At: > From: Stefan Monnier > Cc: Eli Zaretskii , acm@muc.de, rrandresf@gmail.com, > emacs-devel@gnu.org, rms@gnu.org, rudalics@gmx.at > Date: Sun, 19 Apr 2020 13:17:11 -0400 > > - distinguish the user's setting of scroll-conservatively from the one > that applies to the current redisplay. > - increase the redisplay's current value of scroll-conservatively each > time redisplay is skipped. > - reset the redisplay's current value of scroll-conservatively to the > variable's value every time redisplay took place. How is this different from when scroll-conservatively is 101? IOW, you need to answer the following question: if moving point into view means scrolling the display by more than the value of scroll-conservatively, then what do you want Emacs to do instead of putting point at the last screen line of the window? If your answer is "put it on the last line anyway", then you effectively asked to treat any value of scroll-conservatively as if it were > 100, and we already provide that. You should ask yourself what do users expect to see when they set scroll-conservatively to a number smaller than 101.