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: Wed, 20 Dec 2017 08:44:35 -0500 Message-ID: References: <5A36B3B3.9040607@gmx.at> <5A376D9F.7000006@gmx.at> <5A3A2547.3020507@gmx.at> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a1149a384803ab70560c5caf9" X-Trace: blaine.gmane.org 1513777431 28777 195.159.176.226 (20 Dec 2017 13:43:51 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 20 Dec 2017 13:43:51 +0000 (UTC) Cc: Eli Zaretskii , emacs-devel To: martin rudalics Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 20 14:43:46 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 1eReeu-0006sZ-R1 for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2017 14:43:45 +0100 Original-Received: from localhost ([::1]:52318 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRegt-0007ra-AC for ged-emacs-devel@m.gmane.org; Wed, 20 Dec 2017 08:45:47 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58930) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRegH-0007rH-NW for emacs-devel@gnu.org; Wed, 20 Dec 2017 08:45:11 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eRegF-0005np-2r for emacs-devel@gnu.org; Wed, 20 Dec 2017 08:45:09 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:50133) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eRegE-0005nf-Us for emacs-devel@gnu.org; Wed, 20 Dec 2017 08:45:07 -0500 Original-Received: from mail-qk0-f169.google.com ([209.85.220.169]:37756) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1eRegE-0006Ug-AA; Wed, 20 Dec 2017 08:45:06 -0500 Original-Received: by mail-qk0-f169.google.com with SMTP id p13so10643424qke.4; Wed, 20 Dec 2017 05:45:06 -0800 (PST) X-Gm-Message-State: AKGB3mKW52GM/uuFo0mP5LqmWcZsQaOMdx7QCxmlTjbEbp217uCBDfy/ ILoTCT/qxs8fGB+/brS64pHE8BwFgqOyiMRFdcU= X-Google-Smtp-Source: ACJfBovR5CbpOzM9ZJ7w+MIx+f0mkVRIAdnHXZ49Vlq4V2cpr08CepKcFvtMPe4a6aTI82IpS4k//emFAQk4TW71R7w= X-Received: by 10.55.217.153 with SMTP id q25mr10133647qkl.175.1513777505774; Wed, 20 Dec 2017 05:45:05 -0800 (PST) Original-Received: by 10.200.55.124 with HTTP; Wed, 20 Dec 2017 05:44:35 -0800 (PST) In-Reply-To: <5A3A2547.3020507@gmx.at> 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:221279 Archived-At: --001a1149a384803ab70560c5caf9 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 20, 2017 at 3:54 AM, martin rudalics wrote: > > I tried your functions on GNU/Linux now. The GTK build seems to handle > them as expected. The other builds (Motif, Lucid and no-toolkit) have > the frame lose its title bar after executing the > > (progn (set-frame-parameter (display-until-get-frame-by-name > "My-Frame") 'visibility t) > (display-frame-until "My-Frame")) > > form. =E2=80=8BThanks for testing this. It would be helpful with such reports if you include your thoughts about where you think the misbehaving code lives (display-until, the code shipped in Emacs itself, the windowing system), so we have an idea of what to look at to hopefully eliminate the problem. Please also test with display-until-delay set to 3 seconds or so just to see if a timing difference eliminates your problem. display-until is small enough that you could strip down its functions pretty quickly to just the part that generates the issue you are seeing and even see if any small code change eliminates it. Just FYI, I see none of the problems you and Eli have reported when using the MacOS window manager. Bob --001a1149a384803ab70560c5caf9 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Dec 20, 2= 017 at 3:54 AM, martin rudalics <rudalics@gmx.at> wrote:

I tried your functions on GNU/Linux now.=C2=A0 The GTK build seems to handl= e
them as expected.=C2=A0 The other builds (Motif, Lucid and no-toolkit) have=
the frame lose its title bar after executing the

=C2=A0 (progn (set-frame-parameter (display-until-get-frame-by-name &q= uot;My-Frame") 'visibility t)
=C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0(display-frame-until "My-Frame"= ))

form.

=E2=80=8BThanks for testing this.=C2=A0 It wou= ld be helpful with such reports if
you include your thoughts about where = you think the misbehaving
code lives (display-until, the code shipped in E= macs itself, the
windowing system), so we have an idea of what to look at = to hopefully
eliminate the problem.

Please also test with display-u= ntil-delay set to 3 seconds or so just
to see if a timing difference elimi= nates your problem.

display-until is small enough that you could str= ip down its functions
pretty quickly to just the part that generates the i= ssue you are seeing
and even see if any small code change eliminates it.
=
Just FYI, I see none of the problems you and Eli have reported when
= using the MacOS window manager.

Bob

--001a1149a384803ab70560c5caf9--