From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Chong Yidong Newsgroups: gmane.emacs.devel Subject: Re: Solaris 5.8 version hangs again (X resources for faces?) Date: Tue, 15 Jul 2008 15:45:22 -0400 Message-ID: <87skub0w4t.fsf@stupidchicken.com> References: <87d4lgo8k9.fsf@stupidchicken.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1216151100 15584 80.91.229.12 (15 Jul 2008 19:45:00 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 15 Jul 2008 19:45:00 +0000 (UTC) Cc: emacs-devel@gnu.org To: kzeitler@alcatel-lucent.com Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Tue Jul 15 21:45:48 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 1KIqT0-0005e6-GA for ged-emacs-devel@m.gmane.org; Tue, 15 Jul 2008 21:45:42 +0200 Original-Received: from localhost ([127.0.0.1]:42325 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIqS8-0008Gk-61 for ged-emacs-devel@m.gmane.org; Tue, 15 Jul 2008 15:44:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KIqS2-0008GJ-Pn for emacs-devel@gnu.org; Tue, 15 Jul 2008 15:44:42 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KIqS2-0008Ff-4q for emacs-devel@gnu.org; Tue, 15 Jul 2008 15:44:42 -0400 Original-Received: from [199.232.76.173] (port=47096 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KIqS2-0008FU-2P for emacs-devel@gnu.org; Tue, 15 Jul 2008 15:44:42 -0400 Original-Received: from cyd.mit.edu ([18.115.2.24]:48463 helo=cyd) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KIqS1-00067U-Lo for emacs-devel@gnu.org; Tue, 15 Jul 2008 15:44:41 -0400 Original-Received: by cyd (Postfix, from userid 1000) id 424C657E310; Tue, 15 Jul 2008 15:45:23 -0400 (EDT) In-Reply-To: (Klaus Zeitler's message of "Tue, 15 Jul 2008 11:26:26 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.60 (gnu/linux) X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 3) 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:100746 Archived-At: Klaus Zeitler writes: >>>>>> "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? > > It's the face 'menu' that causes the error. > I've now added a font spec for the menu face and the error is gone, e.g. > Emacs.menu.attributeFont: -b&h-lucidatypewriter-medium-r-normal-sans-17-*-*-*-*-*-iso8859-1 This is strange. It may be that the face code needs to handle this face specially. > Shouldn't the condition-case take care of the error? > And another question: Shouldn't the window-system check, i.e. > (memq (window-system frame) '(x w32 mac)) > be outside the dolist? No, because face specs and custom face attributes can be defined even in terminals (X resources, however, cannot).