From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: merlyn@stonehenge.com (Randal L. Schwartz) Newsgroups: gmane.emacs.devel Subject: Re: OSX "new frame" mangles default face Date: Thu, 09 Aug 2007 00:12:35 -0700 Organization: Stonehenge Consulting Services; Portland, Oregon, USA Message-ID: <86abt1p4f0.fsf@blue.stonehenge.com> References: <86ir7pp5mh.fsf@blue.stonehenge.com> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: sea.gmane.org 1186643582 19125 80.91.229.12 (9 Aug 2007 07:13:02 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Thu, 9 Aug 2007 07:13:02 +0000 (UTC) To: emacs-devel@gnu.org Original-X-From: emacs-devel-bounces+ged-emacs-devel=m.gmane.org@gnu.org Thu Aug 09 09:13:01 2007 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 1IJ2CZ-0000iU-VX for ged-emacs-devel@m.gmane.org; Thu, 09 Aug 2007 09:13:00 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJ2CZ-0000sJ-B8 for ged-emacs-devel@m.gmane.org; Thu, 09 Aug 2007 03:12:59 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1IJ2CW-0000qa-1Z for emacs-devel@gnu.org; Thu, 09 Aug 2007 03:12:56 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1IJ2CT-0000pZ-PQ for emacs-devel@gnu.org; Thu, 09 Aug 2007 03:12:55 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1IJ2CT-0000pS-JE for emacs-devel@gnu.org; Thu, 09 Aug 2007 03:12:53 -0400 Original-Received: from mx20.gnu.org ([199.232.41.8]) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1IJ2CS-0001jn-LT for emacs-devel@gnu.org; Thu, 09 Aug 2007 03:12:52 -0400 Original-Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by mx20.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1IJ2CR-0002ud-Oy for emacs-devel@gnu.org; Thu, 09 Aug 2007 03:12:52 -0400 Original-Received: from list by ciao.gmane.org with local (Exim 4.43) id 1IJ2CN-0006HC-6I for emacs-devel@gnu.org; Thu, 09 Aug 2007 09:12:47 +0200 Original-Received: from blue.stonehenge.com ([209.223.236.162]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Aug 2007 09:12:47 +0200 Original-Received: from merlyn by blue.stonehenge.com with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Thu, 09 Aug 2007 09:12:47 +0200 X-Injected-Via-Gmane: http://gmane.org/ Original-Lines: 35 Original-X-Complaints-To: usenet@sea.gmane.org X-Gmane-NNTP-Posting-Host: blue.stonehenge.com x-mayan-date: Long count = 12.19.14.9.19; tzolkin = 6 Cauac; haab = 7 Yaxkin User-Agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (berkeley-unix) Cancel-Lock: sha1:y5V8ujYo2Pks1qJNFLwBhLBG7fc= X-detected-kernel: Linux 2.6, seldom 2.4 (older, 4) X-Detected-Kernel: 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:76244 Archived-At: >>>>> "Randal" == Randal L Schwartz writes: Randal> This behavior changed recently (within the past few weeks). I'm Randal> sorry that I can't narrow it more closely than that. Randal> I have the following in my .emacs: Randal> (custom-set-faces Randal> ;; custom-set-faces was added by Custom. Randal> ;; If you edit it by hand, you could mess it up, so be careful. Randal> ;; Your init file should contain only one such instance. Randal> ;; If there is more than one, they won't work right. Randal> '(default ((t (:stipple nil :background "white" :foreground "black" :inverse-video nil :box nil :strike-through nil :overline nil :underline nil :slant normal :weight normal :height 120 :width normal :family "apple-dejavu sans mono")))) Randal> '(fixed-pitch ((t (:family "apple-dejavu sans mono")))) Randal> '(variable-pitch ((t (:family "apple-dejavu sans"))))) Randal> Emacs properly fires up with my selected font. Also, emacs properly Randal> breaks to a new frame with that font when I use "^X 5 B dummy RET". Randal> Or at least, it *used* to do that. When I just tried that a moment Randal> ago (for the first time in a few weeks), I got a totally different Randal> font in the new frame. When I call M-x customize-face RET default RET Randal> in that window, it shows me "apple-monaco"! Why did it lose my face? Randal> And why did this start only recently? Ugh! I hate apple-monaco. :) As a data point, I just checked out EMACS_22_1 and recompiled, and the problem is *not* in there. I get the original behavior that I've come to expect... new frame keeps same default face. So it's something introduced between 22.1 and CVS HEAD. Hope that helps. -- Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095 Perl/Unix/security consulting, Technical writing, Comedy, etc. etc. See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!