GNU bug report logs - #43380
28.0.50; [PATCH] Set mwheel default scroll value to 1

Previous Next

Package: emacs;

Reported by: Theodor Thornhill <theo <at> thornhill.no>

Date: Sun, 13 Sep 2020 18:26:02 UTC

Severity: normal

Tags: fixed, patch

Fixed in version 28.0.50

Done: Juri Linkov <juri <at> linkov.net>

Bug is archived. No further changes may be made.

To add a comment to this bug, you must first unarchive it, by sending
a message to control AT debbugs.gnu.org, with unarchive 43380 in the body.
You can then email your comments to 43380 AT debbugs.gnu.org in the normal way.

Toggle the display of automated, internal messages from the tracker.

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to bug-gnu-emacs <at> gnu.org:
bug#43380; Package emacs. (Sun, 13 Sep 2020 18:26:02 GMT) Full text and rfc822 format available.

Acknowledgement sent to Theodor Thornhill <theo <at> thornhill.no>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs <at> gnu.org. (Sun, 13 Sep 2020 18:26:02 GMT) Full text and rfc822 format available.

Message #5 received at submit <at> debbugs.gnu.org (full text, mbox):

From: Theodor Thornhill <theo <at> thornhill.no>
To: bug-gnu-emacs <at> gnu.org
Subject: 28.0.50; [PATCH] Set mwheel default scroll value to 1
Date: Sun, 13 Sep 2020 20:26:16 +0200
[Message part 1 (text/plain, inline)]
Hello!

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?

Have a nice day!
Theodor Thornhill

[mwheel-default.patch (text/x-patch, attachment)]

Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43380; Package emacs. (Fri, 18 Sep 2020 14:05:02 GMT) Full text and rfc822 format available.

Message #8 received at 43380 <at> debbugs.gnu.org (full text, mbox):

From: Stefan Kangas <stefan <at> marxist.se>
To: Theodor Thornhill <theo <at> thornhill.no>
Cc: 43380 <at> debbugs.gnu.org
Subject: Re: bug#43380: 28.0.50; [PATCH] Set mwheel default scroll value to 1
Date: Fri, 18 Sep 2020 07:04:18 -0700
Hi Theodor,

Theodor Thornhill <theo <at> thornhill.no> writes:

> 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?  For example,
what does other software do here?  What does other editors do?  In what
way does this help make Emacs behavior less surprising?

Best regards,
Stefan Kangas




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43380; Package emacs. (Fri, 18 Sep 2020 14:26:02 GMT) Full text and rfc822 format available.

Message #11 received at 43380 <at> debbugs.gnu.org (full text, mbox):

From: Theodor Thornhill <theo <at> thornhill.no>
To: Stefan Kangas <stefan <at> marxist.se>
Cc: 43380 <at> debbugs.gnu.org
Subject: Re: bug#43380: 28.0.50; [PATCH] Set mwheel default scroll value to 1
Date: Fri, 18 Sep 2020 16:25:01 +0200

On September 18, 2020 4:04:18 PM GMT+02:00, Stefan Kangas <stefan <at> marxist.se> wrote:
>Hi Theodor,
>
>Theodor Thornhill <theo <at> thornhill.no> writes:
>
>> 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.

Have a nice day!

Theodor Thornhill




Information forwarded to bug-gnu-emacs <at> gnu.org:
bug#43380; Package emacs. (Thu, 24 Sep 2020 19:02:01 GMT) Full text and rfc822 format available.

Message #14 received at 43380 <at> debbugs.gnu.org (full text, mbox):

From: Juri Linkov <juri <at> linkov.net>
To: Theodor Thornhill <theo <at> thornhill.no>
Cc: 43380 <at> debbugs.gnu.org, Stefan Kangas <stefan <at> marxist.se>
Subject: Re: bug#43380: 28.0.50; [PATCH] Set mwheel default scroll value to 1
Date: Thu, 24 Sep 2020 22:00:13 +0300
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)




Added tag(s) fixed. Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Thu, 24 Sep 2020 19:02:01 GMT) Full text and rfc822 format available.

bug marked as fixed in version 28.0.50, send any further explanations to 43380 <at> debbugs.gnu.org and Theodor Thornhill <theo <at> thornhill.no> Request was from Juri Linkov <juri <at> linkov.net> to control <at> debbugs.gnu.org. (Thu, 24 Sep 2020 19:02:02 GMT) Full text and rfc822 format available.

bug archived. Request was from Debbugs Internal Request <help-debbugs <at> gnu.org> to internal_control <at> debbugs.gnu.org. (Fri, 23 Oct 2020 11:24:07 GMT) Full text and rfc822 format available.

This bug report was last modified 3 years and 158 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.