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: Fri, 02 Dec 2022 22:00:37 +0200 Message-ID: <83wn79eftm.fsf@gnu.org> References: <877cz9sje8.fsf@web.de> <83y1rpeg4q.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="28676"; mail-complaints-to="usenet@ciao.gmane.io" Cc: 59785@debbugs.gnu.org To: michael_heerdegen@web.de Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Fri Dec 02 21:02:33 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 1p1CEz-0007G1-0D for geb-bug-gnu-emacs@m.gmane-mx.org; Fri, 02 Dec 2022 21:02:33 +0100 Original-Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1p1CEX-0007tO-R5; Fri, 02 Dec 2022 15:02:05 -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 1p1CEW-0007tF-0z for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 15:02:04 -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 1p1CEV-00075o-OQ for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 15:02:03 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1p1CEU-0000ir-8N for bug-gnu-emacs@gnu.org; Fri, 02 Dec 2022 15:02: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: Fri, 02 Dec 2022 20:02: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.16700112702769 (code B ref 59785); Fri, 02 Dec 2022 20:02:02 +0000 Original-Received: (at 59785) by debbugs.gnu.org; 2 Dec 2022 20:01:10 +0000 Original-Received: from localhost ([127.0.0.1]:48558 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1CDe-0000ib-9Y for submit@debbugs.gnu.org; Fri, 02 Dec 2022 15:01:10 -0500 Original-Received: from eggs.gnu.org ([209.51.188.92]:60126) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1p1CDb-0000iV-Tk for 59785@debbugs.gnu.org; Fri, 02 Dec 2022 15:01:08 -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 1p1CDW-0006t3-BB; Fri, 02 Dec 2022 15:01:02 -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=2L7qvSYIIxckxPUBd5AZyHvpRtNcMiO2MA+5yjgsctE=; b=a0g/BtPiCC8N G8bExpGE/a++9bB3EcvGcZwY6IRV6I9eYlfT55yQkGSakKVUZpSgAFpUpsYjARnh77elmal4R/Jr6 ey4DzOs0hDLcqNSLe6YxN3dUDEBSpJDypeXNMxCtObLcO998UYbdDCiNkzvL+6HsFw/5SFfPju2OZ CNUgkEmo6jyk3WEcejgIdLMgP8ee0YPxewjSFzK9kpktDn+/Z9phWpxAnYU60tYuVbA3wwQxdI5+w KC1qWNjLtN2kCWmLZDQuOTAaqEM3nF06mfp9hT6Nv8Iv/OuY+WZtnYI638Uf8GSPsQoHSS7VTIrMs R2yljUFHbfC0UQVLznN7rA==; 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 1p1CDV-0007PQ-Db; Fri, 02 Dec 2022 15:01:01 -0500 In-Reply-To: <83y1rpeg4q.fsf@gnu.org> (message from Eli Zaretskii on Fri, 02 Dec 2022 21:53:57 +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-bounces+geb-bug-gnu-emacs=m.gmane-mx.org@gnu.org Xref: news.gmane.io gmane.emacs.bugs:249778 Archived-At: > Cc: 59785@debbugs.gnu.org > Date: Fri, 02 Dec 2022 21:53:57 +0200 > From: Eli Zaretskii > > > From: Michael Heerdegen > > Date: Fri, 02 Dec 2022 20:19:43 +0100 > > > > | Debugger entered--Lisp error: (wrong-type-argument listp #) > > | posn-set-point(#) > > | help--analyze-key([(switch-frame #)] [(switch-frame #)] nil) > > | #f(compiled-function (x) #)(([(switch-frame #)] . [(switch-frame #)])) > > | mapcar(#f(compiled-function (x) #) (([(switch-frame #)] . [(switch-frame #)]) ([(down-mouse-2 (# 366 (527 . 85) 206302283 nil 366 (58 . 4) nil (5 . 13) (9 . 18))) Scroll\ forward] . [(down-mouse-2 (# 366 (527 . 85) 206302283 nil 366 (58 . 4) nil (5 . 13) (9 . 18))) Scroll\ forward]))) > > | describe-key((([(switch-frame #)] . [(switch-frame #)]) ([(down-mouse-2 (# 366 (527 . 85) 206302283 nil 366 (58 . 4) nil (5 . 13) (9 . 18))) Scroll\ forward] . [(down-mouse-2 (# 366 (527 . 85) 206302283 nil 366 (58 . 4) nil (5 . 13) (9 . 18))) Scroll\ forward]))) > > | funcall-interactively(describe-key (([(switch-frame #)] . [(switch-frame #)]) ([(down-mouse-2 (# 366 (527 . 85) 206302283 nil 366 (58 . 4) nil (5 . 13) (9 . 18))) Scroll\ forward] . [(down-mouse-2 (# 366 (527 . 85) 206302283 nil 366 (58 . 4) nil (5 . 13) (9 . 18))) Scroll\ forward]))) > > | call-interactively(describe-key nil nil) > > | command-execute(describe-key) > > > > > > C-h k seems only a random command suffering from this issue. I > > discovered the problem while choosing a date from the calendar for > > org-capture. mouse-2 gives these errors while mouse-1 seems to work. > > > > Oh, it seems the Calendar part is not even necessary, the only important > > thing seems to be that you click with mouse-2 into a frame that doesn't > > have focus. That already gives the error. > > These commands seem to be trying to process a switch-frame event, not a > mouse-2 click event. One possible solution is to make help--binding-undefined-p drop switch-frame events. Can you try that?