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: Wed, 19 Apr 2017 18:04:20 +0100 Message-ID: <20170419170420.GA12166@breton.holly.idiocy.org> References: <20170415162922.GA47622@breton.holly.idiocy.org> <58F276F4.4030805@gmx.at> <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> 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 1492621515 23243 195.159.176.226 (19 Apr 2017 17:05:15 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Wed, 19 Apr 2017 17:05:15 +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 Wed Apr 19 19:05:11 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 1d0t2T-0005rg-W7 for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Apr 2017 19:05:10 +0200 Original-Received: from localhost ([::1]:49459 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0t2Y-0001lz-7V for geb-bug-gnu-emacs@m.gmane.org; Wed, 19 Apr 2017 13:05:14 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:33136) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1d0t2R-0001jE-FX for bug-gnu-emacs@gnu.org; Wed, 19 Apr 2017 13:05:08 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1d0t2M-0001Wm-N4 for bug-gnu-emacs@gnu.org; Wed, 19 Apr 2017 13:05:07 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:59072) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1d0t2M-0001We-Jg for bug-gnu-emacs@gnu.org; Wed, 19 Apr 2017 13:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1d0t2M-0005jz-CZ for bug-gnu-emacs@gnu.org; Wed, 19 Apr 2017 13:05:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Alan Third Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Wed, 19 Apr 2017 17:05:02 +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.149262147322028 (code B ref 25408); Wed, 19 Apr 2017 17:05:02 +0000 Original-Received: (at 25408) by debbugs.gnu.org; 19 Apr 2017 17:04:33 +0000 Original-Received: from localhost ([127.0.0.1]:57271 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0t1s-0005jD-FF for submit@debbugs.gnu.org; Wed, 19 Apr 2017 13:04:33 -0400 Original-Received: from mail-wm0-f41.google.com ([74.125.82.41]:34866) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1d0t1q-0005ie-5k for 25408@debbugs.gnu.org; Wed, 19 Apr 2017 13:04:30 -0400 Original-Received: by mail-wm0-f41.google.com with SMTP id w64so85465833wma.0 for <25408@debbugs.gnu.org>; Wed, 19 Apr 2017 10:04:30 -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=aQPi8eRqa5MlhMyydtUte2kONOO77tfRiQEkCqY9igM=; b=OE01foMLgd3MZmIifsKgDXaSSA9l9seP6RS7ikuEGkxlGLWlaUgtOPoic4J+a7gPlm CO2OpT8pzLQOikm6AzKMgcxb7u1ckgCzqSYIwVH8r4xryK8oUezwx7Oi6Ct7TSKNZmAi SrM4kfbIOy7i8Fd4RCvo+8bLsBlbPQUResfBHw7E/CnRyD3MnjGoy50s09RHo9WfvbdH WPLtuCx6rQXQOd46soeZUXug3ImDpn1KPkBeb5+ZMBTveySkZbXv0XN6csXqOUSgGhCG Fw0weknBVDEy0gDnFYtyjm4aK0+9Cma4WvTpmYV5yX3F3UwCi0UtBrW5NGuJd+Xik4yV ettQ== 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=aQPi8eRqa5MlhMyydtUte2kONOO77tfRiQEkCqY9igM=; b=QVYWCY9H33i3coWs5+kHS1VpAk1Yh4XWp2RBwDGWJsGJWkXiQ2VWFRO+kSC0PKV9Mq IH378727b3gRLgD5N8fhixdLy8o0CxvsMQrO3E3gjyoZNVU+8pJV9LFsie6EInitfaKj 0taZOW5WNq+phEHt4YTMgBGpC5UXrjwT/MCOlv2/SR6nn5I7Pb1CuRyg9VXXeFs2nkfk 1mrU9TkfH6yq37zN/v9NNjmCpm3861k7VPyYAwDOAI5BpMqv0QoYZgrywhlseNn88GlI IIy4yw4QO5HS/2L+kJ7co0+lkBUfj/BIvre/l7Z5Jl47lf+Md6HOPymH5MIilTxk9yLd 2yEA== X-Gm-Message-State: AN3rC/7n0goRx3eq5hJCaVAv9OZJUY6pPB7i+GtBsrQBAVispzE8DYVC JbvVJFewvjuYqg== X-Received: by 10.28.198.65 with SMTP id w62mr18260830wmf.80.1492621464472; Wed, 19 Apr 2017 10:04:24 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-c942-e657-0685-1838.holly.idiocy.org. [2001:8b0:3f8:8129:c942:e657:685:1838]) by smtp.gmail.com with ESMTPSA id w76sm4055574wrb.49.2017.04.19.10.04.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 19 Apr 2017 10:04:23 -0700 (PDT) Content-Disposition: inline In-Reply-To: <58F789F0.9000608@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:131764 Archived-At: On Wed, Apr 19, 2017 at 06:01:52PM +0200, martin rudalics wrote: > > It turns out that GNUStep doesn’t let you change the decorated state > > of an existing window. > > OK. It's not important that the GNUStep build is capable of doing > anything useful. It should build and if possible not crash. The only > person currently using it (only for checking whether a change might > break the NS build) is me, I presume. I have had this suspicion. If I can get it working in GNUStep without too much hassle it’s probably best, though. > I just tried to type something and when I reached the > right edge of the window I got an abort as > > 2017-04-19 17:36:59.480 emacs[4423] Problem posting notification: > NAME:NSInvalidArgumentException REASON:-[EmacsImage XBM:width:height:fg:bg:]: unrecognized selector sent to instance > 0x3e0bf40 INFO:(null) > /home/martin/emacs-git/trunk/obj-ns/src/emacs: Uncaught exception NSInvalidArgumentException, reason: -[EmacsImage > XBM:width:height:fg:bg:]: unrecognized selector sent to instance 0x3ec20a0 That was my fault. I think I mashed the keys in the wrong place and deleted something without realising. I’ve pushed another commit to fix it. (I don’t know how I didn’t notice it before now!) > I think you should install your changes so people can test them. Done. Thanks for your help. 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. Should I look into no-focus-on-map and no-accept-focus too? -- Alan Third