From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Klaus Zeitler Newsgroups: gmane.emacs.bugs,gmane.emacs.pretest.bugs Subject: bug#571: 23.0.60; Solaris 5.8 version hangs (X resources for faces) Date: Fri, 18 Jul 2008 13:27:05 +0200 Message-ID: Reply-To: kzeitler@alcatel-lucent.com, 571@emacsbugs.donarmstrong.com NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216381657 31846 80.91.229.12 (18 Jul 2008 11:47:37 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 18 Jul 2008 11:47:37 +0000 (UTC) To: emacs-pretest-bug@gnu.org Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Fri Jul 18 13:48:25 2008 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1KJoRh-0000mv-Nu for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jul 2008 13:48:22 +0200 Original-Received: from localhost ([127.0.0.1]:46148 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJoQo-0002LS-VQ for geb-bug-gnu-emacs@m.gmane.org; Fri, 18 Jul 2008 07:47:27 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJoQk-0002LF-Nq for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2008 07:47:22 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJoQi-0002L3-U8 for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2008 07:47:22 -0400 Original-Received: from [199.232.76.173] (port=37883 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJoQi-0002L0-MF for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2008 07:47:20 -0400 Original-Received: from rzlab.ucr.edu ([138.23.92.77]:56903) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KJoQi-0000Ig-7r for bug-gnu-emacs@gnu.org; Fri, 18 Jul 2008 07:47:20 -0400 Original-Received: from rzlab.ucr.edu (rzlab.ucr.edu [127.0.0.1]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6IBlHl3014283; Fri, 18 Jul 2008 04:47:17 -0700 Original-Received: (from debbugs@localhost) by rzlab.ucr.edu (8.13.8/8.13.8/Submit) id m6IBZ39U010809; Fri, 18 Jul 2008 04:35:03 -0700 X-Loop: don@donarmstrong.com Resent-From: Klaus Zeitler Original-Sender: kzeitler@de.lucent.com Resent-To: bug-submit-list@donarmstrong.com Resent-CC: Emacs Bugs Resent-Date: Fri, 18 Jul 2008 11:35:02 +0000 Resent-Message-ID: Resent-Sender: don@donarmstrong.com X-Emacs-PR-Message: report 571 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by submit@emacsbugs.donarmstrong.com id=B.12163804569563 (code B ref -1); Fri, 18 Jul 2008 11:35:02 +0000 Original-Received: (at submit) by emacsbugs.donarmstrong.com; 18 Jul 2008 11:27:36 +0000 Original-Received: from fencepost.gnu.org (fencepost.gnu.org [140.186.70.10]) by rzlab.ucr.edu (8.13.8/8.13.8/Debian-3) with ESMTP id m6IBRVr1009557 for ; Fri, 18 Jul 2008 04:27:33 -0700 Original-Received: from mx10.gnu.org ([199.232.76.166]:53316) by fencepost.gnu.org with esmtp (Exim 4.67) (envelope-from ) id 1KJo6v-0005LO-9i for emacs-pretest-bug@gnu.org; Fri, 18 Jul 2008 07:26:53 -0400 Original-Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1KJo7P-0002AA-T0 for emacs-pretest-bug@gnu.org; Fri, 18 Jul 2008 07:27:29 -0400 Original-Received: from ihemail3.lucent.com ([135.245.0.37]:64313) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1KJo7O-00027L-T8 for emacs-pretest-bug@gnu.org; Fri, 18 Jul 2008 07:27:23 -0400 Original-Received: from ihrh1.emsr.lucent.com (h135-1-218-53.lucent.com [135.1.218.53]) by ihemail3.lucent.com (8.13.8/IER-o) with ESMTP id m6IBR8dU027112 for ; Fri, 18 Jul 2008 06:27:13 -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 m6IBR6aQ017194 for ; Fri, 18 Jul 2008 06:27:07 -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 m6IBR6k01361 for ; Fri, 18 Jul 2008 13:27:06 +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 m6IBR5LE028362 for ; Fri, 18 Jul 2008 13:27:06 +0200 (MEST) Original-Received: (from kzeitler@localhost) by sfsw51.de.lucent.com (8.11.7p1+Sun/8.8.8) id m6IBR5d23606; Fri, 18 Jul 2008 13:27:05 +0200 (MEST) X-Authentication-Warning: sfsw51.de.lucent.com: kzeitler set sender to kzeitler@alcatel-lucent.com using -f X-Uboat-Death-Message: ATTACKED BY DESTROYER. CAPTAIN INTOXICATED. SINKING. U-802. User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (usg-unix-v) X-Scanned-By: MIMEDefang 2.57 on 135.245.2.37 X-detected-kernel: by monty-python.gnu.org: Solaris 9 X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) Resent-Date: Fri, 18 Jul 2008 07:47:22 -0400 X-BeenThere: bug-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:18746 gmane.emacs.pretest.bugs:22733 Archived-At: Please write in English if possible, because the Emacs maintainers usually do not have translators to read other languages for them. Your bug report will be posted to the emacs-pretest-bug@gnu.org mailing list. Please describe exactly what actions triggered the bug and the precise symptoms of the bug: The following 3 lines in function face-set-after-frame-default in faces.el cause emacs to hang at startup (before the initial frame pops up). ;; 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)) 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)))) It's the face 'menu' that causes the error. As a workaround I've now added a font spec for the menu face to my Xresources file and the error is gone, e.g. Emacs.menu.attributeFont: -b&h-lucidatypewriter-medium-r-normal-sans-17-*-*-*-*-*-iso8859-1 In GNU Emacs 23.0.60.1 (sparc-sun-solaris2.8, Motif Version 2.1.0) of 2008-07-17 on sfsws4 Windowing system distributor `Sun Microsystems, Inc.', version 11.0.6410 configured using `configure '--prefix=/vol/freeware/SunOS-5.8/emacs/cvs' '--sharedstatedir=/vol/freeware/SunOS-5.8/emacs/cvs/share' '--with-x-toolkit=motif' '--x-includes=/usr/openwin/include:/usr/local/gnu/include:/opt/exp/gnu/include:/opt/exp/include:/opt/exp/lib/xpm/include' '--x-libraries=/usr/openwin/lib:/usr/local/gnu/lib:/opt/exp/gnu/lib:/opt/exp/lib:/opt/exp/lib/xpm/lib' '--with-pop' 'CC=gcc' 'XMKMF=/usr/openwin/bin/xmkmf'' Important settings: value of $LC_ALL: nil value of $LC_COLLATE: nil value of $LC_CTYPE: nil value of $LC_MESSAGES: nil value of $LC_MONETARY: nil value of $LC_NUMERIC: nil value of $LC_TIME: nil value of $LANG: C value of $XMODIFIERS: nil locale-coding-system: nil default-enable-multibyte-characters: t Major mode: Lisp Interaction Minor modes in effect: desktop-save-mode: t url-handler-mode: t global-hi-lock-mode: t hi-lock-mode: t auto-image-file-mode: t recentf-mode: t global-auto-revert-mode: t display-time-mode: t which-function-mode: t msb-mode: t minibuffer-electric-default-mode: t savehist-mode: t minibuffer-indicate-depth-mode: t partial-completion-mode: t cua-mode: t tooltip-mode: t tool-bar-mode: t mouse-wheel-mode: t menu-bar-mode: t file-name-shadow-mode: t global-font-lock-mode: t font-lock-mode: t blink-cursor-mode: t global-auto-composition-mode: t auto-composition-mode: t unify-8859-on-decoding-mode: t auto-encryption-mode: t auto-compression-mode: t column-number-mode: t line-number-mode: t transient-mark-mode: t Recent input: C-x C-f . l o g t SPC 4 C-x C-s C-x k n SPC SPC q SPC SPC SPC SPC q SPC c SPC SPC e q SPC SPC SPC SPC SPC SPC C-g q SPC SPC q q C-g n 2 0 0 0 Recent messages: Reading active file from archive via nnfolder...done Checking new news...done going to start of *Carpal Group* Retrieving newsgroup: nnml:emacs... going to start of *Carpal Summary* Fetching headers for nnml:emacs...done Scoring...done Scoring...done Generating summary...done No more unread articles -- -------------------------------------------------- | Klaus Zeitler Alcatel-Lucent | | Email: kzeitler@alcatel-lucent.com | -------------------------------------------------- --- One nice thing about egotists: they don't talk about other people.