From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Robert Weiner Newsgroups: gmane.emacs.devel Subject: Re: display-until.el - Display a window or frame topmost in the frame stack until a condition or timeout occurs Date: Tue, 2 Jan 2018 12:36:50 -0500 Message-ID: References: <5A36B3B3.9040607@gmx.at> <5A376D9F.7000006@gmx.at> <83tvwoow4a.fsf@gnu.org> <83o9mvq2l3.fsf@gnu.org> <833746ps0t.fsf@gnu.org> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a113fdc8a0214e50561ce8da1" X-Trace: blaine.gmane.org 1514914563 4350 195.159.176.226 (2 Jan 2018 17:36:03 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 2 Jan 2018 17:36:03 +0000 (UTC) Cc: martin rudalics , emacs-devel To: Eli Zaretskii Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jan 02 18:35:59 2018 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by blaine.gmane.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eWQTm-0000r0-Mq for ged-emacs-devel@m.gmane.org; Tue, 02 Jan 2018 18:35:58 +0100 Original-Received: from localhost ([::1]:49740 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWQVl-0004uE-Vq for ged-emacs-devel@m.gmane.org; Tue, 02 Jan 2018 12:38:02 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49515) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWQVA-0004ts-8I for emacs-devel@gnu.org; Tue, 02 Jan 2018 12:37:25 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eWQV7-0006Pw-MA for emacs-devel@gnu.org; Tue, 02 Jan 2018 12:37:24 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:37193) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eWQV7-0006Pq-JN for emacs-devel@gnu.org; Tue, 02 Jan 2018 12:37:21 -0500 Original-Received: from mail-qt0-f181.google.com ([209.85.216.181]:46910) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1eWQV7-0002cx-2U; Tue, 02 Jan 2018 12:37:21 -0500 Original-Received: by mail-qt0-f181.google.com with SMTP id r39so63393728qtr.13; Tue, 02 Jan 2018 09:37:20 -0800 (PST) X-Gm-Message-State: AKGB3mKi35nAUkb/HVnCqUWQNkP0ObHJKpeQ/dyr9t9ZrWG/lt4tJL1w 3oEPhTlHJ7+WeS7b6xrKNSn3EA15heFQ3g/VH6U= X-Google-Smtp-Source: ACJfBovZLG2pflpClGegXOW4ry4fiFB4HGdJT31t+Km8QH6EZ9xXYfThhYz6lU3JnDXW4w/QmXKFd/YOlQPRiKKbJR0= X-Received: by 10.200.45.93 with SMTP id o29mr66307927qta.22.1514914640430; Tue, 02 Jan 2018 09:37:20 -0800 (PST) Original-Received: by 10.200.55.124 with HTTP; Tue, 2 Jan 2018 09:36:50 -0800 (PST) In-Reply-To: <833746ps0t.fsf@gnu.org> X-Gmail-Original-Message-ID: X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.21 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.org@gnu.org Original-Sender: "Emacs-devel" Xref: news.gmane.org gmane.emacs.devel:221536 Archived-At: --001a113fdc8a0214e50561ce8da1 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Tue, Dec 19, 2017 at 12:05 PM, Eli Zaretskii wrote: > > From: Robert Weiner > > Date: Mon, 18 Dec 2017 14:19:23 -0500 > > Cc: martin rudalics , emacs-devel > > > > > The usual way is to insert > > > > > > (sit-for 0 t) > > > > > > before the code that needs the frame visible. You can see this, e.g.= , > > > in fancy-splash-frame and in some other places. > > > > > > > =E2=80=8BOk, I'll add that. Could you run the tests at the end > > of the file and see if this version of that function resolves > > your issues: > > It still works erratically, at least on one system I tried it: > sometimes displays an incompletely rendered frame, sometimes triggers > an error with a backtrace, saying I attempted to delete a sole frame, > sometimes doesn't return to the original frame/window/buffer. I will > take a closer look at what happens when I have time. > =E2=80=8BPlease lengthen the frame creation delay time and see if that chan= ges the behavior. Since frame creation is asynchronous, this is important. Bob =E2=80=8B --001a113fdc8a0214e50561ce8da1 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Tue, Dec 19, 2= 017 at 12:05 PM, Eli Zaretskii <e= liz@gnu.org> wro= te:
<= blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px= #ccc solid;padding-left:1ex">> From: Robert Weiner <rsw@gnu.org>
> Date: Mon, 18 Dec 2017 14:19:23 -0500
> Cc: martin rudalics <rudalics@gmx.at>, emacs-devel <emacs-devel@gnu.org>
>
> > The usual way is to insert
> >
> >=C2=A0 =C2=A0(sit-for 0 t)
> >
> > before the code that needs the frame visible.=C2=A0 You can see t= his, e.g.,
> > in fancy-splash-frame and in some other places.
> >
>
> =E2=80=8BOk, I'll add that.=C2=A0 Could you run the tests at the e= nd
> of the file and see if this version of that function resolves
> your issues:

It still works erratically, at least on one system I tried it:
sometimes displays an incompletely rendered frame, sometimes triggers
an error with a backtrace, saying I attempted to delete a sole frame,
sometimes doesn't return to the original frame/window/buffer.=C2=A0 I w= ill
take a closer look at what happens when I have time.
<= br>
=E2=80=8BPlease lengthen the frame creation delay time and see if that= changes the behavior.
Since frame creation is asynchronous, this is impor= tant.

Bob
=E2=80=8B

--001a113fdc8a0214e50561ce8da1--