GNU bug report logs - #26347
patch for mwheel.el

Previous Next

Package: emacs;

Reported by: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>

Date: Mon, 3 Apr 2017 11:37:02 UTC

Severity: wishlist

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
To: martin rudalics <rudalics <at> gmx.at>
Cc: tkk <at> misasa.okayama-u.ac.jp, 26347 <at> debbugs.gnu.org
Subject: bug#26347: patch for mwheel.el
Date: Tue, 04 Apr 2017 20:35:05 +0900 (JST)
>>>>> During not only horizontal scroll but also vertical scroll,
>>>>> `auto-hscroll-mode' should be disabled by following three aspects.
>>>>> 
>>>>> (1) It should be off during horizontal scroll.  If it is on, scope
>>>>>   jumps randomly when point is at the edge.  Also, since
>>>>>   horizontal scroll does not move point, there will be
>>>>>   inconsistency between point and scope, and the inconsistency
>>>>>   will result in unexpected shift of the scope.
>>>>> 
>>>> We don't turn off auto-hscroll-mode when scrolling with the horizontal
>>>> or vertical scroll bars, and we don't have the problems you describe
>>>> in those cases.  Why is this case different?
>>> 
>>> I see your point in regard to (1).  Yes, if `mwheel-scroll’ can scroll right
>>> or left like horizontal-scroll-bar does, turing off auto-hscroll-mode is not
>>> necessary for case (1).  Give me time to understand code of horizontal-scroll-bar.
>> 
>> I see (1) is true for Emacs 25.1 on Mac and Emacs 24.5 on Windows
>> but Emacs 25.1 on Windows.
>
> Did you mean Emacs 24.5 on Windows but _not_ Emacs 25.1 on Windows?

Let me take it back and rephrase.  I meant (1) is true for Emacs 24.5
on Windows but not for Emacs 25.1 on Windows.  Emacs 25.1 on Windows
scrolls horizontally well with auto-hscroll-mode on.

This bug report was last modified 8 years and 44 days ago.

Previous Next


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