First, download emacs for Windows with the following address
Emacs Official Download
Next, unzip and run the Addpm.exe in the Bin directory to add the GNU Emacs Boot entry to the Start menu.
Finally, configure the path, the default path under Windows 7 is c:\users\<username>\appdata\roaming, but this path is too covert, and in the C drive, the reload system is easy to lose, so give a better way:
Add the following code to the C:\users\<username>\appdata\roaming\.emacs file (if you do not have an. emacs file, you can first open emacs, then change the font, select the Save options, You can just save something that exists. in Emacs)
;; Redefine the home and PATH environment variables (setenv "Home" "F:/win_emacs") (setenv "path" "F:/win_emacs");; Set the default file load path (setq default-directory "~/");; Load the specified configuration file, note that the statement should be placed in the back;; Because the environment first needs the above statement initialization;; If you have a dependent environment in the loaded file, you must first initialize the environment (load-file "F:/win_emacs/.emacs")
Install GNU EMACS under WINDOWS 7