Menu

Home

Vincent Rowley

Get the Project Files

In order to get the setup files, execute the following command from your home directory:

svn checkout http://svn.code.sf.net/p/pcconfig/code/trunk pcconfig

Your home directory is the location where you save your documents. This also assumes that an SVN client is available on your system.

Emacs

Installation on Windows

Get Emacs

Emacs for Windows can be found at http://ftp.gnu.org/gnu/emacs/windows .

We tested http://ftp.gnu.org/gnu/emacs/windows/emacs-23.4-bin-i386.zip .

Install Emacs

  1. Unzip the file to c:\apps\emacs . After this step, the c:\apps\emacs directory should contain a directory called emacs-\<emacs version> (for instance emacs-23.4).

  2. Execute the addpm.exe application that can be found in the bin directory of the emacs installation directory (for instance C:\apps\emacs\emacs-23.4\bin\addpm.exe). This will add emacs to your Windows start menu.

Set the HOME Environment Variable

In order for emacs to associate ~ to your home directory, define the HOME environment to point to the location of your home directory. The home directory should be where you checked out the pcconfig files.

Under Windows, environment variables can be defined using the Environment Variables dialog that can be accessed from the Advanced tab of the System Properties dialog. The System Properties dialog can be accessed from the Windows Control Panel.

It is suggested to define the HOME variable in a user variable as opposed to a system variable (top section of the Environment Variables dialog).

Spelling Checking

Spelling checking in emacs generally requires Ispell. Under Windows, it is generally easier to install GNU Aspell which is what is suggested here.

Install the GNU Aspell application (http://ftp.gnu.org/gnu/aspell/w32/Aspell-0-50-3-3-Setup.exe) and the dictionary of your choice (English in our case, http://ftp.gnu.org/gnu/aspell/w32/Aspell-en-0.50-2-3.exe) under c:\apps .

With more recent versions of emacs, Ispell is not longer supported. Hunspell is a good replacement. We have installed hunspell-1.3.2-3-w32-bin.zip from https://sourceforge.net/projects/ezwinports/files .

Emacs Configuration File (.emacs)

Linux/Unix

Link ~/.emacs to ~/pcconfig/emacs/unix/.emacs .

% ln -s ~/pcconfig/emacs/unix/.emacs .emacs

Windows

Copy the pcconfig\emacs\xp\.emacs to your HOME directory.

Project Admins: