Install GNU EMACS under WINDOWS 7

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.