- I wanted emacs in
C:\Program Files (x86)\emacs, so I created that folder first
- Go here to get the latest emacs version. I got
- Unzip that file and dump its contents into
C:\Program Files (x86)\emacs
- In Windows Explorer, open
C:\Program Files (x86)\emacs\bin, then double click on
- Yay! You have emacs running. You may wish to add
runemacs.exeto your Start menu (drag and drop it there)
.emacs.d. But where to place it? If you follow Art Lee's instruction step 6, you can control where you want to place those files using the
HOMEEnvironment Variable (set in the Windows Control Panel).
On the other hand, why bother? Especially if you are not running emacs as an administrator. By default, the
HOMEwill apparently be set as
C:\Users\your_user_name\AppData\Roaminganyway, so copy
.emacs.dinto that directory.
Unfortunately for me, coming from Ubuntu, I had ColorTheme installed via apt-get, so it wasn't contained in my
.emacs.d. I have to reinstall that now...
- Create this folder
C:\Users\your_user_name\AppData\Roaming\.emacs.d\color-theme-6.6.0(change or remove the version number as you like)
- Go to color-theme homepage and get the latest. I got
- Unzip and dump the file
color-theme.eland the folder
themesinto the folder you created in step 1
- As per the references for ColorTheme and emacs Load Path, add the following to your
.emacs(you may have to strip out any previous color theme settings yourself):
(let ((default-directory "~/.emacs.d/color-theme-6.6.0/"))
(color-theme-pok-wob) ;; "White on Black" theme
Quick note about the theme setting. I used to have:
(custom-set-variables '(color-theme-selection "White On Black" nil (color-theme)))
But that doesn't work for whatever reason. To find the correct function name to set the theme, fire up emacs, do
M-x color-theme-select, scroll the cursor down to the theme you want and press
I'm not sure if this works or not with the ColorTheme as installed via apt-get'ing emacs-goodies-el in Ubuntu, but it worked for me in Windows 7.