ChucK users, here is the Emacs chuck-mode.el file.
I placed it in the ~/emacs/packages subdirectory.
The following lines are in my .emacs:
;;; ===============================
(setq load-path (append load-path (list
“~/emacs/packages”)))
(setq auto-mode-alist (cons '(”\.ck” .
chuck-mode) auto-mode-alist))
(autoload 'chuck-mode “chuck-mode” “ChucK
editing mode” t )
;;; ===============================
In chuck-mode.el I changed the following as requested as I am
running
under Fedora Core 3 and my executable is located in /usr/bin:
;;; CHANGE THIS to something that fits your system!!!
(defvar chuck-exec “/usr/bin/chuck”)
Here is a Python script to create
newrec.ck because
rec2.ck is not available in the Dracula version of ChucK. This
will be here
until a rec2.ck is available in the distro as it is merely a
q&d workaround.