I use 'color-theme' my init.el.  When it tries to set the background  
color, emacs crashes.

This is with revision 55359.

I've traced the problem to nsfns.m lines 404-409:

404:      if (face)
405:       {
406:      col = NS_FACE_BACKGROUND (face);
407:          face->background =
408:            (EMACS_UINT) [[col colorWithAlphaComponent: alpha] retain];
409:          [col release];

Line 406 appears to be the culprit.  It's getting the face background  
(an unsigned int) and storing it in col, which up to this point had  
been carrying an NSColor *.  Line 407 still thinks it is, and tries to  
send a message to it, with disastrous results.  I've worked around it  
by commenting out line 406, but someone more familiar with this should  
probably take a look at it.




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Emacs-app-dev- mailing list
Emacs-app-dev-@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emacs-app-dev-

Reply via email to