How to set up Emacs on Windows
Just so I have it documented somewhere for future reference, here’s how to quickly set GNU Emacs up on Windows.
- Download it from http://ftp.gnu.org/gnu/emacs/windows/
Unzip it to, say, C:emacs or something like that
Set the environment variable HOME to C:emacs and include C:emacsbin to the PATH
If you want to have a “Open with _G_NU Emacs” option on the context menu, just create a registry file (call it emacs.reg or whatever.reg) with the contents below and double-click it to import it into the registry.
@=“Open with &GNU; Emacs”
Et voilà! As well, for my preferred colour scheme, we need to use color-theme from http://www.nongnu.org/color-theme/ and set it up in your .emacs file:
(add-to-list 'load-path "c:/emacs/.emacs.d") (require 'color-theme) (color-theme-initialize) (when (display-graphic-p) (color-theme-subtle-hacker)