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, 12 Sep 2016 16:04:23 +0200 [thread overview]
Message-ID: <5FF68B43-F999-4FA1-8B5D-57BC5DF19D38@polito.it> (raw)
In-Reply-To: <CABGBtwmATOk5QLR+vAudDif1zWRLxoKkLoNGjLkZ4YUDQOL=hg@mail.gmail.com>
> On 12 Sep 2016, at 14:58, Alan Third <alan@idiocy.org> wrote:
>
> On 11 September 2016 at 20:24, Ivan Cibrario Bertolotti <ivan.cibrario@polito.it> wrote:
> >
> > Concerning the way of using Emacs, may I ask if there is any “grey area”
> > in using Emacs in native full screen mode?
> >
> > 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.
> >
> > I don’t see how it can be related to EmacsImages, but it is
> > the most significant clue I can think of at this time.
>
> I’m not aware of any particular issues with full‐screen mode, but I
> don’t know if it gets a lot of use. I certainly never use it.
>
> 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.
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.
Thanks again,
Ivan
next prev parent reply other threads:[~2016-09-12 14:04 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 [this message]
2016-09-12 16:52 ` Alan Third
2016-09-26 12:48 ` Ivan Cibrario Bertolotti
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=5FF68B43-F999-4FA1-8B5D-57BC5DF19D38@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.