[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: setting the font in .emacs
From: |
Oliver Scholz |
Subject: |
Re: setting the font in .emacs |
Date: |
Tue, 24 Sep 2002 20:58:28 +0200 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) Emacs/21.3.50 (i686-pc-linux-gnu) |
Kai.Grossjohann@CS.Uni-Dortmund.DE (Kai Großjohann) writes:
> Keith O'Connell <kroc@blueyonder.co.uk> writes:
>
>> I know I said perfect, but that was a little premature. When the emacs
>> window is opened it comes up with the face font specified in the
>> command above, however if you spawn another window with C-x 5 2, it
>> comes up with the original font.
>
> (add-to-list 'default-frame-alist '(font . "your-font-name-here"))
>
> I think this works without conditionals.
My bad, I don't use `set-face-font' myself, I should have checked
that it works correctly.
But I am puzzled. Both `set-face-font' and `set-face-foreground' work
by calling `set-face-attribute'. But the former, when applied to the
default face, changes the attribute in question _not_ for future
frames, while the latter does. Why the difference?
-- Oliver
--
3 Vendémiaire an 211 de la Révolution
Liberté, Egalité, Fraternité!
- setting the font in .emacs, Dan Hitt, 2002/09/22
- Re: setting the font in .emacs, Oliver Scholz, 2002/09/22
- Re: setting the font in .emacs, Keith, 2002/09/22
- Re: setting the font in .emacs, David Forrest, 2002/09/22
- Re: setting the font in .emacs, Oliver Scholz, 2002/09/22
- Re: setting the font in .emacs, Keith, 2002/09/23
- Re: setting the font in .emacs, Keith O'Connell, 2002/09/24
- Re: setting the font in .emacs, Kai Großjohann, 2002/09/24
- Re: setting the font in .emacs, Keith O'Connell, 2002/09/24
- Re: setting the font in .emacs,
Oliver Scholz <=
- Re: setting the font in .emacs, Kai Großjohann, 2002/09/24
- Re: setting the font in .emacs, Stefan Monnier <address@hidden>, 2002/09/23
- Re: setting the font in .emacs, Benjamin Lewis, 2002/09/23
Re: setting the font in .emacs, Fredrik Staxeng, 2002/09/23