From: Eric L. <Eri...@ma...> - 2013-03-29 14:10:39
|
From: Mann [mailto:x6...@ya...] Sent: Friday, March 29, 2013 9:04 AM To: mat...@li... Subject: [Matlab-emacs-discuss] (no subject) I recently downloaded the matlab-mode and really loved every aspect of it except for one thing: the code completion does not work when editing a .m file. It only works when in the matlab shell mode. Is that what it is supposed to behave? If not, can someone help me solve this problem? Hi, The shell code completion works by asking MATLAB what the completions are. This gives you a really vast ability to complete. Completion in the shell has a hard-coded list of constants to complete with. See all the variables that start with `matlab-keywords-'. For matlab-mode, you can also install the CEDET extra for matlab-mode. This has a primitive parser that will complete your symbols, find variables, and a few other tricks I don't recall. It will probably hit to 70% accuracy for you. Good Luck Eric |