From: Xiaoyu W. <wx...@gm...> - 2015-02-02 14:25:01
|
Thank you very much Eric for the thorough and helpful explanation! Jacob On Sat, Jan 31, 2015 at 3:56 AM, Eric Ludlam <Eri...@ma...> wrote: > ECB will try to use ‘imenu’ to show tags in the list of tags buffer if > the CEDET/Semantic tools aren’t installed/on by default. The imenu > version as far as I remember only shows the names, not the prototype > information. > > > > You will need to follow the readme on getting the CEDET tools installed to > get that extra data available in ECB. That is the same feature set that > gets the dividing lines over functions to draw. When you enable those > tools you will have a bunch of other random options you will need to decide > if you want enabled. For example `semantic-decoration-mode’ draws the > lines over functions. > > > > As long as there is still an ‘mlint’ executable with your MATLAB, you > should be ok. I looked at checkcode briefly, and it looks like it isn’t a > standalone program, so I don’t have a good way to query it at this time. > > > > Eric > > > > *From:* Xiaoyu Wei [mailto:wx...@gm...] > *Sent:* Thursday, January 15, 2015 9:10 PM > *To:* mat...@li... > *Subject:* [Matlab-emacs-discuss] Problem Configuring matlab-mode with > CEDET+matlab-shell+ECB+mlint > > > > Hi, > > It may not be the proper question to ask here. But basically I am trying > to get my environment set up like this: > > > http://blogs.mathworks.com/images/desktop/eric_ludlam_matlab_and_emacs/matlab-ecb.jpg > > Somehow I got everything to work, except for two things: > > 1. In W-2 frame, I can't see full declaration of functions. Instead, I > get simply "func" for "function func ( x, y) ", and what's worse, "p" for > "function p=func( x, y )". > > 2. I can't get the lines dividing functions (as shown in the picture > above). > > Do you guys have any ideas how I can fix these? > > In addition, according to > http://www.mathworks.com/help/matlab/ref/mlint.html, mlint is not > recommended and it is suggested to use checkcode instead. Will this be a > problem? > > Thanks in advance! > > Jacob > |