unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: Eli Zaretskii <eliz@gnu.org>
To: rswgnu@gmail.com
Cc: rudalics@gmx.at, emacs-devel@gnu.org
Subject: Re: display-until.el - Display a window or frame topmost in the frame stack until a condition or timeout occurs
Date: Tue, 19 Dec 2017 19:05:38 +0200	[thread overview]
Message-ID: <833746ps0t.fsf@gnu.org> (raw)
In-Reply-To: <CA+OMD9jCLLT2sBJVMUyX6CDZZRHQHSH8wsKCYWu5_uQuA5s5ow@mail.gmail.com> (message from Robert Weiner on Mon, 18 Dec 2017 14:19:23 -0500)

> 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
> >
> >   (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.
> >
> 
> ​Ok, 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.



  reply	other threads:[~2017-12-19 17:05 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-12-17 17:28 display-until.el - Display a window or frame topmost in the frame stack until a condition or timeout occurs Robert Weiner
2017-12-17 18:13 ` martin rudalics
2017-12-17 18:46   ` Robert Weiner
2017-12-18  7:26     ` martin rudalics
2017-12-18 16:10       ` Eli Zaretskii
2017-12-18 18:17         ` Robert Weiner
2017-12-18 19:05           ` Eli Zaretskii
2017-12-18 19:19             ` Robert Weiner
2017-12-19 17:05               ` Eli Zaretskii [this message]
2018-01-02 17:36                 ` Robert Weiner
2017-12-20  8:54       ` martin rudalics
2017-12-20 13:44         ` Robert Weiner
2018-01-02 17:38         ` Robert Weiner
2018-01-07 16:08           ` martin rudalics
2018-01-16 17:06             ` Robert Weiner
2018-01-19 18:55         ` martin rudalics
2018-01-20  5:12           ` Noam Postavsky
2018-01-20 10:34             ` martin rudalics

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.gnu.org/software/emacs/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=833746ps0t.fsf@gnu.org \
    --to=eliz@gnu.org \
    --cc=emacs-devel@gnu.org \
    --cc=rswgnu@gmail.com \
    --cc=rudalics@gmx.at \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).