all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: michael_heerdegen@web.de
Cc: 59785@debbugs.gnu.org
Subject: bug#59785: 30.0.50; mouse-2 > (wrong-type-argument listp #<frame *Calendar* 0x...>)
Date: Fri, 02 Dec 2022 22:00:37 +0200	[thread overview]
Message-ID: <83wn79eftm.fsf@gnu.org> (raw)
In-Reply-To: <83y1rpeg4q.fsf@gnu.org> (message from Eli Zaretskii on Fri, 02 Dec 2022 21:53:57 +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	other threads:[~2022-12-02 20:00 UTC|newest]

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 [this message]
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=83wn79eftm.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=59785@debbugs.gnu.org \
    --cc=michael_heerdegen@web.de \
    /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.