GNU bug report logs -
#26599
patch for mwheel.el
Previous Next
Reported by: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
Date: Sat, 22 Apr 2017 01:51:02 UTC
Severity: normal
Tags: unreproducible
Done: Tak Kunihiro <tkk <at> misasa.okayama-u.ac.jp>
Bug is archived. No further changes may be made.
Full log
Message #17 received at 26599 <at> debbugs.gnu.org (full text, mbox):
>>>> Is it possible to add a line that runs hook on `mwheel.el' to let me
>>>> do so without advice-add?
>>>
>>> Wouldn't it be better to have a user option which would turn off
>>> auto-hscroll-mode without running any hooks?
>>
>> Yes. A concern is how to turn auto-hscroll-mode t back.
>
> maybe I misunderstand something: what I had in mind is turn off
> auto-hscroll-mode as part of the mwheel commands, then turn it back on
> when the mwheel command did its job.
>
>> User decides when to set auto-hscroll-mode t again by an event besides
>> wheel-up, -down, -left, or -down.
>
> No, I meant to have it off as long as the mwheel command runs, and
> restore it right back immediately afterwards.
Let’s consider a buffer consists of very long lines and an empty line.
Point starts from A with auto-hscroll-mode t.
0000..0000 A
0000..0000 I
C B
D 00..0000 Z
Point reaches to B by scroll up and as soon as auto-hscroll-mode
is set to t, scope will be shifted to point C. Another scrolling
up moves point to D instead of Z.
To visit point Z, timer is required. A minor-mode serves as a long timer.
This bug report was last modified 5 years and 127 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.