--- Begin Message ---
Subject: |
23.1; set-frame-name makes emacs -nw crash on mac |
Date: |
Tue, 20 Oct 2009 16:38:06 +0200 (CEST) |
To reproduce do:
- start emacs from terminal with
emacs -nw
- evaluate the emacs lisp function
(set-frame-name "somestring")
This will make Emacs v23 crash on my MacOSX 10.5.8 every time with the error:
Fatal Error (10)
In my Emacs init file I now have something like
(if window-system (set-frame-name "something"))
which eludes the crash.
I downloaded Emacs 23 for MacOSX from URL
http://emacsformacosx.com/
yours,
/robert
In GNU Emacs 23.1.1 (i386-apple-darwin9.8.0, NS apple-appkit-949.54)
of 2009-08-16 on black.local
Windowing system distributor `Apple', version 10.3.949
configured using `configure '--with-ns''
Important settings:
value of $LC_ALL: en_US.UTF-8
value of $LC_COLLATE: nil
value of $LC_CTYPE: nil
value of $LC_MESSAGES: nil
value of $LC_MONETARY: nil
value of $LC_NUMERIC: nil
value of $LC_TIME: nil
value of $LANG: en_US.UTF-8
value of $XMODIFIERS: nil
locale-coding-system: utf-8-unix
default-enable-multibyte-characters: t
Major mode: Lisp Interaction
Minor modes in effect:
tooltip-mode: t
tool-bar-mode: t
menu-bar-mode: t
file-name-shadow-mode: t
global-font-lock-mode: t
font-lock-mode: t
global-auto-composition-mode: t
auto-composition-mode: t
auto-encryption-mode: t
auto-compression-mode: t
line-number-mode: t
transient-mark-mode: t
Recent input:
ESC [ ? 1 ; 2 c ESC x r e p TAB o r TAB RET
Recent messages:
("/Volumes/Emacs/Emacs.app/Contents/MacOS/Emacs" "-Q")
For information about GNU Emacs and the GNU system, type C-h C-a.
Making completion list...
--- End Message ---
--- Begin Message ---
Subject: |
Re: bug#4765: 23.1; set-frame-name makes emacs -nw crash on mac |
Date: |
Wed, 16 Nov 2011 19:47:37 -0500 |
User-agent: |
Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) |
Version: 23.2
Adrian Robert wrote:
>> I think the problem is that ns_set_name should defer calling
>> FRAME_NS_VIEW until after line 542. Maybe that fixes the bug; could
>> you check?
>
> It fixes the crash
I see it was installed 2009-10-24, for 23.2.
> , but nothing gets changed in the display either. On emacs-22 it sets
> something just to the right of the left set of dashes. Could this be
> an additional bug in the NS code?
I imagine that was a trivial issue due to ns-win.el messing with
mode-line-frame-identification, since fixed (bug#10051).
--- End Message ---