From: <xa...@gm...> - 2012-06-18 21:13:57
|
I've been struggling with getting matlab-emacs working for a bit now. I wonder if you'd mind trying to give me a hand sorting this out. The problems I"m having are that: 1) I can't seem to get matlab configuration options to work (MATLAB menu -> Configuration) gives an error Custom-mode: Symbol widget-mouse-face may not be buffer-local 2) I can't turn on the (matlab-cedet-setup) option: File error: Cannot open load file, semanticdb-search 3) the tab-completions don't work unless I include the command (setq matlab-shell-ask-MATLAB-for-completions nil) in my .emacs file. >> matlabMCRprocess = com.mathworks.jmi.MatlabMCR;matlabMCRprocess.mtFindAllTabCompletions('full'), clear('matlabMCRprocess'); ans = java.lang.String[]: 'full' 'fullfact' 'fullfile' >> >> I'm running OSX Lion with emacs GNU Emacs 23.4.1 (x86_64-apple-darwin11.3.0, NS apple-appkit-1138.32) of 2012-04-24 I've tried a number of configurations to install matlab-emacs correctly, this is the closest I've found, the following lines are added to my .emacs file: (add-to-list 'load-path "~/.emacs.d/site-lisp-backup/matlab-emacs") (load-library "matlab-load") ;; Enable CEDET feature support for MATLAB code. (Optional) ;(matlab-cedet-setup) (setq matlab-cont-level 2) (setq matlab-indent-level 2) (setq matlab-shell-ask-MATLAB-for-completions nil) I have built matlab-emacs from the latest cvs: revision number 1.39 I think, and it builds with only warnings. I placed cedet 1.0.1 into the ../cedet folder. Any help would be appreciated. I'd be nice to have autocomplete and mlint working. Cheers, Sandy Patterson |