next up previous
Next: Changes from version 1.0 Up: User's Manual for Psd Previous: Customizing the Emacs Interface

Installing Psd

As mentioned, you need the cmuscheme package for GNU Emacs in order to use psd. There is a version of cmuscheme.el along with comint.el in the psd distribution, but be warned that they may be a bit dated. For Emacs version 19 you only need cmuscheme.el, the comint package has been integrated into Emacs. If you do not have cmuscheme, Emacs will give an error message saying it can not find the file cmuscheme when you load psd.el. The following files need special care:

*.scm
are the Scheme files that psd needs. Copy them to some suitable place.

psd.el
is the Emacs interface. Copy it to a directory that is mentioned in the Emacs variable load-path You can check the value of load-path by typing load-path LFD (subsitute control-J for LFD if you do not have a line feed key) in the Emacs *scratch* buffer. To make psd autoloadable, put the the following in your .emacs or the global default.el:

  (autoload 'psd-mode
            "psd"
            "Minor mode for running psd (the Portable Scheme Debugger) 
in a cmuscheme buffer."
            t)

If you want to add a directory in your load path, put something like the following in your .emacs:

  (setq load-path (cons "~/elisp" load-path))

cmuscheme.el
is needed, if Emacs complains it can not find it. Copy it to the same place you copied psd.el.

comint.el
is needed only with GNU Emacs version 18. Copy it to the same place as cmuscheme.el, if needed.

Note: if you already have psd 1.0 installed, make sure that you remove at least the file psd-elk.scm from /usr/local/lib/psd, or wherever you have psd. It is generally a good idea to wipe out the old distribution before installing a new one, so you might just as well remove all the old psd files.


next up previous
Next: Changes from version 1.0 Up: User's Manual for Psd Previous: Customizing the Emacs Interface

Gary T. Leavens
8/19/1997