emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OSX "new frame" mangles default face


From: Randal L. Schwartz
Subject: Re: OSX "new frame" mangles default face
Date: Thu, 09 Aug 2007 00:12:35 -0700
User-agent: Gnus/5.1008 (Gnus v5.10.8) Emacs/21.4 (berkeley-unix)

>>>>> "Randal" == Randal L Schwartz <address@hidden> 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
<address@hidden> <URL:http://www.stonehenge.com/merlyn/>
Perl/Unix/security consulting, Technical writing, Comedy, etc. etc.
See PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!





reply via email to

[Prev in Thread] Current Thread [Next in Thread]