You are not logged in.
Hai.
I've installed emacs-cvs to see the new features that'll be present in the new version and because I wanted to try the --daemon mode. So far, so good. The problem is that it won't use the font I want it to use if I start a new frame with 'emacsclient -c'.
The relevant part of my ~/.emacs is a single line:
(set-default-font "Envy Code R-8")
If I start emacs with 'emacs', then it shows up using this font. If I run 'emacs --daemon' and then 'emacsclient -c', it loads up using the font set in my ~/.Xdefaults ("*font: -*-proggytiny-*-*-*-*-*-*-*-*-*-*-*-*"). And yes, I've restarted my emacs daemon after changing ~/.emacs.
Does anyone know how to solve this?
Edit: I should've searched better before, sorry. I should've used
(setq default-frame-alist '((font-backend . "xft")
(font . "Envy Code R-8")
(cursor-color . "white")))
instead of that single line.
Last edited by andre.ramaciotti (2009-06-24 22:51:44)
(lambda ())
Offline
I utilize my .Xdefaults to set my emacs font.
Depending on how I'm feeling, here's a list of fonts I've been fond of using:
% grep emacs .Xdefaults
!emacs*font:-misc-fixed-medium-r-normal--14-130-75-75-c-70-iso10646-1
!emacs.font:consolas-10
emacs.font:dina-10
!emacs.font:Terminal-10
!emacs.font:DejaVu Sans Mono-11
xrdb ~/.Xdefaults and reload emacs.
Offline
Things are working as I'd like now, but thanks for the tip.
(lambda ())
Offline