Installing Emacs
Currently, all the links to
download the windows version of Emacs do not work. As I don't use
windows very much any more, I don't think I'll update the instructions
below. However, I will leave them as they stand because they may be
of use to someone.
At any rate, all the emacs instructions are still valuable as they
work on Linux as well as windows. Those instructions will be updated
whenever they need to be.
Table of Contents:
- Go to "https://www.ourcomments.org/cgi-bin/emacsw32-dl-latest.pl"
- Download the latest patched emacs by clicking on "Download latest
EmacsW32+Emacs patched". Save it to the desktop or a place that's
easy to find.
- Double-click on the file that was downloaded above. You should
see something similar to that below. Click Next.
- Click on "I accept the agreement". Click Next.
- Read the Information if you want. The important thing to
understant is that this is installing the latest Gnu Emacs
version (the one in CVS) compiled for windows. It is not an
official GNU release, but it does have the latest features for
windows. Click on Next.
- The default is sufficient. Click Next.
- Do a full installation for the good stuff.... Click Next.
- The installer asks if you want to install for all users or just
yourself. Choose whatever you want...
- I would not suggest that you change file associations. You may
regret it later if you do... Click "Thank you, I will skip this
section", and then click on Next.
- The default should be fine. Click Next.
- We're ready to go!!!! Click Next.
- Now we wait...
- It's Done. You can click on Start Emacs with Emacsw32 Options
page to set some additional settings to Emacs to make it more like
your experience with other windows editors. You're done now with
the installing!
This step depends on your system. Follow the steps for your system
below:
Windows 95/98/ME
- Open up the file c:\autoexec.bat in notepad.
Double-click does not edit the file, but rather execute the file.
The easiest way to do is to first run notepad, then open the file.
Add the following line (or edit the line):
set HOME=C:\
- Note that some systems do not like long filenames. If you
determine that yours does not, then replace "program files"
with "progra~1".
Windows 2000/XP
- Right click on the "My Compter" icon, and select
Properties. Click on the Advanced tab.
- Click on Environmental variables. You should see:
- You should create (or edit) the following user variable:
- Create the HOME variable with the value c:\
- Installation of Emacs is now complete. Now you can proceed to
Integrating Emacs and R.
Windows Vista
- Windows Vista has a problem installing the .emacs (or _emacs)
file to the root directory (C:\) (It doesn't let you edit it once
it is there). Choose a different directory as the home directory.
One suggestion would be "C:\Users"
- Follow the directions for Windows XP above and create the HOME
variable with the value c:\Users\
- Installation of Emacs is now complete. Now you can proceed to Integrating Emacs and R