From: Eli Zaretskii <eliz@gnu.org>
To: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
Cc: 26347@debbugs.gnu.org
Subject: bug#26347: patch for mwheel.el
Date: Wed, 05 Apr 2017 05:36:39 +0300 [thread overview]
Message-ID: <83shlnoa14.fsf@gnu.org> (raw)
In-Reply-To: <FADE4948-E15F-42C5-A1A8-DF9E4ABE278C@misasa.okayama-u.ac.jp> (message from Tak Kunihiro on Wed, 5 Apr 2017 08:18:42 +0900)
> From: Tak Kunihiro <tkk@misasa.okayama-u.ac.jp>
> Date: Wed, 5 Apr 2017 08:18:42 +0900
> Cc: Kunihiro Tak <tkk@misasa.okayama-u.ac.jp>,
> rudalics@gmx.at,
> 26347@debbugs.gnu.org
>
> Now I leaned auto-hscroll-mode is irrelevant to horizontal scroll.
> However, I still insist that it should be off on horizontal and
> vertical scrolling.
>
> (A) It should be off during vertical scroll. Let’s consider a buffer
> is with short and long alternative lines and when point is at the
> end of long line, at the top of current window. After `scroll-up
> 1', point jumps to the end of the next short line and you see scope
> shifts suddenly leftward. This behavior is sometimes unexpected
> one.
>
> (B) It should be off during horizontal scroll. During horizontal
> scroll, you may scroll a little in vertical direction without
> intention. The horizontal scroll should be tolerance against such
> perturbation. The source of concern is same as (A).
>
> The concern (A) is shared with vertical scroll-bar. With this
> respect, the concern should be solved by `scroll-up' not by
> `mwheel-scroll'.
>
> I think when point moves off the left edge of the window with cursor
> frozen at the left edge of the window, `scroll-up' should scroll up
> without horizontal shift.
>
> Conclusion: Yes.
The considerations you present are not special to the proposed
horizontal scrolling using a mouse wheel, they are valid for any
scrolling. IOW, this is how scrolling behaved in Emacs since about
forever. And I think it's not a good idea to have some methods of
scrolling behave differently from others. So I could agree to having
a user option to temporarily disable auto-hscroll-mode during
scrolling, but the default behavior should be what we have now, and
the option should affect all methods of scrolling alike.
Thanks.
next prev parent reply other threads:[~2017-04-05 2:36 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-04-03 11:11 bug#26347: patch for mwheel.el Tak Kunihiro
2017-04-03 15:00 ` Eli Zaretskii
2017-04-04 0:55 ` Tak Kunihiro
2017-04-04 2:52 ` Tak Kunihiro
2017-04-04 7:25 ` martin rudalics
2017-04-04 11:35 ` Tak Kunihiro
2017-04-04 14:34 ` Eli Zaretskii
2017-04-04 23:18 ` Tak Kunihiro
2017-04-05 2:36 ` Eli Zaretskii [this message]
2017-04-05 3:35 ` Tak Kunihiro
2017-04-11 9:47 ` Eli Zaretskii
2017-04-11 23:56 ` Tak Kunihiro
2017-04-12 13:35 ` Eli Zaretskii
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=83shlnoa14.fsf@gnu.org \
--to=eliz@gnu.org \
--cc=26347@debbugs.gnu.org \
--cc=tkk@misasa.okayama-u.ac.jp \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.