Thread View: comp.soft-sys.matlab
2 messages
2 total messages
Started by Yves Grenier
Fri, 10 Oct 1997 00:00
Help: matlab mode for emacs
Author: Yves Grenier
Date: Fri, 10 Oct 1997 00:00
Date: Fri, 10 Oct 1997 00:00
26 lines
1549 bytes
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
Re: Help: matlab mode for emacs
Author: Kai Grossjohann
Date: Fri, 10 Oct 1997 00:00
Date: Fri, 10 Oct 1997 00:00
16 lines
1091 bytes
1091 bytes
>>>>> On 10 Oct 1997, Yves Grenier said:
Yves> File mode specification error: (wrong-type-argument listp
"/grenier/lib/emacs")
You have set load-path to a string. Use the following statement
instead to add a directory to the load path:
;; Emacs 20 only alert!
;; Warning: untested code ahead!
(add-to-list 'load-path "/grenier/lib/emacs")
kai
--
~/.signature: No such file or directory
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads