From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Eli Zaretskii 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, 19 Dec 2017 19:05:38 +0200 Message-ID: <833746ps0t.fsf@gnu.org> References: <5A36B3B3.9040607@gmx.at> <5A376D9F.7000006@gmx.at> <83tvwoow4a.fsf@gnu.org> <83o9mvq2l3.fsf@gnu.org> Reply-To: Eli Zaretskii NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: blaine.gmane.org 1513703254 18263 195.159.176.226 (19 Dec 2017 17:07:34 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Tue, 19 Dec 2017 17:07:34 +0000 (UTC) Cc: rudalics@gmx.at, emacs-devel@gnu.org To: rswgnu@gmail.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Dec 19 18:07:30 2017 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 1eRLMX-0004CP-OA for ged-emacs-devel@m.gmane.org; Tue, 19 Dec 2017 18:07:29 +0100 Original-Received: from localhost ([::1]:55058 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRLOU-00075I-97 for ged-emacs-devel@m.gmane.org; Tue, 19 Dec 2017 12:09:30 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:57766) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRLKe-0003oX-Mg for emacs-devel@gnu.org; Tue, 19 Dec 2017 12:05:36 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRLKb-0002lU-0G for emacs-devel@gnu.org; Tue, 19 Dec 2017 12:05:32 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:35087) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRLKa-0002lD-Tj; Tue, 19 Dec 2017 12:05:28 -0500 Original-Received: from [176.228.60.248] (port=2317 helo=home-c4e4a596f7) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eRLKa-00083i-FV; Tue, 19 Dec 2017 12:05:28 -0500 In-reply-to: (message from Robert Weiner on Mon, 18 Dec 2017 14:19:23 -0500) 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:221248 Archived-At: > 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. > > > > ​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.