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: Michael Heerdegen
Subject: bug#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #<frame *Calendar* 0x...>)
Date: Fri, 02 Dec 2022 20:19:43 +0100

Hello,

I get errors when I click with mouse-2 on a date in the *Calendar* in a
frame that has no input focus.

Recipe from emacs -Q in X:

Enable debug-on-error if you want to get a backtrace.

C-x 5 2 (Open a second frame.)

Select it and M-x calendar RET

Select the first frame.

C-h k  and click with mouse-2 on a date in the calendar in the other
frame.

I get:

| 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.

TIA,

Michael.







reply via email to

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