all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Lars Ingebrigtsen <larsi@gnus.org>
To: 张强 <johnson9009@163.com>
Cc: 47162@debbugs.gnu.org
Subject: bug#47162: Mouse Wheel Won't Work When Emacs Built without Any Window System
Date: Thu, 18 Mar 2021 06:23:39 +0100	[thread overview]
Message-ID: <874kh9t4pw.fsf@gnus.org> (raw)
In-Reply-To: <2774d41f.9c06.178365811f7.Coremail.johnson9009@163.com> ("张强 "'s message of "Mon, 15 Mar 2021 22:44:04 +0800 (CST)")

张强 <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





  reply	other threads:[~2021-03-18  5:23 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-15 14:44 bug#47162: Mouse Wheel Won't Work When Emacs Built without Any Window System 张强
2021-03-18  5:23 ` Lars Ingebrigtsen [this message]
2021-07-30  8:32   ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-30 10:57     ` Eli Zaretskii
2021-07-30 15:53       ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-30 10:59     ` Lars Ingebrigtsen
2021-07-30 15:54       ` Basil L. Contovounesios via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-30 16:02         ` Lars Ingebrigtsen
2021-07-30 16:30           ` Lars Ingebrigtsen
2021-07-31 13:15           ` Eli Zaretskii
2021-07-31 14:14             ` Lars Ingebrigtsen
2021-07-31 14:24               ` Eli Zaretskii
2021-07-31 17:10                 ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-07-31 17:18                   ` Eli Zaretskii
2021-07-31 18:07                   ` Lars Ingebrigtsen
2021-07-31 18:09                     ` Lars Ingebrigtsen
2021-08-02  4:39                       ` Stefan Monnier via Bug reports for GNU Emacs, the Swiss army knife of text editors
2021-08-04  6:11                         ` Lars Ingebrigtsen

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=874kh9t4pw.fsf@gnus.org \
    --to=larsi@gnus.org \
    --cc=47162@debbugs.gnu.org \
    --cc=johnson9009@163.com \
    /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.