From: Eric L. <Eri...@ma...> - 2009-09-15 20:44:31
|
Hi, The problem with you setup is the line: (add-to-list 'load-path "~/Projects/Tools/emacs/matlab/matlab.el") Which should be: (add-to-list 'load-path "~/Projects/Tools/emacs/matlab/") I know the readme says /path/to/matlab.el, but that means the path to the matlab.el file, not the matlab.el explicitly. I'll re-write that to be more clear. Eric From: Omid Khanmohamadi [mailto:om...@nu...] Sent: Tuesday, September 15, 2009 8:02 AM To: mat...@li... Subject: [Matlab-emacs-discuss] File error: Cannot open load file, cedet-matlab Hi everybody, First of all, I should thank Eric Ludlam and everyone else who's been working on matlab-emacs and CEDET projects. Emacs gives me the following error when I try to enable CEDET feature support for MATLAB File error: Cannot open load file, cedet-matlab This is the relevant section of my .emacs ;; --- CEDET --- (load-file "~/Projects/Tools/emacs/cedet/common/cedet.el") (global-ede-mode 1) ; Enable the Project management system (semantic-load-enable-code-helpers) ; Enable prototype help and smart completion (global-srecode-minor-mode 1) ; Enable template insertion menu ;; --- MATLAB --- ;; matlab-load.el file is a generated file without a 'provide' ;; statement (add-to-list 'load-path "~/Projects/Tools/emacs/matlab/matlab.el") (load-library "~/Projects/Tools/emacs/matlab/matlab-load.el") ;; Enable CEDET feature support for MATLAB code. (Optional) (matlab-cedet-setup) I'd appreciate it if someone could let me know what I'm missing here. (matlab-mode and shell work fine, of course.) Thanks, Omid |