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: select-frame-set-input-focus fails to raise the frame Date: Wed, 13 Dec 2017 17:00:18 -0500 Message-ID: References: <20171213204737.GA1621@breton.holly.idiocy.org> Reply-To: rswgnu@gmail.com NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="001a11473a7c82ef0005603fe62a" X-Trace: blaine.gmane.org 1513202478 29392 195.159.176.226 (13 Dec 2017 22:01:18 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 13 Dec 2017 22:01:18 +0000 (UTC) Cc: emacs-devel To: Alan Third Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Wed Dec 13 23:01:11 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 1ePF5R-00072U-V8 for ged-emacs-devel@m.gmane.org; Wed, 13 Dec 2017 23:01:10 +0100 Original-Received: from localhost ([::1]:37942 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePF5V-0002lA-QB for ged-emacs-devel@m.gmane.org; Wed, 13 Dec 2017 17:01:13 -0500 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:58106) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePF5J-0002ke-9x for emacs-devel@gnu.org; Wed, 13 Dec 2017 17:01:07 -0500 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ePF5G-0008OH-8L for emacs-devel@gnu.org; Wed, 13 Dec 2017 17:01:01 -0500 Original-Received: from fencepost.gnu.org ([2001:4830:134:3::e]:43832) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ePF5G-0008O5-4n for emacs-devel@gnu.org; Wed, 13 Dec 2017 17:00:58 -0500 Original-Received: from mail-qk0-f182.google.com ([209.85.220.182]:37699) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.82) (envelope-from ) id 1ePF5F-0003TS-Ko for emacs-devel@gnu.org; Wed, 13 Dec 2017 17:00:57 -0500 Original-Received: by mail-qk0-f182.google.com with SMTP id i130so3924281qke.4 for ; Wed, 13 Dec 2017 14:00:57 -0800 (PST) X-Gm-Message-State: AKGB3mJQFd0E2QeESMi1C/o96Pgh6+0sPUkLctRhjPIfFb9sSqZzTs86 Mx+0tWyVKke+mQMjpHHQu/4lEgzRG6xtrGjMkOo= X-Google-Smtp-Source: ACJfBotolXV8mR32tc/IjHRfzvG1utxAiEuD9nwE8k2gJT7KXycriOGt4IAGKGvmXANtkpsBhIPUIkSx3gHnZVALT0o= X-Received: by 10.55.21.140 with SMTP id 12mr9882680qkv.175.1513202450086; Wed, 13 Dec 2017 14:00:50 -0800 (PST) Original-Received: by 10.200.55.124 with HTTP; Wed, 13 Dec 2017 14:00:18 -0800 (PST) In-Reply-To: <20171213204737.GA1621@breton.holly.idiocy.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:221025 Archived-At: --001a11473a7c82ef0005603fe62a Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable On Wed, Dec 13, 2017 at 3:47 PM, Alan Third wrote: > On Tue, Dec 12, 2017 at 06:26:50PM -0500, Robert Weiner wrote: > > Here is a seemingly related problem with raise and lower frame. > > > > ;; This whole sexp works > > (let ((f (selected-frame))) > > (lower-frame f) > > (sit-for 1) > > (raise-frame f)) > > > > ;; Only the first raise-frame call works > > (let ((f (next-frame))) > > ;; f is raised > > (raise-frame f) > > (sit-for 1) > > ;; f is NEVER LOWERED > > (lower-frame f)) > > I can=E2=80=99t reproduce this, these both work as expected for me here o= n > macOS using the master branch and the -Q flag. > =E2=80=8B=E2=80=8B =E2=80=8BYou are correct. This works fine today; strange it did not yester= day. The example I gave with the function named 'test' still fails as before. Bob --001a11473a7c82ef0005603fe62a Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
On Wed, Dec 13, 2= 017 at 3:47 PM, Alan Third <al= an@idiocy.org> w= rote:
On Tue, Dec 12, 2017 at 06= :26:50PM -0500, Robert Weiner wrote:
> Here is a seemingly related problem with raise and lower frame.
>
> ;; This whole sexp works
> (let ((f (selected-frame)))
>=C2=A0 =C2=A0(lower-frame f)
>=C2=A0 =C2=A0(sit-for 1)
>=C2=A0 =C2=A0(raise-frame f))
>
> ;; Only the first raise-frame call works
> (let ((f (next-frame)))
>=C2=A0 =C2=A0;; f is raised
>=C2=A0 =C2=A0(raise-frame f)
>=C2=A0 =C2=A0(sit-for 1)
>=C2=A0 =C2=A0;; f is NEVER LOWERED
>=C2=A0 =C2=A0(lower-frame f))

I can=E2=80=99t reproduce this, these both work as expected for me h= ere on
macOS using the master branch and the -Q flag.
=E2=80=8B= =E2=80=8B
=E2=80=8BYou are correct.=C2=A0 This works fine today; strange i= t did not yesterday.
The example I gave with the function named = 'test' still fails as before.

Bob

--001a11473a7c82ef0005603fe62a--