Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Setting fonts in new frames

10 views
Skip to first unread message

Ewen Cartwright

unread,
Jan 3, 2007, 10:00:10 AM1/3/07
to help-gn...@gnu.org
Hi all,

I set the font for my emacs sessions (ntemacs-22) in my .emacs file
thus:

(set-default-font "-*-Lucida Sans
Typewriter-normal-r-*-*-12-*-*-*-c-*-*-iso8859-1")

Which works fine. But every time I open a new frame I get plain old
Courier. I've looked for frame-opening hooks where I can run
set-default-font to get my own font choice in them but nothing I've
tried seems to work. Anyone know how I can achieve this?

TIA,

/ewen


Kevin Rodgers

unread,
Jan 3, 2007, 2:26:06 PM1/3/07
to help-gn...@gnu.org

(add-to-list 'default-frame-alist
'(font . "-*-Lucida Sans
Typewriter-normal-r-*-*-12-*-*-*-c-*-*-iso8859-1"))

--
Kevin

Ewen Cartwright

unread,
Jan 3, 2007, 4:13:52 PM1/3/07
to Kevin Rodgers, help-gn...@gnu.org
Thanks very much -- don't know how I missed that...

--
Kevin

_______________________________________________
help-gnu-emacs mailing list
help-gn...@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnu-emacs


0 new messages