From: Eric L. <Eri...@ma...> - 2012-06-20 19:44:39
|
Hi, I'm not sure about the bug with custom mode. That just looks like an important face is missing. Did you override (or have old versions of) custom or widget libraries? For CEDET setup, if you use the version of CEDET that comes with Emacs, the matlab setup hasn't been updated to use that yet. There are dependencies on features in CEDET 1.1 which uses different file names. When CEDET 1.1 is integrated into Emacs 24, I will need to go back and fix the require statements in the CEDET support in matlab mode. For completion, the output you quoted implies that there is an erroneous line breaks in the output string. Look at 'matlab-shell-completion-list', to see how it builds the command, and make sure there aren't any stray line breaks in the strings. Perhaps there was a download problem. Eric -----Original Message----- From: xa...@gm... [mailto:xa...@gm...] Sent: Monday, June 18, 2012 5:14 PM To: mat...@li... Subject: [Matlab-emacs-discuss] matlab-emacs configuration questions 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 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Matlab-emacs-discuss mailing list Mat...@li... https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss |