From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eli Zaretskii Newsgroups: gmane.emacs.devel Subject: Re: input-pending-p after make-frame-visible Date: Wed, 29 Sep 2021 16:13:26 +0300 Message-ID: <83czoriky1.fsf@gnu.org> References: <786eca99-bb42-c744-af26-b0435a745a81@gmx.at> <1d7cee7a-6137-609c-1400-f161dc8c860e@gmx.at> <2b2c2a7f-4c4a-a293-361e-86911e9f88b7@gmx.at> <276e1863-1110-3a71-7092-a62491d2d003@gmx.at> <83czotluc3.fsf@gnu.org> <83lf3hjf9n.fsf@gnu.org> <83lf3fio1n.fsf@gnu.org> Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="15279"; mail-complaints-to="usenet@ciao.gmane.io" Cc: rudalics@gmx.at, emacs-devel@gnu.org To: Aaron Jensen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Wed Sep 29 15:36:16 2021 Return-path: Envelope-to: ged-emacs-devel@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mVZkt-0003eu-Gj for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Sep 2021 15:36:15 +0200 Original-Received: from localhost ([::1]:42896 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVZks-0002ng-9x for ged-emacs-devel@m.gmane-mx.org; Wed, 29 Sep 2021 09:36:14 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:41182) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVZOi-0001pJ-D6 for emacs-devel@gnu.org; Wed, 29 Sep 2021 09:13:20 -0400 Original-Received: from fencepost.gnu.org ([2001:470:142:3::e]:56034) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mVZOh-00028b-NB; Wed, 29 Sep 2021 09:13:19 -0400 Original-Received: from 84.94.185.95.cable.012.net.il ([84.94.185.95]:1672 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mVZOg-0003Ua-0H; Wed, 29 Sep 2021 09:13:19 -0400 In-Reply-To: (message from Aaron Jensen on Wed, 29 Sep 2021 08:16:32 -0400) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.io gmane.emacs.devel:275790 Archived-At: > From: Aaron Jensen > Date: Wed, 29 Sep 2021 08:16:32 -0400 > Cc: martin rudalics , emacs-devel@gnu.org > > > Can this be done from GDB instead? > > For me, it'd be lldb. Would putting a breakpoint in input-pending-p > tell us anything? You should be able to look at the last event via kbd_fetch_ptr, yes.