From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#5985: 23.1.96; Mac OS X: Frames in other spaces erroneously thought visible Date: Tue, 17 May 2016 20:05:20 +0100 Message-ID: References: <20100420.095250.161626886.hanche@math.ntnu.no> <097D83C4-905C-4A63-BFF1-D80CF6F353EE@icloud.com> NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1463538184 13247 80.91.229.3 (18 May 2016 02:23:04 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Wed, 18 May 2016 02:23:04 +0000 (UTC) Cc: 5985@debbugs.gnu.org To: Hagmonk Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Wed May 18 04:22:55 2016 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([208.118.235.17]) by plane.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1b2r8P-0001WQ-Fd for geb-bug-gnu-emacs@m.gmane.org; Wed, 18 May 2016 04:22:53 +0200 Original-Received: from localhost ([::1]:42344 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2r8O-0007ug-Q0 for geb-bug-gnu-emacs@m.gmane.org; Tue, 17 May 2016 22:22:52 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:49017) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2qU7-0005C3-VA for bug-gnu-emacs@gnu.org; Tue, 17 May 2016 21:41:22 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1b2kJe-0003gV-7u for bug-gnu-emacs@gnu.org; Tue, 17 May 2016 15:06:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:43935) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1b2kJe-0003gR-3U for bug-gnu-emacs@gnu.org; Tue, 17 May 2016 15:06:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1b2kJd-00047x-TX for bug-gnu-emacs@gnu.org; Tue, 17 May 2016 15:06:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Tue, 17 May 2016 19:06:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 5985 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 5985-submit@debbugs.gnu.org id=B5985.146351193715830 (code B ref 5985); Tue, 17 May 2016 19:06:01 +0000 Original-Received: (at 5985) by debbugs.gnu.org; 17 May 2016 19:05:37 +0000 Original-Received: from localhost ([127.0.0.1]:56272 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2kJ8-000477-No for submit@debbugs.gnu.org; Tue, 17 May 2016 15:05:37 -0400 Original-Received: from mail-wm0-f48.google.com ([74.125.82.48]:36516) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b2kJ7-00046u-1p for 5985@debbugs.gnu.org; Tue, 17 May 2016 15:05:29 -0400 Original-Received: by mail-wm0-f48.google.com with SMTP id n129so152962325wmn.1 for <5985@debbugs.gnu.org>; Tue, 17 May 2016 12:05:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=sender:from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=xvROTSzVm3uPbm3y6iCqrFnz6bNqzmEvqV/LdFckc/k=; b=suy6jIeNV2bSezfao0JWhnl3+QPg/MlppWD85NtLAjV8YU/CVd9N21/L/jlqldil7r UYZ1MeroTYaHYSb7m6iWRbN/eX+ywP0mhprNV6UjuvMpEtHEBgqZRz087yoGaqUvT9Vq rWzYyIwsghJ2HEZQdBExwvFCZdDOEOaQsZuBJABUTExl1jZrPvhs1ncv+420NjohT/8N VzES6oaN+6o52ypRKZP3SBpXEiy02utlg7v7Gag8V5/ib3L9uMkmGwikPT3XEa8Nr8LA H7B7+H8cIGR512NDbH/i8SVvULSvb5P8DjudCdE6+BSWItbGqBRat72qorW/yMAQWC3U VqIg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:from:to:cc:subject:references:date :in-reply-to:message-id:user-agent:mime-version :content-transfer-encoding; bh=xvROTSzVm3uPbm3y6iCqrFnz6bNqzmEvqV/LdFckc/k=; b=fciN2GP9bVqsv/xf9NzVXB+vIsf73R96u8Q58DGhRVYJQCAG8Ll5UgIt0VWL5e6bav MF2Z4j1GOB3lBYYBvuK+aUfMv/wk1b9V5d+bfSDt6lyHfym71ERGiuXikFDInBsxqESY 46GVzlp7+8psY9lZNwsaQOv/F7C3RSdAPiBZSDDctRNRKsbq0LtxE/Q0QIzLp2HlPED3 j25zMfGSaaGcM9T3hnHxy8IgMxRFtR44+6JrWhljLUx74N0m93Lz02kpXD0qJXlFHCy5 mOg+Tf/AQSRoyjP6sxWKg/SICIYSucb6F29IkBBoU0WAmvPgZCDsvaG4PduY96+8SLAK tJdg== X-Gm-Message-State: AOPr4FXGFI9oLIbFHUzWbeOJhC5d46lOCSnrQEW146/UhpHku+kZqbl9p+9fmGKXW5iwEw== X-Received: by 10.28.156.195 with SMTP id f186mr3098124wme.74.1463511923432; Tue, 17 May 2016 12:05:23 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-dcd0-ea5c-d060-789e.holly.idiocy.org. [2001:8b0:3f8:8129:dcd0:ea5c:d060:789e]) by smtp.gmail.com with ESMTPSA id f188sm25581008wma.2.2016.05.17.12.05.22 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 17 May 2016 12:05:22 -0700 (PDT) In-Reply-To: <097D83C4-905C-4A63-BFF1-D80CF6F353EE@icloud.com> (hagmonk@icloud.com's message of "Sat, 05 Mar 2016 20:52:53 -0800") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.0.93 (darwin) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 208.118.235.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: "bug-gnu-emacs" Xref: news.gmane.org gmane.emacs.bugs:118369 Archived-At: Hagmonk writes: >> On OS X, enable Spaces. (Note to those who don't use Macs: Spaces are >> a bit like virtual desktops in many X11 window managers.) Run emacs >> and create two or more frames. Move some frames to different spaces. >>=20 >> Evaluate (visible-frame-list). >>=20 >> Expected result: Only frames in the current space should be listed. >> Actual result: All non-iconified frames are listed. >>=20 >> As a side effect, C-x 5 o (other-frame) can select a frame in a >> different space. Also, (frame-visible-p) evaluated in a frame in a >> different space will return t. > > It=E2=80=99s not clear to me what the desired behavior should be here. Fr= om the documentation: > > --- > (frame-visible-p FRAME) > > Return t if FRAME is "visible" (actually in use for display). > Return the symbol =E2=80=98icon=E2=80=99 if FRAME is iconified or "minimi= zed". > Return nil if FRAME was made invisible, via =E2=80=98make-frame-invisible= =E2=80=99. > On graphical displays, invisible frames are not updated and are > usually not displayed at all, even in a window system=E2=80=99s "taskbar". > --- > > Minimizing a window does result in the symbol =E2=80=9Cicon=E2=80=9D bein= g returned. > However, OS X doesn=E2=80=99t have the notion of making an individual win= dow > invisible. Command-H will hide all windows for an application. And > although there is no =E2=80=9Ctaskbar=E2=80=9D if you invoke mission cont= rol to see > available windows, the window remains =E2=80=9Cdisplayed" in that sense. = In > fact while mission control is active, the app=E2=80=99s thumbnail is a li= ve > representation of the app=E2=80=99s window state (try playing a movie and= then > invoke mission control from another space) > > It seems if OS X had the notion of hiding an individual window, frame > visibility could be keyed off that window state. Without that, it=E2=80= =99s > not clear how this would be supported without changing the definition > of visibility used by frame-visible-p. > > I=E2=80=99m inclined to suggest this behaves as intended.=20 And I'm inclined to agree. However, if someone with access to an X system with virtual desktops (or similar) could test how it behaves, that would be helpful in determining exactly what the correct behaviour should be. Unless someone happens to just know? --=20 Alan Third