bug-gnu-emacs
[Top][All Lists]
Advanced

[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: Sat, 31 Jul 2021 16:14:31 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

Eli Zaretskii <eliz@gnu.org> writes:

>> Aaah.  So we basically have the same problem with any define-minor-mode
>> that has a custom-initialize-delay thing?
>
> Yes, and I think Stefan always maintained that minor modes should not
> be autoloaded.

114 matches for "This is a minor mode" in buffer: loaddefs.el<trunk>

So if that's not something we shouldn't do, we've got a lot of splaining
to do.

>> But we only have that here because we expect that Emacs is dumped with
>> mwheel...
>
> We do?  I'm afraid I lost you here, because we don't dump mwheel in
> builds --without-x, AFAIK.

This bit:

  ;; We'd like to use custom-initialize-set here so the setup is done
  ;; before dumping, but at the point where the defcustom is evaluated,
  ;; the corresponding function isn't defined yet, so
  ;; custom-initialize-set signals an error.
  :initialize 'custom-initialize-delay

It's there because we (in some configurations) dump Emacs with mwheel.
But it causes problems when we're not dumping it.

-- 
(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no





reply via email to

[Prev in Thread] Current Thread [Next in Thread]