help-gnu-emacs
[Top][All Lists]
Advanced

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

default font in initial & default frames


From: Luis O. Silva
Subject: default font in initial & default frames
Date: Fri, 12 Sep 2003 21:17:38 -0600

Dear Emacs community,

I've upgraded my system from GNU\Linux RH 7.1 and Emacs 21.1 to
debian GNU\Linux 3.0 and Emacs 21.2.1. All seems to be working
fine with the following exception:

In my previous system I had the following snippet in my .emacs
file:

;; ---------------------- Begin frames section ---------------------------
;; How frames are created by default
(setq default-frame-alist
      '((width . 85) (height . 48)
        (top . 16) (left . 200)
        (cursor-color . "red")
        (cursor-type . box)
        (font . "-cronyx-fixed-medium-r-normal-*-13-120-*-*-*-*-*-*")
        (foreground-color . "LimeGreen")
        (background-color . "Black")))
;; The initial frame
(setq initial-frame-alist
      '((width . 85) (height . 43)
        (top . 16) (left . 50)
        (cursor-color . "red")
        (cursor-type . box)
        (font . "-cronyx-fixed-medium-r-normal-*-14-130-*-*-*-*-*-*")
        (foreground-color . "LimeGreen")
        (background-color . "Black")))
;; ---------------------- End frames section --------------------------

which worked as expected. Now, although I've confirmed the
existence of the font with xfontsel, Emacs does not load the
corresponding font. The only way I found Emacs would use the
desired default font was through the corresponding line in
.Xresources and commenting out the lines specifying the font in
my .emacs file. The problem is that now I can't have different
default fonts for the initial and the default frame.

Any help would be greatly appreciated

luis

-- 
Luis Octavio Silva Pereyra.
IIMAS-UNAM
Depto. de Métodos Matemáticos y Númericos
Apdo. postal 20-726
C.P. 01000 México, D.F.





reply via email to

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