From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.bugs Subject: bug#25408: Remove Decorations Around Emacs Frame (NS port) Date: Sat, 10 Jun 2017 16:38:53 +0100 Message-ID: <20170610153853.GA95401@breton.holly.idiocy.org> References: <20170417145613.GA78089@breton.holly.idiocy.org> <58F4E2BD.3090704@gmx.at> <20170417162149.GB78089@breton.holly.idiocy.org> <58F4F954.10709@gmx.at> <20170417185537.GA78689@breton.holly.idiocy.org> <58F7111F.6050004@gmx.at> <20170419143316.GB10595@breton.holly.idiocy.org> <58F789F0.9000608@gmx.at> <20170419170420.GA12166@breton.holly.idiocy.org> <58F7A749.6070906@gmx.at> 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 1497109160 7052 195.159.176.226 (10 Jun 2017 15:39:20 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Sat, 10 Jun 2017 15:39:20 +0000 (UTC) User-Agent: Mutt/1.7.2 (2016-11-26) Cc: Arthur Miller , 25408@debbugs.gnu.org, =?UTF-8?Q?Cl=C3=A9ment?= Pit--Claudel , Anders Lindgren To: martin rudalics Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sat Jun 10 17:39:14 2017 Return-path: Envelope-to: geb-bug-gnu-emacs@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 1dJiTq-0001CI-7K for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jun 2017 17:39:14 +0200 Original-Received: from localhost ([::1]:58820 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJiTp-0004TX-6z for geb-bug-gnu-emacs@m.gmane.org; Sat, 10 Jun 2017 11:39:13 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:40429) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1dJiTh-0004TS-KQ for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2017 11:39:06 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1dJiTe-00073i-IB for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2017 11:39:05 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:36388) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1dJiTe-00073X-Cj for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2017 11:39:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1dJiTd-00073e-NO for bug-gnu-emacs@gnu.org; Sat, 10 Jun 2017 11:39: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: Sat, 10 Jun 2017 15:39:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 25408 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 25408-submit@debbugs.gnu.org id=B25408.149710913427115 (code B ref 25408); Sat, 10 Jun 2017 15:39:01 +0000 Original-Received: (at 25408) by debbugs.gnu.org; 10 Jun 2017 15:38:54 +0000 Original-Received: from localhost ([127.0.0.1]:39065 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJiTW-00073H-1F for submit@debbugs.gnu.org; Sat, 10 Jun 2017 11:38:54 -0400 Original-Received: from mail-wr0-f195.google.com ([209.85.128.195]:36592) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dJiTU-000734-LK for 25408@debbugs.gnu.org; Sat, 10 Jun 2017 11:38:53 -0400 Original-Received: by mail-wr0-f195.google.com with SMTP id e23so12814385wre.3 for <25408@debbugs.gnu.org>; Sat, 10 Jun 2017 08:38:52 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=WKmhP6l0FyVFD3JSyihpmNlEgEE0yDMdU8HXj7y5WRU=; b=cgM/ZE/vDYLp/mgrXqlNFQcU+xs0D09ybSHFIwk/SNSDCrQ1wx/ygn4UnrWGB8x1WV A7h5DUs3SO/Z1CHOjcIT5h1qWKUPZU02BMktoVd+HL9bS8qO0ozRfZp9ZAkldOobWGpp NtRx0xqLZkh6kvD61e9P7AgRKY5GpdwGaIxnRpI1P3ITY5cU+mscmEtBq36uT4CsKRyH 13Ux7Aadwahlsl043NBsva6RHT8glg3G6uAOx0fu6MVANy7zHuNrRywQaxBoXIk6jUlt acpAn4gKSHUWl209LOqbFx3KnZVZCuQZWYs5dWN5UDLPSdgGb/D2Di1vdXPhNCOqrvlg 3WYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition :content-transfer-encoding:in-reply-to:user-agent; bh=WKmhP6l0FyVFD3JSyihpmNlEgEE0yDMdU8HXj7y5WRU=; b=khbmVYcRqOHhIwr86EkuC3PDmtOQmEPsEwVQW2KA4gBlL7U7zkykgq2Lspk9SLWEiC rAzsssV+uhHNS6nMkilxTHQZO97ro5T9qk7o76l6F7eDH3TuLglkkHdsMEJ5FpUk/rBM oPKBWGD7SFA/aafKr8TaUh5b9kv4u2diLG7xajskN3iaG776Q4XVA1sfEGs41d6BOhhn GvB3QtJ50k6faGfALBeK5RZZr/VbTc5Zcca+A50jrNtdtaAApHhLtpanbyf6lQYCbjCO hX+unoACxf0HgQT69JfhhsQBu7NAKnL47WD59M54XWdq1XF4wMVM2/Q5jlRI/17bf3Sw o6Ig== X-Gm-Message-State: AKS2vOxrv5QnzBv8bpk1HlWbOnap7e48xXaXJz5puj72D7tImh1BH4nw qPXBZeaRgvH9UA== X-Received: by 10.28.99.7 with SMTP id x7mr3174441wmb.39.1497109126912; Sat, 10 Jun 2017 08:38:46 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-cca2-bae7-97d4-1425.holly.idiocy.org. [2001:8b0:3f8:8129:cca2:bae7:97d4:1425]) by smtp.gmail.com with ESMTPSA id n92sm7370004wrb.62.2017.06.10.08.38.45 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 10 Jun 2017 08:38:45 -0700 (PDT) Content-Disposition: inline In-Reply-To: <58F7A749.6070906@gmx.at> 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:133447 Archived-At: I forgot that this bug is still open. Is it waiting for me to finish up the NS stuff? On Wed, Apr 19, 2017 at 08:07:05PM +0200, martin rudalics wrote: > > Oh, I just remembered I’ve not yet done frame-list-z-order. It should > > be easy enough, NSApplication has an orderedWindows function which, I > > think, should return an ordered array of NSWindow objects. > > Please do that. This is done. > > Should I look into no-focus-on-map and no-accept-focus too? > > That would be fine. There's also the 'skip-taskbar' parameter but I > have no idea whether NS allows that and whether NS provides Alt-tabbing. no-accept-focus is done, but no-focus-on-map is harder. I believe I can get a new frame to not be focused on creation, but I don’t see any way to prevent a minimized frame from becoming focused when unminimized. macOS has alt‐tabbing between applications, but also alt‐` switches between application windows. I haven’t yet found a way to disable this. FWIW, no-accept-focus, as implemented, prevents a frame from *ever* accepting focus (although it can still accept input, which is strange!). Rereading your description makes me wonder if I’ve done that wrong and the current behaviour is closer to no-accept-focus, no-focus-on-map and skip-taskbar all being on? I’m not sure I can do it any other way, though. > And please have a look into the Elisp manual: Maybe you find something > worth mentioning (the fact that removing decorations removes the tool > bar should certainly go there). This is done. -- Alan Third