From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.devel Subject: Re: Solaris 5.8 version hangs again (X resources for faces?) Date: Mon, 14 Jul 2008 16:56:31 +0200 Message-ID: References: <87d4lgo8k9.fsf@stupidchicken.com> Reply-To: kzeitler@alcatel-lucent.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216047417 2644 80.91.229.12 (14 Jul 2008 14:56:57 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Mon, 14 Jul 2008 14:56:57 +0000 (UTC) Cc: emacs-devel@gnu.org To: Chong Yidong Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Mon Jul 14 16:57:45 2008 Return-path: Envelope-to: ged-emacs-devel@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KIPUm-0004WV-B9 for ged-emacs-devel@m.gmane.org; Mon, 14 Jul 2008 16:57:44 +0200 Original-Received: from localhost ([127.0.0.1]:40960 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIPTu-0001lD-6k for ged-emacs-devel@m.gmane.org; Mon, 14 Jul 2008 10:56:50 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIPTp-0001ko-8a for emacs-devel@gnu.org; Mon, 14 Jul 2008 10:56:45 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIPTm-0001kP-QI for emacs-devel@gnu.org; Mon, 14 Jul 2008 10:56:44 -0400 Original-Received: from [199.232.76.173] (port=56077 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIPTm-0001kJ-N6 for emacs-devel@gnu.org; Mon, 14 Jul 2008 10:56:42 -0400 Original-Received: from ihemail4.lucent.com ([135.245.0.39]:39750) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KIPTm-0007fS-6x for emacs-devel@gnu.org; Mon, 14 Jul 2008 10:56:42 -0400 Original-Received: from ihrh1.emsr.lucent.com (h135-1-218-53.lucent.com [135.1.218.53]) by ihemail4.lucent.com (8.13.8/IER-o) with ESMTP id m6EEuZ11018554; Mon, 14 Jul 2008 09:56:37 -0500 (CDT) Original-Received: from nbgif1.de.lucent.com (nbgif1.de.lucent.com [135.246.31.82]) by ihrh1.emsr.lucent.com (8.13.8/emsr) with ESMTP id m6EEuXXF026464; Mon, 14 Jul 2008 09:56:34 -0500 (CDT) Original-Received: from sfsws1.de.lucent.com (sfsws1.de.lucent.com [135.246.31.38]) by nbgif1.de.lucent.com (8.11.7p3+Sun/8.11.7) with ESMTP id m6EEuWk09166; Mon, 14 Jul 2008 16:56:32 +0200 (MEST) Original-Received: from sfsw51.de.lucent.com (sfsw51.de.lucent.com [135.246.72.99]) by sfsws1.de.lucent.com (8.13.8/8.12.10) with ESMTP id m6EEuW5j002768; Mon, 14 Jul 2008 16:56:32 +0200 (MEST) Original-Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id m6EEuVY10261; Mon, 14 Jul 2008 16:56:31 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@alcatel-lucent.com using -f X-Kibo-Says: Something like a hot refrigerator is not real, I KNOW! In-Reply-To: <87d4lgo8k9.fsf@stupidchicken.com> (Chong Yidong's message of "Mon\, 14 Jul 2008 10\:16\:06 -0400") User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (usg-unix-v) X-Scanned-By: MIMEDefang 2.57 on 135.245.2.39 X-detected-kernel: by monty-python.gnu.org: Solaris 9 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: news.gmane.org gmane.emacs.devel:100687 Archived-At: >>>>> "Chong" == Chong Yidong 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.