From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Glenn Morris Newsgroups: gmane.emacs.devel Subject: Re: Font settings ignored on new frames Date: Fri, 06 Jun 2008 14:16:36 -0400 Message-ID: References: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1212776348 3239 80.91.229.12 (6 Jun 2008 18:19:08 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Fri, 6 Jun 2008 18:19:08 +0000 (UTC) Cc: Stefan Monnier , emacs-devel@gnu.org To: Kenichi Handa Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Fri Jun 06 20:19:49 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 1K4gXG-0005nj-RX for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 20:19:35 +0200 Original-Received: from localhost ([127.0.0.1]:47758 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4gWU-0005Dv-0Q for ged-emacs-devel@m.gmane.org; Fri, 06 Jun 2008 14:18:46 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1K4gWJ-0005B5-Hy for emacs-devel@gnu.org; Fri, 06 Jun 2008 14:18:35 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1K4gWH-0005AE-RR for emacs-devel@gnu.org; Fri, 06 Jun 2008 14:18:34 -0400 Original-Received: from [199.232.76.173] (port=45806 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1K4gWH-0005A8-E5 for emacs-devel@gnu.org; Fri, 06 Jun 2008 14:18:33 -0400 Original-Received: from fencepost.gnu.org ([140.186.70.10]:33543) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1K4gWH-0000v2-BF for emacs-devel@gnu.org; Fri, 06 Jun 2008 14:18:33 -0400 Original-Received: from rgm by fencepost.gnu.org with local (Exim 4.67) (envelope-from ) id 1K4gUO-0001Ub-ME; Fri, 06 Jun 2008 14:16:36 -0400 X-Spook: ARPA SSL Lon Horiuchi FIPS140 pipeline ASDIC X-Ran: VSt8VD+u[":Qmx+.CI|P]+novYz\RYA0JXyzum}qP'W X-Hue: blue X-Attribution: GM In-Reply-To: (Kenichi Handa's message of "Fri, 06 Jun 2008 22:07:32 +0900") User-Agent: Gnus (www.gnus.org), GNU Emacs (www.gnu.org/software/emacs/) X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) 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:98525 Archived-At: Kenichi Handa wrote: > I was almost lost in the labyrinth of codes to set the > default face attributes, but I at least found this prolem: > > With Emacs 23 (pre-unicode-merge and the trunk), > (custom-set-faces '(default ((t (:family "courier"))))) > instantly change the current frame to use courier, but > (face-attribute 'default :family t) > returns `unspecified'. > > On the other hand, with Emacs 22, > (custom-set-faces '(default ((t (:family "courier"))))) > doesn't change the current frame, and > (face-attribute 'default :family t) > returns "courier". I don't know if this is relevant to this particular issue, but rms made some changes to this face-related stuff in the trunk: http://lists.gnu.org/archive/html/emacs-devel/2008-03/msg00120.html A few months ago I made an effort to clean up the relationship between face atttributes and customization...