From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Stefan Monnier via "Bug reports for GNU Emacs, the Swiss army knife of text editors" Newsgroups: gmane.emacs.bugs Subject: bug#47162: Mouse Wheel Won't Work When Emacs Built without Any Window System Date: Mon, 02 Aug 2021 00:39:47 -0400 Message-ID: References: <2774d41f.9c06.178365811f7.Coremail.johnson9009@163.com> <874kh9t4pw.fsf@gnus.org> <87o8akxkvd.fsf@tcd.ie> <87eebgqd7w.fsf@gnus.org> <874kcbvlur.fsf@tcd.ie> <87im0rlri1.fsf@gnus.org> <838s1mpqt9.fsf@gnu.org> <87h7gafu48.fsf@gnus.org> <834kcapnml.fsf@gnu.org> <87bl6ibbm2.fsf@gnus.org> <877dh6bbiw.fsf@gnus.org> Reply-To: Stefan Monnier Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="33209"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: contovob@tcd.ie, Eli Zaretskii , johnson9009@163.com, 47162@debbugs.gnu.org To: Lars Ingebrigtsen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 02 06:41:14 2021 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mAPlJ-0008S3-EY for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 06:41:13 +0200 Original-Received: from localhost ([::1]:43056 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mAPlI-0004zq-6a for geb-bug-gnu-emacs@m.gmane-mx.org; Mon, 02 Aug 2021 00:41:12 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:37896) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mAPl8-0004vO-R5 for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 00:41:04 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:54072) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mAPl8-0005R3-Jb for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 00:41:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mAPl8-0002Ar-E2 for bug-gnu-emacs@gnu.org; Mon, 02 Aug 2021 00:41:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Stefan Monnier Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 02 Aug 2021 04:41:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47162 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: fixed Original-Received: via spool by 47162-submit@debbugs.gnu.org id=B47162.16278792028274 (code B ref 47162); Mon, 02 Aug 2021 04:41:02 +0000 Original-Received: (at 47162) by debbugs.gnu.org; 2 Aug 2021 04:40:02 +0000 Original-Received: from localhost ([127.0.0.1]:37385 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAPkA-00029O-5N for submit@debbugs.gnu.org; Mon, 02 Aug 2021 00:40:02 -0400 Original-Received: from mailscanner.iro.umontreal.ca ([132.204.25.50]:17442) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mAPk8-00028o-7K for 47162@debbugs.gnu.org; Mon, 02 Aug 2021 00:40:01 -0400 Original-Received: from pmg1.iro.umontreal.ca (localhost.localdomain [127.0.0.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id 5E3A010020E; Mon, 2 Aug 2021 00:39:54 -0400 (EDT) Original-Received: from mail01.iro.umontreal.ca (unknown [172.31.2.1]) by pmg1.iro.umontreal.ca (Proxmox) with ESMTP id E81A1100083; Mon, 2 Aug 2021 00:39:48 -0400 (EDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=iro.umontreal.ca; s=mail; t=1627879188; bh=QTH9aZ8aSvXivuy8dF7d7+FVUxyv27H5atsqRLvGCBk=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=JKB4d16KDJ5sz7Qk2QeCJz4Gc2YaCZAvoY/fgByoKNqIP6+0r8qKLtuHbpGXAiKKr 7Dx64A0KcdOgumhWIIcpZs0pvo7k7eWeFe+i7mFWbVijdPXJg9per9WcvNm2ANs1aA wgC/Al5gY5NQMckR6XMNo7a7V46WzefVX43eH8CTs4yPnQpRpTYocbbHBw5Tn3aqry pzCOFqx67YFEuLZN2fvlNgMvXId20LuOf6IwzEDIirWsr5cPt7WIXFjronXkJq8vmm iLHMz+jFdSNIXwVueG1o99xjGnp13kfwG5WfwLIwa1i293e6IxA7SlzGshwud7/0Qo Iw113yxPQ6BoA== Original-Received: from alfajor (unknown [216.154.29.138]) by mail01.iro.umontreal.ca (Postfix) with ESMTPSA id A69961203C5; Mon, 2 Aug 2021 00:39:48 -0400 (EDT) In-Reply-To: <877dh6bbiw.fsf@gnus.org> (Lars Ingebrigtsen's message of "Sat, 31 Jul 2021 20:09:43 +0200") X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.io gmane.emacs.bugs:211060 Archived-At: Lars Ingebrigtsen [2021-07-31 20:09:43] wrote: > Lars Ingebrigtsen writes: >> Stefan Monnier writes: >>> + ;; Put the defcustom *after* the function, so its >>> + ;; initializer/setter can call the function. >> >> I like it. > > Spoke some seconds too soon. The leads to the following when doing a > "make bootstrap": > > Loading faces... > Loading loaddefs.el (source)... > Attempt to autoload mouse-wheel-mode while preparing to dump > make[1]: *** [Makefile:569: emacs.pdmp] Error 255 This brought to a light a more direct bug that could be reproduced in the non-GUI build (by setting mouse-wheel-mode before loading mwheel.el) and the fix to that bug fixes the use of `custom-initialize-delay` as well so I pushed it to `master`. [ It's hard to test those things in all the various ways they can be loaded, so I'm keeping my fingers crossed that it won't introduce another bootstrap problem elsewhere, but since it's now "more normal", I'm hopeful. ] Stefan