Installation and configuration of Emacs under Windows

Source: Internet
Author: User

1. Download
To this URL can be downloaded to the Windows version of Emacs: http://ftp.gnu.org/pub/gnu/emacs/windows/
Only one compressed document is required, such as Emacs-23.2-bin-i386.zip

2. Installation
In the D packing directory to create a new folder, named Emacs23.2 (also can be other paths, depending on personal preferences), Emacs-23.2-bin-i386.zip files extracted into this directory, so in D:\Emacs23.2\ bin, TEC, Info, Leim, Lisp, Site-lisp and other directories.

Double-click on the Addpm.exe in the Bin folder to install, the GNU Emacs\emacs link will be generated from the Start menu and click this link to activate Emacs. You can also double-click the Runemacs.exe in the Bin folder to start. Note that there is another file in the bin directory that is Emacs.exe, and it can be started by double-clicking it, but a console window will appear.

3. Modify the Registration Form
Open the registry, locate Hkey_local_machine\software\gnu\emacs (if not, add the item manually), add the string value under this key, and the name is home, and the value is D:\Emacs23.2. The goal is to make D:\Emacs23.2 the home path of Emacs (the legendary Home path, where you will often see "home directories", "Home directory", and so on).

4. Create the. EMACS.D directory and the. emacs File
Believing that the. emacs.d directory and. Emacs files are a long-lasting problem, there is an easy way to solve this problem. Start Emacs (Note: Win7 system needs to right-click "Run as Administrator"), click on the Options menu with the mouse, click on the one or two option, such as click on active region highlighting, then click on Save Options. Don't worry about what you're going to spoil, so the goal is to have Emacs create the. EMACS.D directory and the. emacs file Automatically! Observing the last line of your Emacs window, do you see "wrote D:/emacs23.2/.emacs"? If that's right, when you choose the Save options, Emacs generates the. emacs file under the home path and writes the configuration information into this file. These two files will be generated under the D:\Emacs23.2\ directory. (Note: The Windows environment can change ". Emacs" to "_emacs")

From:http://www.cnblogs.com/felixlee/archive/2011/01/21/2412620.html

Installation and configuration of Emacs under Windows

Related Article

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.