all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Klaus Zeitler <kzeitler@alcatel-lucent.com>
To: Chong Yidong <cyd@stupidchicken.com>
Cc: emacs-devel@gnu.org
Subject: Re: Solaris 5.8 version hangs again (X resources for faces?)
Date: Mon, 14 Jul 2008 16:56:31 +0200	[thread overview]
Message-ID: <q5g1w1wy0o0.fsf@sfsw51.de.lucent.com> (raw)
In-Reply-To: <87d4lgo8k9.fsf@stupidchicken.com> (Chong Yidong's message of "Mon\, 14 Jul 2008 10\:16\:06 -0400")

>>>>> "Chong" == Chong Yidong <cyd@stupidchicken.com> writes:
    Chong> 
    Chong> Could you try to pinpoint where in make-face-x-resource-internal, and
    Chong> for what face, the hang occurs?

When I evaluate the function below in scratch buffer with
(face-set-after-frame-default-tst (selected-frame))
I get: Wrong type argument: font, unspecified


(defun face-set-after-frame-default-tst (frame &optional parameters)
  "Initialize the frame-local faces of FRAME.
Calculate the face definitions using the face specs, custom theme
settings, X resources, and `face-new-frame-defaults'.
Finally, apply any relevant face attributes found amongst the
frame parameters in PARAMETERS and `default-frame-alist'."
  (dolist (face (nreverse (face-list)))
    (condition-case ()
	(progn
	  ;; Initialize faces from face spec and custom theme.
	  (face-spec-recalc face frame)
	  ;; X resouces for the default face are applied during
	  ;; x-create-frame.
	  (and (not (eq face 'default))
	       (memq (window-system frame) '(x w32 mac)) 	 
	       (make-face-x-resource-internal face frame))
	  ;; Apply attributes specified by face-new-frame-defaults
	  (internal-merge-in-global-face face frame))
      ;; Don't let invalid specs prevent frame creation.
      (error nil))))


Maybe this helps already. But I can try edebug tomorrow.
BTW the same happens, when I remove my Xresources file.

Thanks for your quick response.

Klaus

-- 
 --------------------------------------------------
|  Klaus Zeitler      Alcatel-Lucent               |
|  Email:             kzeitler@alcatel-lucent.com  |
 --------------------------------------------------
---
The day after tomorrow is the third day of the rest of your life.




  reply	other threads:[~2008-07-14 14:56 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-07-14 13:27 Solaris 5.8 version hangs again (X resources for faces?) Klaus Zeitler
2008-07-14 14:16 ` Chong Yidong
2008-07-14 14:56   ` Klaus Zeitler [this message]
2008-07-15  9:26   ` Klaus Zeitler
2008-07-15 19:45     ` Chong Yidong
2008-07-17  8:53       ` Klaus Zeitler
2008-07-17 12:33         ` Chong Yidong

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=q5g1w1wy0o0.fsf@sfsw51.de.lucent.com \
    --to=kzeitler@alcatel-lucent.com \
    --cc=cyd@stupidchicken.com \
    --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 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.