emacs-devel
[Top][All Lists]
Advanced

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

Re: Faces applies to new frames


From: Robert J. Chassell
Subject: Re: Faces applies to new frames
Date: Fri, 27 Jun 2008 12:17:48 +0000

        ... there is no `font' parameter in default-frame-alist ... 

    That does not matter so long as the initialization file is called late.

That may not be the case.  Both Stefan Monnier and Chong Yidong may be
right: we may need to write down every step and there may be more than
one bug.

When I call /usr/local/src/emacs/src/emacs -q -l ~/.emacs-simple on this
morning's CVS and my ~/.emacs-simple file has in it a 15 pixel
misc-fixed font:

    (setq initial-frame-alist
     '((font . "-misc-fixed-medium-r-normal--15-*-*-*-c-90-iso8859-1")))

    (setq default-frame-alist
     '((font . "-misc-fixed-medium-r-normal--15-*-*-*-c-90-iso8859-1")))

I see the fonts for two frames, but when I call the same command on a
~/.emacs-simple file that contains a 20 pixel misc-fixed font:

    (setq initial-frame-alist
     '((font . "-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1")))

    (setq default-frame-alist
     '((font . "-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1")))

the instance of Emacs reports

    frame-notice-user-settings: Font 
`-Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1' is not defined

and I cannot produce the second frame because of an error with
x-create-frame-with-faces even though

    xlsfonts -fn -Misc-Fixed-Medium-R-Normal--20-200-75-75-C-100-ISO8859-1
tells us
    -misc-fixed-medium-r-normal--20-200-75-75-c-100-iso8859-1

The latter is both with a ~/.Xdefaults saying

    Emacs.FontBackend:  x,ftx

and with it saying nothing.

-- 
    Robert J. Chassell                          GnuPG Key ID: 004B4AC8
    address@hidden                         address@hidden
    http://www.rattlesnake.com                  http://www.teak.cc




reply via email to

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