unofficial mirror of emacs-devel@gnu.org 
 help / color / mirror / code / Atom feed
From: YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
Cc: emacs-devel@gnu.org
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	[thread overview]
Message-ID: <wllldgd6zz.wl@church.math.s.chiba-u.ac.jp> (raw)
In-Reply-To: <53A62830-2EA8-11D9-831B-000393DEF2CA@mit.edu>

>>>>> On Thu, 4 Nov 2004 16:27:27 -0500, chad brown <y@MIT.EDU> 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

      reply	other threads:[~2004-11-05  8:39 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-04 21:27 Problem with CVS emacs on Mac OS X (Carbon) (related to tty_lookup_color?) chad brown
2004-11-05  8:39 ` YAMAMOTO Mitsuharu [this message]

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

  List information: https://www.gnu.org/software/emacs/

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

  git send-email \
    --in-reply-to=wllldgd6zz.wl@church.math.s.chiba-u.ac.jp \
    --to=mituharu@math.s.chiba-u.ac.jp \
    --cc=emacs-devel@gnu.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 public inbox

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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).