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


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
Cc: 26347 <at> debbugs.gnu.org
Subject: Re: bug#26347: patch for mwheel.el
Date: Mon, 03 Apr 2017 18:00:16 +0300
> From: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
> Date: Mon, 3 Apr 2017 20:11:45 +0900
> Cc: Kunihiro Tak <tkk <at> misasa.okayama-u.ac.jp>
> 
> This patch tries to extend a global minor mode `mouse-wheel-mode' and
> makes Emacs scroll both vertically and horizontally by swiping
> `touchpad' or tilting `trackbar’.

Thanks.  This is a substantial contribution, so we will need legal
papers from you to accept it.  Would you like me to send you the form
off-list so you could start your paperwork rolling?

> 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.
> 
> (2) It should be off during vertical scroll.  When a buffer is with
>     short and long alternative lines, scope jumps from the end of
>     long line to the end of short line.  Sudden shift of the scope
>     makes edition of a wide document hard.

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?




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.