[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#47162: Mouse Wheel Won't Work When Emacs Built without Any Window Sy
From: |
Lars Ingebrigtsen |
Subject: |
bug#47162: Mouse Wheel Won't Work When Emacs Built without Any Window System |
Date: |
Thu, 18 Mar 2021 06:23:39 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
张强 <johnson9009@163.com> writes:
> It is strange to me, because the mouse click work well no matter
> left/right mouse click or double click, but the mouse wheel will not,
> from comments in above code snippet, it seems the package "mwheel"
> need to be loaded after "xxx-win.el" for the initialization of
> variables "mouse-wheel-*-event". After add below code snippet to my
> emacs configuration file, I found the package "mwheel" can work well
> when the emacs built without any window system.
>
> (load "mwheel")
> (mouse-wheel-mode t)
>
> so I want to know whether the package "mwheel" should be loaded without
> precondition?
I'm not sure that preloading the mwheel package in non-window builds is
optimal (I think a minority of users use mwheel in non-window builds).
But the mode should be autoloaded, at least, so that you don't have to
say (load "mwheel") to use it.
I've now made this change in Emacs 28.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no