GNU bug report logs - #54656
29.0.50; [menu] key is not read anymore

Previous Next

Package: emacs;

Reported by: dal-blazej <at> onenetbeyond.org

Date: Thu, 31 Mar 2022 19:43:01 UTC

Severity: normal

Tags: moreinfo

Found in version 29.0.50

Done: Po Lu <luangruo <at> yahoo.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Po Lu <luangruo <at> yahoo.com>
To: dal-blazej <at> onenetbeyond.org
Cc: 54656 <at> debbugs.gnu.org
Subject: bug#54656: 29.0.50; [menu] key is not read anymore
Date: Mon, 04 Apr 2022 08:18:44 +0800
dal-blazej <at> onenetbeyond.org writes:

> Sorry I lack comprehension of the gdb and C.
>
> If I place a breakpoint on :
>
>> static void
>> x_display_set_last_user_time (struct x_display_info *dpyinfo, Time time)
>> {
>> ...
>
> It is called to many time while initiating Emacs and I cannot verify the
> keypress.  How do I do that the right way ?

Ah, sorry.  Place the breakpoint here instead, inside the function
`handle_one_xevent':

    case KeyPress:
==>   x_display_set_last_user_time (dpyinfo, event->xkey.time);
      ignore_next_mouse_click_timeout = 0;
      coding = Qlatin_1;

Thanks.




This bug report was last modified 3 years and 24 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.