From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!.POSTED!not-for-mail From: Ivan Cibrario Bertolotti Newsgroups: gmane.emacs.bugs Subject: bug#23875: 25.0.95; Emacs crashes when closing a frame on OSX Date: Mon, 12 Sep 2016 16:04:23 +0200 Message-ID: <5FF68B43-F999-4FA1-8B5D-57BC5DF19D38@polito.it> References: <481371E5-6A60-49C8-B707-33B5001747BA@polito.it> <3C45BB04-687F-4587-A5BA-BCC715329692@polito.it> <2F307EFE-1F6C-462B-85C5-81877D4C88B5@polito.it> <4678D0F5-9492-46BA-9CDE-62ED15C19FDD@polito.it> NNTP-Posting-Host: blaine.gmane.org Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Trace: blaine.gmane.org 1473689135 18370 195.159.176.226 (12 Sep 2016 14:05:35 GMT) X-Complaints-To: usenet@blaine.gmane.org NNTP-Posting-Date: Mon, 12 Sep 2016 14:05:35 +0000 (UTC) Cc: 23875@debbugs.gnu.org To: Alan Third Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Mon Sep 12 16:05:24 2016 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 1bjRrK-0003P7-AU for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2016 16:05:18 +0200 Original-Received: from localhost ([::1]:43064 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjRrI-0000AR-Fy for geb-bug-gnu-emacs@m.gmane.org; Mon, 12 Sep 2016 10:05:16 -0400 Original-Received: from eggs.gnu.org ([2001:4830:134:3::10]:50639) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjRr8-00005K-Vu for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2016 10:05:11 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bjRr4-00016N-7J for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2016 10:05:06 -0400 Original-Received: from debbugs.gnu.org ([208.118.235.43]:60042) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bjRr4-000169-3c for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2016 10:05:02 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1bjRr3-0002mK-Nr for bug-gnu-emacs@gnu.org; Mon, 12 Sep 2016 10:05:01 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Ivan Cibrario Bertolotti Original-Sender: "Debbugs-submit" Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Mon, 12 Sep 2016 14:05:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 23875 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: unreproducible Original-Received: via spool by 23875-submit@debbugs.gnu.org id=B23875.147368908210647 (code B ref 23875); Mon, 12 Sep 2016 14:05:01 +0000 Original-Received: (at 23875) by debbugs.gnu.org; 12 Sep 2016 14:04:42 +0000 Original-Received: from localhost ([127.0.0.1]:57754 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjRqf-0002lb-JX for submit@debbugs.gnu.org; Mon, 12 Sep 2016 10:04:42 -0400 Original-Received: from fm1nodo1.polito.it ([130.192.180.11]:37266 helo=antispam.polito.it) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bjRqZ-0002lF-C3 for 23875@debbugs.gnu.org; Mon, 12 Sep 2016 10:04:36 -0400 Original-Received: from polito.it (frontmail2.polito.it [130.192.180.42]) by antispam.polito.it with ESMTP id u8CE4Ojq022139-u8CE4Ojs022139 (version=TLSv1.0 cipher=DHE-RSA-AES256-SHA bits=256 verify=CAFAIL); Mon, 12 Sep 2016 16:04:25 +0200 Original-Received: from [87.9.225.201] (account d011741@polito.it HELO [192.168.1.106]) by polito.it (CommuniGate Pro SMTP 6.1.9) with ESMTPSA id 52154790; Mon, 12 Sep 2016 16:04:24 +0200 In-Reply-To: X-Mailer: Apple Mail (2.3124) X-FEAS-SYSTEM-WL: 130.192.180.42 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:123217 Archived-At: > On 12 Sep 2016, at 14:58, Alan Third wrote: >=20 > On 11 September 2016 at 20:24, Ivan Cibrario Bertolotti = wrote: > >=20 > > Concerning the way of using Emacs, may I ask if there is any =E2=80=9C= grey area=E2=80=9D > > in using Emacs in native full screen mode? > >=20 > > When I saw the bug, I was switching in and out of full screen mode = quite > > often. One thing I noticed is that the bug appeared during or = shortly > > after a switch. > >=20 > > I don=E2=80=99t see how it can be related to EmacsImages, but it is > > the most significant clue I can think of at this time. >=20 > I=E2=80=99m not aware of any particular issues with full=E2=80=90screen = mode, but I > don=E2=80=99t know if it gets a lot of use. I certainly never use it. >=20 > One thing that does come to mind is that NS Emacs sometimes puts an > image in the title=E2=80=90bar to represent the file, but it=E2=80=99s = not consistent > and I don=E2=80=99t understand what the code is doing. >=20 > When you=E2=80=99re in full=E2=80=90screen there is no title=E2=80=90bar= , iirc, so I don=E2=80=99t > know what happens to that image. >=20 > I think there=E2=80=99s a way to disable the image, but I can=E2=80=99t = remember how. > I=E2=80=99ll see if I can work it out this evening. I had a look at the source (starting from syms_of_nsfns, nsfsn.m). Are you referring to the frame-title-format lisp variable perhaps? I = tried: (setq frame-title-format =E2=80=9C%b=E2=80=9D) in my .emacs (the default value was t). This should make Emacs call = ns_set_name instead of ns_set_name_as_filename in x_implicitly_set_name, = nsfns.m. Now my frames no longer have any icon, just the buffer name. If this = setting looks good you, I will keep it and see what happens. If this is = not what you had in mind, please let me know. I also spotted the icon-title-format variable, but I didn=E2=80=99t = touch it. Sorry if I wrote/did something silly, I am not an expert on = the Emacs code base. Thanks again, Ivan