bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #<frame *Calend


From: Eli Zaretskii
Subject: bug#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #<frame *Calendar* 0x...>)
Date: Fri, 02 Dec 2022 22:00:37 +0200

> Cc: 59785@debbugs.gnu.org
> Date: Fri, 02 Dec 2022 21:53:57 +0200
> From: Eli Zaretskii <eliz@gnu.org>
> 
> > From: Michael Heerdegen <michael_heerdegen@web.de>
> > Date: Fri, 02 Dec 2022 20:19:43 +0100
> > 
> > | Debugger entered--Lisp error: (wrong-type-argument listp #<frame 
> > *Calendar* 0x559da2103a80>)
> > |   posn-set-point(#<frame *Calendar* 0x559da2103a80>)
> > |   help--analyze-key([(switch-frame #<frame *Calendar* 0x559da2103a80>)] 
> > [(switch-frame #<frame *Calendar* 0x559da2103a80>)] nil)
> > |   #f(compiled-function (x) #<bytecode 
> > -0x894a393e330e3db>)(([(switch-frame #<frame *Calendar* 0x559da2103a80>)] . 
> > [(switch-frame #<frame *Calendar* 0x559da2103a80>)]))
> > |   mapcar(#f(compiled-function (x) #<bytecode -0x894a393e330e3db>) 
> > (([(switch-frame #<frame *Calendar* 0x559da2103a80>)] . [(switch-frame 
> > #<frame *Calendar* 0x559da2103a80>)]) ([(down-mouse-2 (#<window 14 on 
> > *Calendar*> 366 (527 . 85) 206302283 nil 366 (58 . 4) nil (5 . 13) (9 . 
> > 18))) Scroll\ forward] . [(down-mouse-2 (#<window 14 on *Calendar*> 366 
> > (527 . 85) 206302283 nil 366 (58 . 4) nil (5 . 13) (9 . 18))) Scroll\ 
> > forward])))
> > |   describe-key((([(switch-frame #<frame *Calendar* 0x559da2103a80>)] . 
> > [(switch-frame #<frame *Calendar* 0x559da2103a80>)]) ([(down-mouse-2 
> > (#<window 14 on *Calendar*> 366 (527 . 85) 206302283 nil 366 (58 . 4) nil 
> > (5 . 13) (9 . 18))) Scroll\ forward] . [(down-mouse-2 (#<window 14 on 
> > *Calendar*> 366 (527 . 85) 206302283 nil 366 (58 . 4) nil (5 . 13) (9 . 
> > 18))) Scroll\ forward])))
> > |   funcall-interactively(describe-key (([(switch-frame #<frame *Calendar* 
> > 0x559da2103a80>)] . [(switch-frame #<frame *Calendar* 0x559da2103a80>)]) 
> > ([(down-mouse-2 (#<window 14 on *Calendar*> 366 (527 . 85) 206302283 nil 
> > 366 (58 . 4) nil (5 . 13) (9 . 18))) Scroll\ forward] . [(down-mouse-2 
> > (#<window 14 on *Calendar*> 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?





reply via email to

[Prev in Thread] Current Thread [Next in Thread]