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: Thu, 17 Jul 2008 08:33:35 -0400 Message-ID: <877ibkg068.fsf@stupidchicken.com> References: <87d4lgo8k9.fsf@stupidchicken.com> <87skub0w4t.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 1216298136 8117 80.91.229.12 (17 Jul 2008 12:35:36 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Thu, 17 Jul 2008 12:35:36 +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 Thu Jul 17 14:36:24 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 1KJSiY-0001km-35 for ged-emacs-devel@m.gmane.org; Thu, 17 Jul 2008 14:36:18 +0200 Original-Received: from localhost ([127.0.0.1]:58903 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJShf-0006UA-F5 for ged-emacs-devel@m.gmane.org; Thu, 17 Jul 2008 08:35:23 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KJSg1-0004Ot-5O for emacs-devel@gnu.org; Thu, 17 Jul 2008 08:33:41 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KJSfz-0004Lw-7Z for emacs-devel@gnu.org; Thu, 17 Jul 2008 08:33:40 -0400 Original-Received: from [199.232.76.173] (port=42010 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KJSfy-0004L6-TT for emacs-devel@gnu.org; Thu, 17 Jul 2008 08:33:38 -0400 Original-Received: from c-24-63-201-57.hsd1.ma.comcast.net ([24.63.201.57]:10142 helo=furry) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KJSfx-0002i3-U6 for emacs-devel@gnu.org; Thu, 17 Jul 2008 08:33:38 -0400 Original-Received: by furry (Postfix, from userid 1000) id 399FEC054; Thu, 17 Jul 2008 08:33:36 -0400 (EDT) In-Reply-To: (Klaus Zeitler's message of "Thu, 17 Jul 2008 10:53:35 +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, 2) 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:100883 Archived-At: Klaus Zeitler writes: > >> 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? > Chong> > Chong> No, because face specs and custom face attributes can be > Chong> defined even in terminals (X resources, however, cannot). > > Not sure we're talking about the same thing. I thought the frame > parameter will not change inside this function (I can't see where it's > going to change). I'm not sure what you mean either. The memq is for running make-face-x-resource-internal. We want to do this for each face (other than the default face), so that face settings stored in X resources are obeyed for the new frame.