From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Alan Third Newsgroups: gmane.emacs.devel Subject: Re: bug#26323: 25.1; Closing frames (in fullscreen) under Mac OS cause immediate crash Date: Mon, 19 Mar 2018 12:23:40 +0000 Message-ID: <20180319122340.GA8353@breton.holly.idiocy.org> References: <20180316104753.GA85186@breton.holly.idiocy.org> <6C685A44-3E4E-4CE9-B7CA-CD16627950B2@gmail.com> <20180318111522.GA917@breton.holly.idiocy.org> 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 1521462149 9642 195.159.176.226 (19 Mar 2018 12:22:29 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 19 Mar 2018 12:22:29 +0000 (UTC) User-Agent: Mutt/1.9.3 (2018-01-21) Cc: emacs-devel@gnu.org To: Matthew Bauer Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Mar 19 13:22:25 2018 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 1exto0-0002P4-0x for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2018 13:22:24 +0100 Original-Received: from localhost ([::1]:41792 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1extq3-0004x8-3g for ged-emacs-devel@m.gmane.org; Mon, 19 Mar 2018 08:24:31 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:42926) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1extpK-0004wI-Mk for emacs-devel@gnu.org; Mon, 19 Mar 2018 08:23:50 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1extpJ-00031N-JG for emacs-devel@gnu.org; Mon, 19 Mar 2018 08:23:46 -0400 Original-Received: from mail-wr0-x22b.google.com ([2a00:1450:400c:c0c::22b]:38952) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1extpJ-00030u-Bh for emacs-devel@gnu.org; Mon, 19 Mar 2018 08:23:45 -0400 Original-Received: by mail-wr0-x22b.google.com with SMTP id c24so6561840wrc.6 for ; Mon, 19 Mar 2018 05:23:45 -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=/Wil8hg1mHXegutxN7AtJ4Y1cueiDLLdImpAvlcEn7w=; b=loJLYLL22wa9YKMT5Y/ofOGmPK4s1/TZ4kFVri1Zq6tuYMy4lzENp/JX8JQtnSToNZ h9wg3EgxorQPKI/LAs4qEMiwW9BZOGdtgHGFiPrHdWgHejQa6oluuKhUuhgE3stoxWSr ns6byt8V0YXAe3hawlJ8R+Hf6Dqf3TzI9nnHc/JaFobEnEU6Gq4Hi9Hd/VPtAQPQUEj/ ovUSD2gPKGeLIGAHBBbEnRhZ7jw6iKg3WeRul0VDdUajXDLIlSD50ypYdbiZW0cMD0zk Z6ZPO9byYbZrZlW242hP5pGOWAx7BVe5qyMMQ5lfUnaXCv/7N4rEEDHRNFuYiGRX87R9 DpwQ== 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=/Wil8hg1mHXegutxN7AtJ4Y1cueiDLLdImpAvlcEn7w=; b=WN6G3PTV7O1XSKF8pha+iJhAGdJFVPcBANULNptEzzwJg4/GblduyiNR1dq1I1HmB5 SiYmmgrLZ+R4BTg09vhKzLb06lZDjh2/r9cdssRgm0X4eDEFO4xTy5V1/U5ouRtC753h nsc56LLVAZ9JS+L5uCsmDsbRHsf57L424GouSjs7Y41CLrRq5+0fWWwqOaOUlDMrx5Vh ioMY4DFIyBe0/lMyDu+wDO7FRqX/7roHKsicVDrRk1uYaIReDBWGpNyh36d1JnbfHzh4 DfvGejR/nw7wt095M+i/7/NI5ktD4MCONAxQslosVNQVLA5uZGf2ZfG5LaZxLmGShhhn DKDg== X-Gm-Message-State: AElRT7HIDd67dMA+qvLcrNug9MsJ7BBeDSutuH+dHQiGyJ7gWJppQIJ5 aGvlW61FkoUtIr2DluvcTaU= X-Google-Smtp-Source: AG47ELsmWewIsfNshCiImIjdJUGJXhQs/CV3D3xSWloAHG0X+iCdyPL+RvyHffg8iiRRGVBEFGnj8Q== X-Received: by 10.223.193.73 with SMTP id w9mr10008411wre.101.1521462223665; Mon, 19 Mar 2018 05:23:43 -0700 (PDT) Original-Received: from breton.holly.idiocy.org (ip6-2001-08b0-03f8-8129-c04a-d02f-79d4-a9c8.holly.idiocy.org. [2001:8b0:3f8:8129:c04a:d02f:79d4:a9c8]) by smtp.gmail.com with ESMTPSA id z3sm12653719wme.3.2018.03.19.05.23.42 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Mar 2018 05:23:42 -0700 (PDT) Content-Disposition: inline In-Reply-To: X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2a00:1450:400c:c0c::22b 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:223810 Archived-At: On Sun, Mar 18, 2018 at 09:05:06PM -0500, Matthew Bauer wrote: > > I actually hadn't realized that Sierra's "tabbing" feature is disabled > intentionally in Emacs. I had been using it since Sierra came out and it > works fine except for the frame closing issue. This is obviously a > little contentious in the Emacs world but I wonder if it could be > supported. IMO this is a "window manager" feature similar to how lots of > window managers will group multiple frames of Emacs. In no way is it > really an "Emacs feature" that has to be disabled. You could also argue that free OS’s support tab bar mode and the like, so this isn’t really unprecedented. It would need some work before it could be properly supported, though. Not least because it appears to cause crashes. > A note on this that may be important: This was from John's Nix > configuration script that is available on: > https://github.com/jwiegley/nix-config/blob/e5649602dc89f944e0444a88d8526b19b965bccb/overlays/10-emacs.nix#L678-L698 > > This probably accounts for how John is having the same issue. Nix does > some stuff to achieve "purity" but might be inadvertly introducing the > issue. The SDK used in Nixpkgs is still at macOS 10.10 Yosemite. It > could be causing the discrepency. Most likely the build from > "emacsformacosx.com" is using older SDKs as well. Yes, 10.10 doesn’t support the tabs command. emacsformacosx.com builds on 10.9 the last time I looked, so yes, that’s what’s going on there. Please try adding -DMAC_OS_X_VERSION_MAX_ALLOWED=101200 to CFLAGS. It should give you a compiler warning or two, but you can safely ignore them. -- Alan Third