unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
* bug#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #<frame *Calendar* 0x...>)
@ 2022-12-02 19:19 Michael Heerdegen
  2022-12-02 19:53 ` Eli Zaretskii
  0 siblings, 1 reply; 25+ messages in thread
From: Michael Heerdegen @ 2022-12-02 19:19 UTC (permalink / raw)
  To: 59785


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.







^ permalink raw reply	[flat|nested] 25+ messages in thread

end of thread, other threads:[~2022-12-05 19:57 UTC | newest]

Thread overview: 25+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2022-12-02 19:19 bug#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #<frame *Calendar* 0x...>) Michael Heerdegen
2022-12-02 19:53 ` Eli Zaretskii
2022-12-02 20:00   ` Eli Zaretskii
2022-12-03 11:58     ` Michael Heerdegen
2022-12-03 12:04       ` Michael Heerdegen
2022-12-03 13:50         ` Eli Zaretskii
2022-12-03 15:07           ` Michael Heerdegen
2022-12-03 15:15             ` Eli Zaretskii
2022-12-03 17:22               ` Michael Heerdegen
2022-12-03 17:53                 ` Michael Heerdegen
2022-12-03 18:17                   ` Eli Zaretskii
2022-12-03 18:34                     ` Eli Zaretskii
2022-12-03 19:46                       ` Michael Heerdegen
2022-12-03 20:19                         ` Michael Heerdegen
2022-12-04  6:19                           ` Eli Zaretskii
2022-12-04  6:17                         ` Eli Zaretskii
2022-12-04 22:03                           ` Michael Heerdegen
2022-12-05 14:32                             ` Eli Zaretskii
2022-12-05 19:15                               ` Michael Heerdegen
2022-12-05 19:57                                 ` Eli Zaretskii
2022-12-03 18:03                 ` Eli Zaretskii
2022-12-03 18:54                   ` Michael Heerdegen
2022-12-03 19:27                     ` Eli Zaretskii
2022-12-03 12:24       ` Eli Zaretskii
2022-12-03 14:58         ` Michael Heerdegen

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).