all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Ivan Cibrario Bertolotti <ivan.cibrario@polito.it>
To: Alan Third <alan@idiocy.org>
Cc: 23875@debbugs.gnu.org
Subject: bug#23875: 25.0.95; Emacs crashes when closing a frame on OSX
Date: Mon, 26 Sep 2016 14:48:18 +0200	[thread overview]
Message-ID: <E5C62426-78F4-4F3F-A491-E7C15A27F8AF@polito.it> (raw)
In-Reply-To: <20160912165258.GA67732@breton.holly.idiocy.org>

Hello Alan,

> On 12 Sep 2016, at 18:52, Alan Third <alan@idiocy.org> wrote:
> 
> On Mon, Sep 12, 2016 at 04:04:23PM +0200, Ivan Cibrario Bertolotti wrote:
>> 
>>> On 12 Sep 2016, at 14:58, Alan Third <alan@idiocy.org> wrote:
>>> 
>>> One thing that does come to mind is that NS Emacs sometimes puts an
>>> image in the title‐bar to represent the file, but it’s not consistent
>>> and I don’t understand what the code is doing.
>>> 
>>> When you’re in full‐screen there is no title‐bar, iirc, so I don’t
>>> know what happens to that image.
>>> 
>>> I think there’s a way to disable the image, but I can’t remember how.
>>> I’ll 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 “%b”)
>> 
>> 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.
> 
> That’s exactly what I was thinking of.
> 
>> 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’t touch
>> it. Sorry if I wrote/did something silly, I am not an expert on the
>> Emacs code base.
> 
> No, this is all good. We’ll see if it makes any difference. If you get
> any crashes then we’ll have to look for something else.
> -- 
> Alan Third

After ~10 days of rather heavy testing (~8 hours/day of use, initially
with the last RC and now with 25.1), no crashes at all.  I am reverting
to my original configuration (setq frame-title-format t) to double-check.

Thanks again for your help,
Ivan






  reply	other threads:[~2016-09-26 12:48 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-30 17:06 bug#23875: 25.0.95; Emacs crashes when closing a frame on OSX Ivan Cibrario Bertolotti
2016-06-30 18:50 ` Alan Third
2016-06-30 19:34   ` Ivan Cibrario Bertolotti
2016-09-11 10:15     ` Alan Third
2016-09-11 15:31       ` Ivan Cibrario Bertolotti
2016-09-11 18:18         ` Alan Third
2016-09-11 19:24           ` Ivan Cibrario Bertolotti
2016-09-12 12:58             ` Alan Third
2016-09-12 14:04               ` Ivan Cibrario Bertolotti
2016-09-12 16:52                 ` Alan Third
2016-09-26 12:48                   ` Ivan Cibrario Bertolotti [this message]
2016-11-11 19:14                     ` Alan Third

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E5C62426-78F4-4F3F-A491-E7C15A27F8AF@polito.it \
    --to=ivan.cibrario@polito.it \
    --cc=23875@debbugs.gnu.org \
    --cc=alan@idiocy.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.