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: Sat, 31 Jul 2021 16:14:31 +0200 Message-ID: <87h7gafu48.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> <87im0rlri1.fsf@gnus.org> <838s1mpqt9.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="14439"; 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, johnson9009@163.com, Stefan Monnier , 47162@debbugs.gnu.org To: Eli Zaretskii Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Jul 31 16:15:15 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 1m9plj-0003Um-Eu for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Jul 2021 16:15:15 +0200 Original-Received: from localhost ([::1]:40398 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1m9pld-0007zz-5N for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 31 Jul 2021 10:15:09 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41844) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1m9plW-0007zn-4V for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2021 10:15:02 -0400 Original-Received: from debbugs.gnu.org ([209.51.188.43]:51243) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1m9plV-0000Ph-T1 for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2021 10:15:01 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1m9plV-0007jn-Om for bug-gnu-emacs@gnu.org; Sat, 31 Jul 2021 10:15: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: Sat, 31 Jul 2021 14:15: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.162774088729712 (code B ref 47162); Sat, 31 Jul 2021 14:15:01 +0000 Original-Received: (at 47162) by debbugs.gnu.org; 31 Jul 2021 14:14:47 +0000 Original-Received: from localhost ([127.0.0.1]:34556 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9plG-0007jA-Oz for submit@debbugs.gnu.org; Sat, 31 Jul 2021 10:14:47 -0400 Original-Received: from quimby.gnus.org ([95.216.78.240]:54026) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1m9plF-0007iq-1a for 47162@debbugs.gnu.org; Sat, 31 Jul 2021 10:14:45 -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=sJOSrYwLfVZfN9ZE8FFTWBxOrr7T0YTD4qZ/H6fijSw=; b=JfZ06VXhXNLUBAHwlVL6vFg51u zHljou8mk8pDd15TZcCJvCBeIS+VjAiTVbBQQ/b7JfKvsj1E+8p+98XI8Pbx+ZuFkPP//1GQpg2EO TclxTWjkJqzn5MVNG/NQHikJKvkF6Q+QmoyeZKnbqmnWytAvp8esOB6DjQfdlOPpMVuw=; 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 1m9pl3-0004Oi-Cf; Sat, 31 Jul 2021 16:14:36 +0200 In-Reply-To: <838s1mpqt9.fsf@gnu.org> (Eli Zaretskii's message of "Sat, 31 Jul 2021 16:15:46 +0300") 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:210988 Archived-At: Eli Zaretskii 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 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