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
View this message in rfc822 format
>> 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.
User decides when to set auto-scroll-mode t again by an event besides
wheel-up, -down, -left, or -down.
My picture is having a minor mode that detects the event and sets
auto-scroll-mode t again. The minor mode would be described in a file
paired with code that sets auto-scroll-mode nil.
In a case the minor mode is written in a file outside of mwheel.el,
code that sets auto-scroll-mode nil should be on the file too. In the
scenario hook to invokes the minor mode, is necessary.
In a case the minor mode is written in mwheel.el, hook is not
necessary.
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.