From: Michael Heerdegen <michael_heerdegen@web.de>
To: 59785@debbugs.gnu.org
Subject: bug#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #<frame *Calendar* 0x...>)
Date: Fri, 02 Dec 2022 20:19:43 +0100 [thread overview]
Message-ID: <877cz9sje8.fsf@web.de> (raw)
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.
next reply other threads:[~2022-12-02 19:19 UTC|newest]
Thread overview: 25+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-12-02 19:19 Michael Heerdegen [this message]
2022-12-02 19:53 ` bug#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #<frame *Calendar* 0x...>) 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=877cz9sje8.fsf@web.de \
--to=michael_heerdegen@web.de \
--cc=59785@debbugs.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.