From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: YAMAMOTO Mitsuharu Newsgroups: gmane.emacs.devel Subject: Re: Problem with CVS emacs on Mac OS X (Carbon) (related to tty_lookup_color?) Date: Fri, 05 Nov 2004 17:39:44 +0900 Organization: Faculty of Science, Chiba University Message-ID: References: <53A62830-2EA8-11D9-831B-000393DEF2CA@mit.edu> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 (generated by SEMI 1.14.5 - "Awara-Onsen") Content-Type: text/plain; charset=US-ASCII X-Trace: sea.gmane.org 1099644045 22044 80.91.229.6 (5 Nov 2004 08:40:45 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 5 Nov 2004 08:40:45 +0000 (UTC) Cc: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Nov 05 09:40:31 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1CPze3-0002ev-00 for ; Fri, 05 Nov 2004 09:40:31 +0100 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPzmE-0008F2-Sd for ged-emacs-devel@m.gmane.org; Fri, 05 Nov 2004 03:48:58 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1CPzli-00081E-4t for emacs-devel@gnu.org; Fri, 05 Nov 2004 03:48:26 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1CPzlg-0007zm-JF for emacs-devel@gnu.org; Fri, 05 Nov 2004 03:48:25 -0500 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1CPzlg-0007zF-D9 for emacs-devel@gnu.org; Fri, 05 Nov 2004 03:48:24 -0500 Original-Received: from [133.82.132.2] (helo=mathmail.math.s.chiba-u.ac.jp) by monty-python.gnu.org with esmtp (Exim 4.34) id 1CPzdJ-0000ZU-30 for emacs-devel@gnu.org; Fri, 05 Nov 2004 03:39:45 -0500 Original-Received: from church.math.s.chiba-u.ac.jp (church [133.82.132.36]) by mathmail.math.s.chiba-u.ac.jp (Postfix) with ESMTP id 200F31A638A; Fri, 5 Nov 2004 17:39:44 +0900 (JST) Original-To: chad brown In-Reply-To: <53A62830-2EA8-11D9-831B-000393DEF2CA@mit.edu> User-Agent: Wanderlust/2.10.1 (Watching The Wheels) SEMI/1.14.5 (Awara-Onsen) FLIM/1.14.5 (Demachiyanagi) APEL/10.6 Emacs/21.3.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) X-BeenThere: emacs-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Emacs development discussions." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Errors-To: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.devel:29457 X-Report-Spam: http://spam.gmane.org/gmane.emacs.devel:29457 >>>>> On Thu, 4 Nov 2004 16:27:27 -0500, chad brown said: > CVS Emacs built on Mac OS X 10.3.5 as of today (same yesterday) > crashes in set-foreground-color if you attempt to use a color name > with a space in it (such as Navajo White or Light Sky Blue). This is not a Mac OS specific problem. Actually it is yet another instance of "eval while blocking input" abort. In xfaces.c: static int realize_basic_faces (f) struct frame *f; { int success_p = 0; int count = SPECPDL_INDEX (); /* Block input here so that we won't be surprised by an X expose event, for instance, without having the faces set up. */ BLOCK_INPUT; specbind (Qscalable_fonts_allowed, Qt); if (realize_default_face (f)) ... unbind_to (count, Qnil); UNBLOCK_INPUT; return success_p; } And the call of realize_default_face may leads to Feval through color_desc = call2 (Qtty_color_desc, color, frame); in tty_lookup_color. YAMAMOTO Mitsuharu mituharu@math.s.chiba-u.ac.jp