Instructions for running hugs within emacs ========================================== (1) Start emacs running: (on ATN machines) choose Start menu, then UNC courseware, then COMP 15, then emacs (on own PC) choose Start menu, then GNU Emacs, then emacs (2) Identify the file you are going to work on, by loading it into emacs. The file need not exist yet. To do load the file: (a) under "Files" menu of emacs, select "Open file" (b) on the last line of the emacs window, edit the suggested location for the file from C:\Program Files\emacs-20\bin to something suitable like H:\program.hs (on ATN machines) or D:\program.hs (on your own PC). (It is important to use the .hs extension on the filename) To edit the file name, use the delete key to erase characters in the suggested name, then type the correct name. (3) Type in (or edit, if the file already exists) your script. (4) Load the script into hugs under the "Hugs" menu of emacs, choose "load File into Hugs" (5) Bring up the hugs window under the "Hugs" menu of emacs, choose "Show 'hugs-process' buffer. (6) Check for errors reported by hugs and then type expressions into the hugs window to try out your program.