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 07:30:15 -0400 Message-ID: References: <6c69780538e1957d1002@heytings.org> <322f50be-0de1-c818-819d-6ecb400de928@gmx.at> 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="1338"; mail-complaints-to="usenet@ciao.gmane.io" Cc: Alan Third , Eli Zaretskii , Gregory Heytings , emacs-devel@gnu.org To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane-mx.org@gnu.org Fri Oct 15 13:32:21 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 1mbLRl-000AcJ-6J for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Oct 2021 13:32:21 +0200 Original-Received: from localhost ([::1]:39636 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mbLRj-0000Do-IR for ged-emacs-devel@m.gmane-mx.org; Fri, 15 Oct 2021 07:32:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40180) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mbLQ2-0007BJ-J5 for emacs-devel@gnu.org; Fri, 15 Oct 2021 07:30:35 -0400 Original-Received: from mail-pj1-x1029.google.com ([2607:f8b0:4864:20::1029]:46755) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mbLPz-0003VV-Jp; Fri, 15 Oct 2021 07:30:33 -0400 Original-Received: by mail-pj1-x1029.google.com with SMTP id pi19-20020a17090b1e5300b0019fdd3557d3so7016821pjb.5; Fri, 15 Oct 2021 04:30:28 -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 :cc; bh=eUtd2YTDK4VvOXVHssdgXmsHnvDWCK9A0SI4Uf2aT+c=; b=A+JejsjduO5tuL0iRVnvG4N3iZQZi/60ftcLmNFlRiU0KRhA1p1cKhW91+JN2kux86 F0+CyosgNl+voK7GJmzF5g8U7/iwoyovHDWLIc/hADaB5FbfjcTDV6+d2xWAcvNpOH26 7X62wrqczbP1/tQoQrFvziMLRKqGI9DGNY6VYaz6QbuklYKcoONMJ7va8p9i4ruggDRr ntrkwoYHVtUrTOHSFORNuLwPMNuiZaPP6hDW3m4Lfc2QJYzJaxBlhRsPShdurcPLKbS7 sVF+uy3J4/3XwNZKQAUYPEMmrXQthtkmRIhLog1hZajWhfIH/brsYyMiEDJjfD2sek83 bzLA== 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:cc; bh=eUtd2YTDK4VvOXVHssdgXmsHnvDWCK9A0SI4Uf2aT+c=; b=UBrMq9DOf+5c4GfmuScmduPrjVZhE+87cvvbKnH3QorJ1ALS7mvnMLMB04KoRQB26e dnK1tO5myxdhxdUjUCeDeJPVfTDzOf978SKjp1rvNBK+daGL07PTLsSOikFXp3Bd4h1Q AmnErqwAoNunyFLX23rrRJ3PecZ1Ot/lOQw3wIKRzD9P8S2y9ZULUYz/VjI7kjU73EV5 7oW7v9KpxAAFxuxfa3nur8PoGfAmPEleBxmX2/VXSyJ1mFJq4pbD6MGW86RV/13h+eJc WLNadguKD7ALigpY6tvpv1IYdi0hpb4OxLPKEsa3Hclhos617p5BvFGQ5Bv01qHVOXBZ wfhQ== X-Gm-Message-State: AOAM5326/jTwmmFxtZDrNBQ9wV/bpEQf7hNj9WhfD98AitOTBZCljXDH nzoiZvNmyY4I6i+50YR/2lByLrt+nyswSKEBQjK0Fc+8594= X-Google-Smtp-Source: ABdhPJzfa9Dce8T0IgLLxxKWHYntZvpXqv5357ssq5RKM/pco0UznbNbc0vX7mJ88LIwwMQqRnHFsVMq265BXm9AZ54= X-Received: by 2002:a17:90b:251:: with SMTP id fz17mr26916135pjb.52.1634297427461; Fri, 15 Oct 2021 04:30:27 -0700 (PDT) In-Reply-To: Received-SPF: pass client-ip=2607:f8b0:4864:20::1029; envelope-from=aaronjensen@gmail.com; helo=mail-pj1-x1029.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:277109 Archived-At: On Fri, Oct 15, 2021 at 3:05 AM martin rudalics wrote: > > > Ah. Is/should help event be excluded as well by default? > > Does it fix anything on your side when you append it to > 'while-no-input-ignore-events'? If it does, we can add it to the > default and look whether it breaks things for someone else. It's already there, but it doesn't appear to be effective with either while-no-input or input-pending-p. Here's an updated repro: (defvar mini-frame-frame nil) (defun repro () (interactive) (setq mini-frame-frame (or mini-frame-frame (make-frame `((parent-frame . ,(selected-frame)))))) (message "input-pending-p before: %S" (input-pending-p)) (while-no-input (message "NO INPUT BEFORE")) (make-frame-visible mini-frame-frame) (message "input-pending-p after: %S" (input-pending-p)) (while-no-input (message "NO INPUT AFTER")) (make-frame-invisible mini-frame-frame)) (global-set-key (kbd "C-x C-x") 'repro) What does the help-echo event do exactly? Aaron