This directory contains Olin Shiver's comint package (file: comint.el) and
some customatization for Elf (file: elf.el) (major modes and inferior program
modes).  See those files for further documentation, or type C-h m in Elf mode
or inferior Elf mode.

To use the Elf mode effectively, put into your .emacs file:

;; FOR YOUR .EMACS FILE
;;=============================================================================

(setq load-path (cons "/afs/cs/project/ergo/misc/lib/emacs" load-path))

(autoload 'elf "elf" "Run an inferior Elf process." t)
(autoload 'elf-mode "elf" "Major mode for editing Elf source." t)

; Files ending in ".elf" are Elf source, so put their buffers in elf-mode.
(setq auto-mode-alist
      (cons '("\\.elf$" . elf-mode) (cons '("\\.quy$" . elf-mode)
	    auto-mode-alist)))

; The location of the binary
(setq elf-program-name "/afs/cs/project/ergo/misc/bin/elfsml")

(setq elf-load-hook
 '((lambda ()
    (define-key inferior-elf-mode-map "\M-\t"
		'comint-replace-by-expanded-filename)
    (define-key inferior-elf-mode-map "\M-?"
		'comint-dynamic-list-completions))))
