Download location: ftp://ftp.gnu.org/gnu/emacs/windows/
Configuration: There are many configuration files online. The configuration file name is. emacs, in the path c: \ Users \ *** (username) \ appdata \ roaming, can be directly modified in this file without the need to modify the registry, so it is troublesome to get environment variables.
At the beginning, my Emacs was set to the courier new font. However, Chinese characters were a bit garbled. Later, I found a configuration file on the Internet. The Chinese language seemed to be, then, Courier New is used in English. The configuration file still cannot be understood, but you can use it directly.
; Microsoft jhenghei//
; (Set-fontset-font "fontset-Default"
; 'Gb18030' ("Microsoft yahei". "Unicode-BMP "))
; The font size can be changed through attributes, such as: pixelsize = 18: Foundry = monotype: Weight = medium: Slant = I: width = normal
; The font information can be obtained through M-x describe-Char.
(If (EQ system-type 'windows-NT)
(Set-default-font "Courier New ")
(Set-default-font "bitstream Vera sans mono "))
; (Set-default-font "yahei consolas hybrid-16 ")
; It seems that I don't know gb2312
; (Set-fontset-font "fontset-Default" 'gb2312' ("Microsoft yahei". "Unicode-BMP "))
(Set-fontset-font "fontset-Default" 'han' ("Microsoft yahei". "Unicode-BMP "))
; (Frame-parameter nil 'font) obtains the settings of fontset-default.
(Set-fontset-font (frame-parameter nil 'font)
'Cjk-misc' ("Microsoft yahei". "Unicode-BMP "))
(Set-fontset-font (frame-parameter nil 'font)
'Bomofo' ("Microsoft yahei". "Unicode-BMP "))
(Set-fontset-font "fontset-Default"
'Gb18030' ("Microsoft yahei". "Unicode-BMP "))
(Set-fontset-font (frame-parameter nil 'font)
'Symbol' ("Microsoft yahei". "Unicode-BMP "))
----------------------------------
According to the above settings, the font is a little too large, so I found another configuration file, as shown below:
;-*-Mode: Lisp-interaction; coding: UTF-8 ;-*-
(Set-default-font "Courier New: pixelsize = 14 ")
(Set-fontset-font (frame-parameter nil 'font)
'Han (font-spec: Family "simsun": Size 14 ))
(Set-fontset-font (frame-parameter nil 'font)
'Symbol (font-spec: Family "simsun": Size 14 ))
(Set-fontset-font (frame-parameter nil 'font)
'Cjk-MISC (font-spec: Family "simsun": Size 14 ))
(Set-fontset-font (frame-parameter nil 'font)
'Bopomofo (font-spec: Family "simsun": Size 14 ))