Setting up Emacs for use with PLT Scheme on Windows or Mac OS X*

Emacs is the preferred Scheme source code editor for many experienced PLT Scheme developers; however, it is not easy for an Emacs neophyte to get an Emacs environment set up and configured properly for Scheme development. The problem is compounded if the development platform is Microsoft Windows since Unix (and variants) is the more common platform used by experienced Scheme developers. In order to help a Scheme beginner set up an Emacs Scheme development environment on a Microsoft Windows PC, this page will lay out step-by-step instructions for installing all the necessary components. It will also cover how these instructions can be adapted for use with Mac OS X.

By exactly following the installation instructions, the user will wind up with an Emacs setup that:

Contents

The following steps will be covered:

  1. Installing Emacs
  2. Installing additional Emacs utilities
  3. Installing on-line documentation (optional)
  4. Installing PLT Scheme
  5. Configuration steps
  6. Testing the setup

There is also a short appendix describing the sample .emacs file and brief Mac OS X setup instructions:
   A.    Sample .emacs file
   B.    Mac OS X Setup Instructions

For each installation step, an installation directory is suggested. It is recommended that you install in the suggested directory since, if you use the suggested directory names, the provided Emacs start-up file (.emacs) will work "out-of-the-box". Please note the following:

1. Installing Emacs

2. Installing additional Emacs utilities

3. Installing on-line documentation (optional)

4. Installing PLT Scheme

5. Configuration steps

6. Testing the setup

You should now have a working Windows/Emacs/Scheme setup.

A. Sample .emacs file

B. Mac OS X Setup Instructions

Note: These instructions were created by Bill Clementson. Some more information about the command keys is available on my weblog. If you are using Emacs and Scheme, you might find some of my other weblog postings useful too (use the search bar). If you want to contact me regarding these instructions or any problems you encounter using them, my email link is available on the weblog page. Thanks to Rich Talley for picking up some errors and suggesting some improvements.