* Problem setting default font for my windows (frames)
@ 2005-07-28 21:50 Ulrich Hobelmann
0 siblings, 0 replies; only message in thread
From: Ulrich Hobelmann @ 2005-07-28 21:50 UTC (permalink / raw)
In my init file I have the following definitions:
(set-default-font
"-*-*-medium-r-normal-*-13-*-*-*-*-*-fontset-monaco13")
(defun font-monaco-13 ()
(message "set-font")
(set-frame-font
"-*-*-medium-r-normal-*-13-*-*-*-*-*-fontset-monaco13"))
(setq after-make-frame-functions
(append after-make-frame-functions
(list (lambda (frame) (select-frame frame) (font-monaco-13)))))
The set-default-font, when I do C-x-e in the buffer, DOES change
the font. Likewise, when I call font-monaco-13, it DOES change
the font.
But when I open a file in Emacs (by double-clicking in my system,
which creates a new emacs window) it doesn't set the new font. It
seems like font-monaco-13 gets called (message appears), and the
window changes its size, but then changes back again.
after-make-frame-functions only contains my function. Any ideas
what is happening here?
--
XML is a prime example of retarded innovation.
-- Erik Meijer and Peter Drayton, Microsoft Corporation
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2005-07-28 21:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-07-28 21:50 Problem setting default font for my windows (frames) Ulrich Hobelmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).