From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.bugs Subject: bug#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #) Date: Sat, 03 Dec 2022 14:24:40 +0200 Message-ID: <834jucektz.fsf@gnu.org> References: <877cz9sje8.fsf@web.de> <83y1rpeg4q.fsf@gnu.org> <83wn79eftm.fsf@gnu.org> <874jucr95p.fsf@web.de> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="12024"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59785@debbugs.gnu.org To: Michael Heerdegen Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Sat Dec 03 13:26:15 2022 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 1p1Rax-0002rf-K5 for geb-bug-gnu-emacs@m.gmane-mx.org; Sat, 03 Dec 2022 13:26:15 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1Ram-0004wa-JH; Sat, 03 Dec 2022 07:26:04 -0500 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1Ral-0004w9-0w for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 07:26:03 -0500 Original-Received: from debbugs.gnu.org ([209.51.188.43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1p1Rak-0000Vx-LL for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 07:26:02 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1Rak-0000Vc-8V for bug-gnu-emacs@gnu.org; Sat, 03 Dec 2022 07:26:02 -0500 X-Loop: help-debbugs@gnu.org Resent-From: Eli Zaretskii Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 03 Dec 2022 12:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 59785 X-GNU-PR-Package: emacs Original-Received: via spool by 59785-submit@debbugs.gnu.org id=B59785.16700703091940 (code B ref 59785); Sat, 03 Dec 2022 12:26:02 +0000 Original-Received: (at 59785) by debbugs.gnu.org; 3 Dec 2022 12:25:09 +0000 Original-Received: from localhost ([127.0.0.1]:51639 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1RZs-0000VE-Ku for submit@debbugs.gnu.org; Sat, 03 Dec 2022 07:25:08 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:41282) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1RZr-0000Uu-4g for 59785@debbugs.gnu.org; Sat, 03 Dec 2022 07:25:07 -0500 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1RZl-0008Pr-NI; Sat, 03 Dec 2022 07:25:01 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=References:Subject:In-Reply-To:To:From:Date: mime-version; bh=wO3nXGQMlxQ2nTMOPfFhzB8NkLQWgFz116XrhUK5vZ4=; b=prz5dJbWdTC5 jl21U++sGvF9DCTAGYSPXBAwp9JdEWvN7IDVQR/Ezne8v2BMZcqILaAHbe/0j6xN+U6YPUyKTSZBE kcp7oPWiKGun4by272AZKlbNC5LYKGWCTElcpavxp95UjbjUpJlph9zO+HJZG6UlY7jHKV/4zgvVZ WzEbWZLF7tG7Ycd7Mj6WWjb9ykEBP5QUqebacK17QkIt3eEZ7T1DyMr8E/Sx/a3AZlty36xOZ+6dL CGaUPb8b2E21WO/cc3MwzAOY1hesHFOlfP+jzpygijfvZIb4+YVfFgGXaDIs1xoMpzQKjBPwu1i0x MCh4+Qo02EBE23x9vryYWg==; Original-Received: from [87.69.77.57] (helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1p1RZk-0007bc-Uy; Sat, 03 Dec 2022 07:25:01 -0500 In-Reply-To: <874jucr95p.fsf@web.de> (message from Michael Heerdegen on Sat, 03 Dec 2022 12:58:26 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249834 Archived-At: > From: Michael Heerdegen > Cc: 59785@debbugs.gnu.org > Date: Sat, 03 Dec 2022 12:58:26 +0100 > > Eli Zaretskii writes: > > > > These commands seem to be trying to process a switch-frame event, not a > > > mouse-2 click event. > > Could be. > > > One possible solution is to make help--binding-undefined-p drop switch-frame > > events. Can you try that? > > (How?) By adding the switch-frame event to the condition in that function. If this is not sufficient to explain my intent, please ask more specific questions. > But I don't think this is specific to help at all. So I guess this is > the wrong place to look for a fix, or at least not the only one. If I'm right, and the problem is that we feed the switch-frame event to functions that don't expect it, then I'm not sure I understand what alternative you have in mind. Low-level code which delivers the events cannot possibly know whether the application expects to see switch-frame events or not and whether it is prepared to deal with such events. So it cannot filter them out. Or maybe I'm missing something here.