From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Juri Linkov Newsgroups: gmane.emacs.bugs Subject: bug#43380: 28.0.50; [PATCH] Set mwheel default scroll value to 1 Date: Thu, 24 Sep 2020 22:00:13 +0300 Message-ID: <87mu1fdmpu.fsf@linkov.net> References: <87bli9h6t3.fsf@thornhill.no> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24062"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (x86_64-pc-linux-gnu) Cc: 43380@debbugs.gnu.org, Stefan Kangas To: Theodor Thornhill Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Thu Sep 24 21:08:11 2020 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1kLWbA-00067l-L2 for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Sep 2020 21:08:08 +0200 Original-Received: from localhost ([::1]:56140 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kLWb9-00049o-NX for geb-bug-gnu-emacs@m.gmane-mx.org; Thu, 24 Sep 2020 15:08:07 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:45528) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kLWVH-000842-NM for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 15:02:05 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:58439) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kLWVF-0003XL-LE for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 15:02:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kLWVF-0004r0-Ie for bug-gnu-emacs@gnu.org; Thu, 24 Sep 2020 15:02:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Juri Linkov Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Thu, 24 Sep 2020 19:02:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 43380 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: patch Original-Received: via spool by 43380-submit@debbugs.gnu.org id=B43380.160097411318639 (code B ref 43380); Thu, 24 Sep 2020 19:02:01 +0000 Original-Received: (at 43380) by debbugs.gnu.org; 24 Sep 2020 19:01:53 +0000 Original-Received: from localhost ([127.0.0.1]:41750 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLWV7-0004qY-FE for submit@debbugs.gnu.org; Thu, 24 Sep 2020 15:01:53 -0400 Original-Received: from relay7-d.mail.gandi.net ([217.70.183.200]:36003) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kLWV5-0004qF-9H; Thu, 24 Sep 2020 15:01:52 -0400 X-Originating-IP: 91.129.108.13 Original-Received: from mail.gandi.net (m91-129-108-13.cust.tele2.ee [91.129.108.13]) (Authenticated sender: juri@linkov.net) by relay7-d.mail.gandi.net (Postfix) with ESMTPSA id 86AD820008; Thu, 24 Sep 2020 19:01:41 +0000 (UTC) In-Reply-To: (Theodor Thornhill's message of "Fri, 18 Sep 2020 16:25:01 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:188899 Archived-At: tags 43380 fixed close 43380 28.0.50 thanks >>> In the spirit of moving towards a more "modern" emacs, I'll address with >>> a patch the thing that actually confuses me personally the most. Also, >>> it seems like an (dare I say it) uncontroversial change: set default >>> scroll value to 1. It is mentioned as a small step towards the "smooth" >>> scrolling. Is there some other places that needs to be updated? >> >>Thanks for the patch. >> >>Could you give some additional rationale for this change? > > Of course! Scrolling by 5 lines scrolls extremely fast when using touchpad, > so much so that on my personal laptop in scrolls to the end of even pretty > large files by moving my finger less than a centimeter. Also, since there > is no tactile feedback on a touchpad, it gets very hard to predict. When > swapping these, the ones wanting the five by five still get it by > using shift. > >> For example, what does other software do here? > > Most software scrolls pixel wise, and that is still a ways to go for emacs, if I understand correctly. > >> What does other editors do? > > The same as most other software, pixel wise. Comparable editors, like vim, scrolls one by one > >>In what way does this help make Emacs behavior less surprising? > > This should be as close to pixel wise we can get, and will be a lot more similar in behavior to most other software, be it editors or browser or whatnot. > > Hope this clarifies the rationale a little. Thanks, your patch is applied now (in anticipation of more changes in bug#43568)