From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Aaron Jensen Newsgroups: gmane.emacs.devel Subject: Re: input-pending-p after make-frame-visible Date: Fri, 15 Oct 2021 14:28:42 -0400 Message-ID: References: <6c69780538e1957d1002@heytings.org> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="20733"; mail-complaints-to="usenet@ciao.gmane.io" To: Alan Third , Aaron Jensen , Gregory Heytings , martin rudalics , Eli Zaretskii , emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 15 20:29:54 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 1mbRxq-0005BL-5f for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Oct 2021 20:29:54 +0200 Original-Received: from localhost ([::1]:41914 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbRxp-0006kj-98 for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Oct 2021 14:29:53 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:42146) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbRwv-0005i6-C1 for emacs-devel@gnu.org; Fri, 15 Oct 2021 14:28:58 -0400 Original-Received: from mail-pg1-x52e.google.com ([2607:f8b0:4864:20::52e]:41695) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbRwt-000363-OV; Fri, 15 Oct 2021 14:28:57 -0400 Original-Received: by mail-pg1-x52e.google.com with SMTP id d23so9308774pgh.8; Fri, 15 Oct 2021 11:28:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=llJwE+GZd7qpTJe4iM7ztOQZap1GmeS9DnXH1DDXzuw=; b=EkSsMbNGG0I2Zy1iqx/KtqbCmINAVnMkW4iDXWkex3XDX39X5JadWjVHuZ7gLhxJ7a g5+ME6E3WrAoKDHNLWw0ntPduMShv9DDAkayxFvrehB2Ei7rHkyasHl+HTImSs2J7Lh2 PR44gXH/Ra+FvB0MK5Y6esy3u+5gVO1zfDtZvY12UGr3et2t9Vw/E86k+zmSsM5kXRr5 nlawzpVtYOqcI2cKMJbvGwUdxs9IkdW0xeBRFxV0JdoZORwju88L/HaRlN5yhM/DrCdw JGUnmVm8GaiV4TmVZPmOBfbdf9d6CgMe9E0d9h1M3+Pkq4c0SWQv0kkyl3TUhsCbZBWf pbkw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=llJwE+GZd7qpTJe4iM7ztOQZap1GmeS9DnXH1DDXzuw=; b=or4829vyiHrS4wUp+C6CH/NSAqCxtblnsawthUEkvoV/Xb1zq/KjYZ39nfetnSDIHf qUBzs+oTTDQAA44SzpIXRRR7ww7oTjQbM8CE2zPrKwWgJdUPdMEObg+uRRZq2BR619SC htuEHw5Wv6UwyBp5MspfMf8CwPK99qoQdYvji/9ZlTjOsamc7QdlW5uSyX+Zr9vvj2j5 E6xhaFOPG9Igo/Vh9uQ90S6YCHNpHR774pMrZ4cSzMKSuRpft29aPUMqv/w2IDG5UI56 69xVyTaisYIDKbNtxtKXokjATpdyXdDlA98D5kaMjYnHIAnTOfebKVZlq3e1LyW9mnLp EPaQ== X-Gm-Message-State: AOAM532bQHNFcJ4Cd3WsHbEte3ZYHLC7wOE5UoWohOTY1zB0YnpIW/Re qRX3Ey9k6Phd4ubdwMSaH0GgO5lKgIZk4/uze+8= X-Google-Smtp-Source: ABdhPJy9x4YD9UjvfQ/FYhDpBQvDOzHMGFp32j5Ua7UDiDPsTxPmsCEsqLQQ9RZZr+wuxIoxeI1iGqs2DtYn/eHBG78= X-Received: by 2002:a63:6f4e:: with SMTP id k75mr1158243pgc.46.1634322533868; Fri, 15 Oct 2021 11:28:53 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::52e; envelope-from=aaronjensen@gmail.com; helo=mail-pg1-x52e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=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:277135 Archived-At: On Fri, Oct 15, 2021 at 1:32 PM Alan Third wrote: > > > Any other ideas on this? > > I have absolutely no idea what the point if that any_help_event_p > variable is. The comment that goes along with it is: > > /* Non-zero means that a HELP_EVENT has been generated since Emacs > start. */ > > but why would that be helpful? >From the commit that introduced it, it was a performance improvement. I think it would write an event on every mouse move instead just when it was needed. After the change, if a help echo was shown then it would set a flag so that when the NSWindow lost focus it would clear it. Your change was good (to reset the flag in that case) and should probably be installed but it wasn't sufficient to solve my original problem. Aaron