From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: input-pending-p after make-frame-visible Date: Sun, 31 Oct 2021 10:33:17 +0000 Message-ID: References: <83wnm68pc5.fsf@gnu.org> <83lf2m8eld.fsf@gnu.org> <83fssu8dao.fsf@gnu.org> <83y26l7fon.fsf@gnu.org> <83wnlxrvv1.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="2415"; mail-complaints-to="usenet@ciao.gmane.io" Cc: martin rudalics , Eli Zaretskii , Gregory Heytings , YAMAMOTO Mitsuharu , emacs-devel@gnu.org To: Aaron Jensen Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Sun Oct 31 11:34:29 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 1mh8AW-0000OQ-Q4 for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Oct 2021 11:34:29 +0100 Original-Received: from localhost ([::1]:37438 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mh8AV-0006iY-Ls for ged-emacs-devel@m.gmane-mx.org; Sun, 31 Oct 2021 06:34:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:52518) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mh89b-00062s-Jq for emacs-devel@gnu.org; Sun, 31 Oct 2021 06:33:31 -0400 Original-Received: from outbound.soverin.net ([2a01:4f8:fff0:65::8:228]:44701) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mh89Y-00018r-Nb; Sun, 31 Oct 2021 06:33:31 -0400 Original-Received: from smtp.soverin.net (unknown [10.10.3.24]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) by outbound.soverin.net (Postfix) with ESMTPS id 2BB7192; Sun, 31 Oct 2021 10:33:23 +0000 (UTC) Original-Received: from smtp.soverin.net (smtp.soverin.net [159.69.232.138]) by soverin.net DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=idiocy.org; s=soverin; t=1635676401; bh=rcP45GxRRXJSDBV3epJ8Li5crIQrMUJd0Y+HpxiGsDI=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=KFkddRp9pAQnQRh8J8BGKTIZp5r3MjvwG5sH3YyUneD2WFpM5NSo3MM4YX/kuGAju R0EpC9XFADziv7vsUQjl0cHqjurkVMXyh1MmAd3Cyc9/AiXNUi5/3/D6sLRIqsqBug 0SgMI9zocuUY7exyCE3SGxA5VzKWmPUTEzBas5EnXNpOJeZKOnYFT2IYvNoUGq3lMD AyBJGV0adOK25X3a7UEJGTIcQ0A1C98TnrlHckYs5XAVGuY7xm2Lssg+wn4hZ7DQau jPD+fvmHtGst4BWRpMAVx0LR95bD+F/o/BM0pFzEFprdL3TOTSmGSvst6TCynt71cI z398sKE3laeDg== Original-Received: from alan by faroe.holly.idiocy.org with local (Exim 4.95-RC2) (envelope-from ) id 1mh89N-0002i5-RS; Sun, 31 Oct 2021 10:33:17 +0000 Mail-Followup-To: Alan Third , Aaron Jensen , Eli Zaretskii , martin rudalics , Gregory Heytings , YAMAMOTO Mitsuharu , emacs-devel@gnu.org Content-Disposition: inline In-Reply-To: Received-SPF: pass client-ip=2a01:4f8:fff0:65::8:228; envelope-from=alan@idiocy.org; helo=outbound.soverin.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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:278305 Archived-At: On Thu, Oct 28, 2021 at 02:12:17PM -0400, Aaron Jensen wrote: > > Can you or Alan also please install this related change: > > diff --git a/src/nsterm.m b/src/nsterm.m > index aa29c13eb2..f4dbe95965 100644 > --- a/src/nsterm.m > +++ b/src/nsterm.m > @@ -7073,6 +7073,7 @@ - (void)windowDidResignKey: (NSNotification *)notification > XSETFRAME (frame, emacsframe); > help_echo_string = Qnil; > gen_help_event (Qnil, frame, Qnil, Qnil, 0); > + any_help_event_p = NO; > } > > if (emacs_event && is_focus_frame) > > It is referenced earlier in this thread. It's probably not the best > way to handle clearing help echos in the long term, but it will help > for now. The commit message can be something like "Help echos are only > cleared once in NS port" I've pushed this to master. -- Alan Third