From owner-bug-octave at bevo dot che dot wisc dot edu Tue Nov 7 15:58:21 1995 Subject: octave-mode.el for emacs From: Heber Farnsworth To: bug-octave at che dot utexas dot edu Date: Tue, 7 Nov 1995 13:58:24 -0800 (PST) This may be a dumb question. I loaded octave-mode.el in my site.lisp directory right where matlab-mode.el is. I put the lines (autoload 'octave-mode "octave-mode" "Enter Octave mode." t) (setq auto-mode-alist (cons '("\\.m$" . octave-mode) auto-mode-alist)) (defun my-octave-mode-hook () (setq fill-column 76) (turn-on-auto-fill)) (setq octave-mode-hook 'my-octave-mode-hook) in my .emacs file but when I try to enter octave mode (either with M-x or by finding a dot-m file) I get the message "Autoloading failed to define function octave-mode". I can get into matlab mode just fine with lines very similar to the above except with octave replaced by matlab. I'm running emacs 19.29 on a DECstation with Ultrix 4.4 if that matters. Heber Farnsworth | Department of Finance Univerity of Washington | Box 353200 tele: (206) 528-0793 home | Seattle, WA 98195-3200 tele: (206) 543-4773 finance web: http://weber.u.washington.edu/~heberf fax: (206) 685-9392 email: heberf at u dot washington dot edu