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

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

[h-e-w] font problem


From: joe lee
Subject: [h-e-w] font problem
Date: Wed, 30 Jan 2002 10:45:48 +0900

elidaniellast time i realy copy the example in the 
http://www.gnu.org/software/emacs/windows/ it should to be changed.
this time i try to change my .emacs in the two way you give me,it seems that 
this time no error with backquote,
but unfortunately , i meet another error reported when starting

An error has occurred while loading `e:/cygwin/leehome/.emacs':
error: "No fonts match `THE FONT NAME WHATEVEV I USE '"

i had try a few kinds of font such as 
latin-iso8859-2:-*-Courier New-normal-r-*-*-12-*-*-*-c-*-iso8859-2
-*-Courier New-normal-r-*-*-12-*-*-*-c-*-fontset-most
japanese-jisx0208-1978:-*-MS Gothic-normal-r-*-*-12-*-*-*-c-*-jisx0208-sjis
chinese-gb2312:-*-MS Song-normal-r-*-*-12-*-*-*-c-*-gb2312-*
emacs 21.1 always report the same error above,
but i do download the emacs from ftp.gnu.org , and it can display chinese font 
even with some bugs,
does it realy "No fonts match " , and do i  other files to be download?
or can you be so kindly to check the example you give me.
thank you very much !


joe lee
address@hidden
NTT ELECTRONICS
TOKYO  JAPAN
tel:  +81 46 2353756(my extension telephone 95 529)
fax: +81 46 2363250
> This is just an elisp error.  If the example you give is really in the FAQ,
> it needs to be changed.
> 
> The problem is that you can't evaluate functions inside a quoted list.  The
> simplest way to get this to work is to use the backtick operator:
> 
> (setq default-frame-alist
>       (append
>        `((font . ,(create-fontset-from-ascii-font "chinese-gb2312:-*-MS
> Song-normal-r-*-*-12-*-*-*-c-*-gb2312-*")))
>        default-frame-alist))(add-to-list 'default-frame-alist
> 
> Or more simply,
> 
> (add-to-list 'default-frame-alist
>              `((font . ,(create-fontset-from-ascii-font
> "chinese-gb2312:-*-MS Song-normal-r-*-*-12-*-*-*-c-*-gb2312-*"))))
> 
> The elisp manual has a detailed explanation of how this works (under
> backtick) if you're interested.
> 
> -Eli Daniel


reply via email to

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