GNU bug report logs - #16097
[PATCH] Treat windows on other spaces as not visible in Cocoa

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: emacs; Severity: minor; Reported by: David Benjamin <davidben@HIDDEN>; Keywords: patch; dated Tue, 10 Dec 2013 02:03:01 UTC; Maintainer for emacs is bug-gnu-emacs@HIDDEN.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 10 Dec 2013 02:02:59 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 09 21:02:59 2013
Received: from localhost ([127.0.0.1]:41117 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.80)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1VqCf3-0005vy-Tq
	for submit <at> debbugs.gnu.org; Mon, 09 Dec 2013 21:02:58 -0500
Received: from eggs.gnu.org ([208.118.235.92]:53664)
 by debbugs.gnu.org with esmtp (Exim 4.80)
 (envelope-from <davidben@HIDDEN>) id 1VqCLZ-0005O6-Oi
 for submit <at> debbugs.gnu.org; Mon, 09 Dec 2013 20:42:51 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <davidben@HIDDEN>) id 1VqCLX-00055g-6H
 for submit <at> debbugs.gnu.org; Mon, 09 Dec 2013 20:42:49 -0500
X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org
X-Spam-Level: 
X-Spam-Status: No, score=0.8 required=5.0 tests=BAYES_50,HTML_MESSAGE,
 T_DKIM_INVALID autolearn=disabled version=3.3.2
Received: from lists.gnu.org ([2001:4830:134:3::11]:59930)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <davidben@HIDDEN>) id 1VqCLX-00055a-2d
 for submit <at> debbugs.gnu.org; Mon, 09 Dec 2013 20:42:47 -0500
Received: from eggs.gnu.org ([2001:4830:134:3::10]:55369)
 by lists.gnu.org with esmtp (Exim 4.71)
 (envelope-from <davidben@HIDDEN>) id 1VqCLV-0007Ch-QC
 for bug-gnu-emacs@HIDDEN; Mon, 09 Dec 2013 20:42:46 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
 (envelope-from <davidben@HIDDEN>) id 1VqCLU-00054x-FF
 for bug-gnu-emacs@HIDDEN; Mon, 09 Dec 2013 20:42:45 -0500
Received: from mail-ob0-x229.google.com ([2607:f8b0:4003:c01::229]:65281)
 by eggs.gnu.org with esmtp (Exim 4.71)
 (envelope-from <davidben@HIDDEN>) id 1VqCLU-00054n-6m
 for bug-gnu-emacs@HIDDEN; Mon, 09 Dec 2013 20:42:44 -0500
Received: by mail-ob0-f169.google.com with SMTP id wm4so4704271obc.0
 for <bug-gnu-emacs@HIDDEN>; Mon, 09 Dec 2013 17:42:43 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113;
 h=mime-version:from:date:message-id:subject:to:content-type;
 bh=ksjfldCSQb3aKD/25hgLwRIr6dNN8d9EebqfU3yzzh4=;
 b=OhBMKzrOEUjF+VyuTke4DY/ID70/9Cv5AkwTcaMku60nUoLTBFUB0dQ8iPGWc/YhJ5
 0NWVLZ59apORHRq+BC75iWozxtJh95vzWvWODmI8i+G01sek8hrQVmg55roMscg2cDlK
 Omi9lSx5g9A2k/m7QGHE+NllA7MOfD3GzMWjLsfiHzFatmY7zo9OmbsPgEfJF39la1Bq
 5Fo3QZNQ0vkuexC0k5c+zyxyiOcE38M59SkO4+h6urD4BzQ+sG6YVx+IJTyXnNvfm2Ne
 FQfvSBbdI6FIohdZ9vJpFd5J7bnVs0MTl95EUb5dUXvt+f06CCkDk5veyC7UNu9mi5a9
 elHQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20130820;
 h=x-gm-message-state:mime-version:from:date:message-id:subject:to
 :content-type;
 bh=ksjfldCSQb3aKD/25hgLwRIr6dNN8d9EebqfU3yzzh4=;
 b=DNqmhs5HnZQ8kWx5OFfdw0fhZRYmz0zDQ4RgrX0DPtshCrUDapevBnCF1k7EVXTLDL
 dD1+GqrMWC+j01GH1XP5epOwHwuOvJx3YExatNW1cKgHcxwwqGvSHq8GUF7VI9B8WuQu
 O0XvhoG3Vvt7E4Cp4jUGNkGrMC2auzeL6cNR7RW9noFEjVmF5wHVz4Df6KdPBZimjbbH
 DhJQB7li0yKWlqtLomweIadtPSxorIoSYnZ9nlXVqgb154R3uHJTEUXmQC8dPPu4OpH5
 FOlVD/ZPAn2+pJXIunPb8z6HFptCfFk7EyEa8nLBLO5cZgwfyM+u3l7sj/zKVXHZV7PV
 4ypg==
X-Gm-Message-State: ALoCoQk95ZVl1RV7vQorC6mrFrwK3Bbfit4Eh7qDRvLdLfKYU2zDzG/PWviCuRa92EH1nkp+QySTqxzCF6fCiEjF6ds80JyCNZn7dxNEd4stVume8gBsLyppt6gua8G3+oaKaIcW7TK2/LA/sq7sulB1chB0U7ql/f3sowf05C/LM/eqwGoYq+NAuQWwXKFpjP93Pa2Sv+BfB2FwrGTjBP33DcyWI+c8+g==
X-Received: by 10.182.43.161 with SMTP id x1mr14677177obl.5.1386639762895;
 Mon, 09 Dec 2013 17:42:42 -0800 (PST)
MIME-Version: 1.0
Received: by 10.76.35.41 with HTTP; Mon, 9 Dec 2013 17:42:22 -0800 (PST)
From: David Benjamin <davidben@HIDDEN>
Date: Mon, 9 Dec 2013 20:42:22 -0500
Message-ID: <CAF8qwaCWZv3s9s0Dy_pPR_v+1zuJpA2t6Fr0gXEOjd9=Wu7KEQ@HIDDEN>
Subject: [PATCH] Treat windows on other spaces as not visible in Cocoa
To: bug-gnu-emacs@HIDDEN
Content-Type: multipart/mixed; boundary=001a11c30ce28032c404ed243a02
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-detected-operating-system: by eggs.gnu.org: Error: Malformed IPv6 address
 (bad octet value).
X-Received-From: 2001:4830:134:3::11
X-Spam-Score: -4.0 (----)
X-Debbugs-Envelope-To: submit
X-Mailman-Approved-At: Mon, 09 Dec 2013 21:02:56 -0500
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <http://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <http://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <http://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -4.0 (----)

--001a11c30ce28032c404ed243a02
Content-Type: multipart/alternative; boundary=001a11c30ce28032c004ed243a00

--001a11c30ce28032c004ed243a00
Content-Type: text/plain; charset=ISO-8859-1

Here's a patch for something that's been bugging me. This makes Cmd-` cycle
through only the current space's windows, which is consistent with other
programs on OS X. It also matches the behavior of other-frame on X11 for
window managers that implement virtual desktops by mapping and unmapping
windows. The patch is attached.

It's not perfect; if you go into Mission Control or so and move a window
onto another space without switching spaces, it won't notice until you
switch spaces again. I wasn't able to find a notification to listen to;
it'd be nice to replace the visible field in a frame with some virtual call
that, in Cocoa, would just call out to [win isVisible] and [win
isOnActiveSpace], but that'd be a more invasive change. It also doesn't fix
the behavior where closing the last window on a space warps you to a window
on another space. I'm not sure yet what's causing that.

As far as copyright goes, if this is a large enough change to matter (a
decent chunk of the diff is just moving some code around), I'm a Google
employee. I'm told we already have an agreement on file with the FSF.

David Benjamin

--001a11c30ce28032c004ed243a00
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Here&#39;s a patch for something that&#39;s been bugging m=
e. This makes Cmd-` cycle through only the current space&#39;s windows, whi=
ch is consistent with other programs on OS X. It also matches the behavior =
of other-frame on X11 for window managers that implement virtual desktops b=
y mapping and unmapping windows. The patch is attached.<div>


<br></div><div>It&#39;s not perfect; if you go into Mission Control or so a=
nd move a window onto another space without switching spaces, it won&#39;t =
notice until you switch spaces again. I wasn&#39;t able to find a notificat=
ion to listen to; it&#39;d be nice to replace the visible field in a frame =
with some virtual call that, in Cocoa, would just call out to [win isVisibl=
e] and [win isOnActiveSpace], but that&#39;d be a more invasive change. It =
also doesn&#39;t fix the behavior where closing the last window on a space =
warps you to a window on another space. I&#39;m not sure yet what&#39;s cau=
sing that.<br>


<div>
<br></div><div>As far as copyright goes, if this is a large enough change t=
o matter (a decent chunk of the diff is just moving some code around), I&#3=
9;m a Google employee. I&#39;m told we already have an agreement on file wi=
th the FSF.</div>


<div><br></div><div>David Benjamin</div></div></div>

--001a11c30ce28032c004ed243a00--
--001a11c30ce28032c404ed243a02
Content-Type: application/octet-stream; 
	name="0001-In-nsterm-update-frame-visibility-on-space-change-an.patch"
Content-Disposition: attachment; 
	filename="0001-In-nsterm-update-frame-visibility-on-space-change-an.patch"
Content-Transfer-Encoding: base64
X-Attachment-Id: f_hp0gr73t0

RnJvbSAzNDgyYTAxNzkzNTQ2OWFhMmI2ZDVkNzU5YmZjZjA0NDZjNTZkYzFmIE1vbiBTZXAgMTcg
MDA6MDA6MDAgMjAwMQpGcm9tOiBEYXZpZCBCZW5qYW1pbiA8ZGF2aWRiZW5AZ29vZ2xlLmNvbT4K
RGF0ZTogU2F0LCA5IE5vdiAyMDEzIDE5OjAxOjAwIC0wNTAwClN1YmplY3Q6IFtQQVRDSF0gSW4g
bnN0ZXJtLCB1cGRhdGUgZnJhbWUgdmlzaWJpbGl0eSBvbiBzcGFjZSBjaGFuZ2UgYW5kCiBhcHBs
aWNhdGlvbi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gKGVtYWNzZnJhbWUsIDApOworICAgICAg
U0VUX0ZSQU1FX1ZJU0lCTEUgKGVtYWNzZnJhbWUsIDEpOworICAgICAgd2luZG93c19vcl9idWZm
ZXJzX2NoYW5nZWQgPSA2MzsKKworICAgICAgaWYgKGVtYWNzX2V2ZW50KQorICAgICAgICB7Cisg
ICAgICAgICAgZW1hY3NfZXZlbnQtPmtpbmQgPSBERUlDT05JRllfRVZFTlQ7CisgICAgICAgICAg
RVZfVFJBSUxFUiAoKGlkKW5pbCk7CisgICAgICAgIH0KKyAgICB9CisgIGVsc2UKICAgICB7Ci0g
ICAgICBlbWFjc19ldmVudC0+a2luZCA9IElDT05JRllfRVZFTlQ7Ci0gICAgICBFVl9UUkFJTEVS
ICgoaWQpbmlsKTsKKyAgICAgIGlmICghRlJBTUVfVklTSUJMRV9QIChlbWFjc2ZyYW1lKSAmJiBG
UkFNRV9JQ09OSUZJRURfUCAoZW1hY3NmcmFtZSkpCisgICAgICAgIHJldHVybjsKKworICAgICAg
U0VUX0ZSQU1FX0lDT05JRklFRCAoZW1hY3NmcmFtZSwgMSk7CisgICAgICBTRVRfRlJBTUVfVklT
SUJMRSAoZW1hY3NmcmFtZSwgMCk7CisKKyAgICAgIGlmIChlbWFjc19ldmVudCkKKyAgICAgICAg
eworICAgICAgICAgIGVtYWNzX2V2ZW50LT5raW5kID0gSUNPTklGWV9FVkVOVDsKKyAgICAgICAg
ICBFVl9UUkFJTEVSICgoaWQpbmlsKTsKKyAgICAgICAgfQogICAgIH0KIH0KIAotLSAKMS44LjMu
NCAoQXBwbGUgR2l0LTQ3KQoK
--001a11c30ce28032c404ed243a02--




Acknowledgement sent to David Benjamin <davidben@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-gnu-emacs@HIDDEN. Full text available.
Report forwarded to bug-gnu-emacs@HIDDEN:
bug#16097; Package emacs. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Fri, 31 Oct 2014 17:00:04 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.