🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.soft-sys.matlab
Article #195

Help: matlab mode for emacs

#195
From: Yves Grenier
Date: Fri, 10 Oct 1997 00:00
26 lines
1549 bytes
I am trying to use matlab.el, version 1.10.1
I followed the instructions included in the file:

;; You may wish to add something like the following to your ~/.emacs file:
;;   (autoload 'matlab-mode "matlab" "Enter Matlab mode." t)
;;   (setq auto-mode-alist (cons '("\\.m$" . matlab-mode) auto-mode-alist))
;;   (defun my-matlab-mode-hook ()
;;     (setq matlab-indent-function t)	; if you want function bodies indented
;;     (setq fill-column 76)		; where auto-fill should wrap
;;     (turn-on-auto-fill))
;;   (setq matlab-mode-hook 'my-matlab-mode-hook)
;;   (autoload 'matlab-shell "matlab" "Interactive Matlab mode." t)
;;   (defun my-matlab-shell-mode-hook ()
;;	'())
;;   (setq matlab-mode-hook 'my-matlab-mode-hook)

However, when I open a .m file, I get the following message with emacs
version 19.34.1 (sparc-sun-solaris2.5, Xtoolkit):
File mode specification error: (wrong-type-argument listp "/grenier/lib/emacs")


Could anyone help me to solve the problem?
Thanks

Yves Grenier 
Technical Details
Message-ID: <61l883$4ph@enst.enst.fr>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 106e3f,72ddd4b587ab51ee,start
X-Google-Attributes: gid106e3f,public
X-Google-Thread: 103b8b,72ddd4b587ab51ee,start
X-Google-Attributes: gid103b8b,public
From: grenier@eagle.enst.fr (Yves Grenier)
Subject: Help: matlab mode for emacs
Date: 1997/10/10
Message-ID: <61l883$4ph@enst.enst.fr>
X-Deja-AN: 279204956
Sender: grenier@eagle (Yves Grenier)
Distribution: world
Organization: Telecom Paris - Dpt Signal
Newsgroups: comp.soft-sys.matlab,gnu.emacs.help