From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Lars Ingebrigtsen Newsgroups: gmane.emacs.bugs Subject: bug#47162: Mouse Wheel Won't Work When Emacs Built without Any Window System Date: Fri, 30 Jul 2021 18:02:14 +0200 Message-ID: <87im0rlri1.fsf@gnus.org> References: <2774d41f.9c06.178365811f7.Coremail.johnson9009@163.com> <874kh9t4pw.fsf@gnus.org> <87o8akxkvd.fsf@tcd.ie> <87eebgqd7w.fsf@gnus.org> <874kcbvlur.fsf@tcd.ie> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="24979"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: =?UTF-8?Q?=E5=BC=A0=E5=BC=BA?= , 47162@debbugs.gnu.org To: "Basil L. Contovounesios" Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Jul 30 18:03:25 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 1m9Uyp-0006IF-7P for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Jul 2021 18:03:23 +0200 Original-Received: from localhost ([::1]:39772 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9Uyn-0007Xw-JH for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 30 Jul 2021 12:03:21 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:33364) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9UyU-0007O2-Ps for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 12:03:03 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:49195) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m9UyU-00069I-1m for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 12:03:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m9UyT-0008Bu-T3 for bug-gnu-emacs@gnu.org; Fri, 30 Jul 2021 12:03:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Lars Ingebrigtsen Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Fri, 30 Jul 2021 16:03:01 +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.162766094831444 (code B ref 47162); Fri, 30 Jul 2021 16:03:01 +0000 Original-Received: (at 47162) by debbugs.gnu.org; 30 Jul 2021 16:02:28 +0000 Original-Received: from localhost ([127.0.0.1]:60740 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9Uxv-0008B6-V5 for submit@debbugs.gnu.org; Fri, 30 Jul 2021 12:02:28 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:43568) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9Uxu-0008Am-3e for 47162@debbugs.gnu.org; Fri, 30 Jul 2021 12:02:26 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnus.org; s=20200322; h=Content-Type:MIME-Version:Message-ID:In-Reply-To:Date: References:Subject:Cc:To:From:Sender:Reply-To:Content-Transfer-Encoding: Content-ID:Content-Description:Resent-Date:Resent-From:Resent-Sender: Resent-To:Resent-Cc:Resent-Message-ID:List-Id:List-Help:List-Unsubscribe: List-Subscribe:List-Post:List-Owner:List-Archive; bh=laODKqvp1mMdxC6Lsad5L2Wtq7DCdIWNnKRRjLWdIR0=; b=qmLy0DSX69ia50BzK7QutfDNDP 6iy9Lq/5Hx7p++tKkDQsdM6uVJhHrEgzuTy5QWs/2vxBH99R155ff7cTn3tckpeu8zJ90eoYRK5hT NWBm/R4TtI7YUYJtfcpFezwKSsNc1Lz4UGAmvAiSmVXb0fzET02KrmLODecYdfgNuX24=; Original-Received: from 2.149.45.105.tmi.telenormobil.no ([2.149.45.105] helo=elva) by quimby.gnus.org with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1m9Uxj-0001At-Vn; Fri, 30 Jul 2021 18:02:18 +0200 In-Reply-To: <874kcbvlur.fsf@tcd.ie> (Basil L. Contovounesios's message of "Fri, 30 Jul 2021 16:54:04 +0100") 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:210919 Archived-At: "Basil L. Contovounesios" writes: > My guess is the salient difference lies in lisp/loaddefs.el, where > autoload cookie results in the following additions: [...] > or call the function `mouse-wheel-mode'." :set #'custom-set-minor-mode :initialize 'custom-initialize-delay :group 'mouse :type 'boolean) Aaah. So we basically have the same problem with any define-minor-mode that has a custom-initialize-delay thing? But we only have that here because we expect that Emacs is dumped with mwheel... So we could guard that :initialize with a (fboundp 'x-create-frame)? Would that work, I wonder? -- (domestic pets only, the antidote for overdose, milk.) bloggy blog: http://lars.ingebrigtsen.no