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: Mon, 20 Apr 2020 13:39:18 -0400 Message-ID: References: <20200403174757.GA8266@ACM> <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> <83d083ia16.fsf@gnu.org> <83y2qqgrr6.fsf@gnu.org> <837dyagkwm.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="82178"; 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 Mon Apr 20 19:40:59 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 1jQaPg-000LB0-Cf for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Apr 2020 19:40:56 +0200 Original-Received: from localhost ([::1]:39816 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQaPf-0008QN-Ea for ged-emacs-devel@m.gmane-mx.org; Mon, 20 Apr 2020 13:40:55 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34102 helo=eggs1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jQaOE-0007KZ-5U for emacs-devel@gnu.org; Mon, 20 Apr 2020 13:39:26 -0400 Original-Received: from Debian-exim by eggs1p.gnu.org with spam-scanned (Exim 4.90_1) (envelope-from ) id 1jQaOC-0000sj-UB for emacs-devel@gnu.org; Mon, 20 Apr 2020 13:39:25 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:20299) by eggs1p.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jQaOB-0000r9-8c; Mon, 20 Apr 2020 13:39:23 -0400 Original-Received: from pmg2.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id 7CE0C803A8; Mon, 20 Apr 2020 13:39:21 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg2.iro.umontreal.ca (Proxmox) with ESMTP id C039D80D82; Mon, 20 Apr 2020 13:39:19 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1587404359; bh=erFlKY86SaNSH4Inbh6F00JKGPbkCgVLMic8jjT3Fsg=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=A48GUfuDMdIClreiOMPT4zBU4OhzoVKpe6Vw7IDavE7jrHFMiz3awT51sj6Q2+rcj yVcwR6qooVQ/7+CKZXI4AE9kGY06K0b1um7yi2ppNZ/qz7oPmDQU+RWhuPhUFFIwAu LK6i4H8RF1n1hMnTs9j3Nnjq2T+JXRbYmYk98xnFrHXlRvM7eCFGO/XKYb6SfIQYO6 JudJp6SmDwSKdGoyn4ygyi02rjOOHXtiV6uOuohBxc+KuKT5TdGQQHDnZXWGC02aVT D1JD7nZfW8SeuKS9LcZ7s6EUkR41giHPYMvNoOqTW+ZZ6GFwtxTmKQtO5gDcie+1bo XeX5NKdbJ+7YA== Original-Received: from alfajor (unknown [104.247.241.114]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id 56ED912061D; Mon, 20 Apr 2020 13:39:19 -0400 (EDT) In-Reply-To: <837dyagkwm.fsf@gnu.org> (Eli Zaretskii's message of "Mon, 20 Apr 2020 19:51:53 +0300") Received-SPF: pass client-ip=132.204.25.50; envelope-from=monnier@iro.umontreal.ca; helo=mailscanner.iro.umontreal.ca X-detected-operating-system: by eggs1p.gnu.org: First seen = 2020/04/20 09:09:43 X-ACL-Warn: Detected OS = 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:247406 Archived-At: >> > So "C-2 C-n" would behave differently from "C-n C-n", or from running >> > a macro that records 2 C-n in a row? Is that a good thing? >> Is scroll-conservatively is 1, 'C-2 C-n' should behave differently at >> the bottom of the window from 'C-n C-n'. > Why? Because that's how `scroll-conservatively` was defined. > they both move point by 2 lines. Overall, yes. But one of the commands moves by 2 lines where the other (identical) two only move by one line. > We'll have to disagree, I guess. I personally don't care much about > scroll-conservatively, although I did spend some hours making it > behave like others requested. Indeed, you implemented the "boolean" interpretation of `scroll-conservatively` which seems to be what most users wanted. But this discussion is about the case where `scroll-conservatively` is purposefully set to a small non-0 value meaning that the user expects conservative scrolling only when it's just a matter of moving by a few lines (e.g. by 1 line). I don't care much about `scroll-conservatively` either, FWIW (I'm not in love with the default "recenter" either by the way, but `scroll-conservatively` isn't any better. Maybe we can get closer to my "ideal", but I think my real ideal requires a lot of intelligence and predictive power). Stefan