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:wxy0...@gmail.com]
Sent: Thursday, January 15, 2015 9:10 PM
To: matlab-emacs-discuss@lists.sourceforge.net
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
------------------------------------------------------------------------------
Dive into the World of Parallel Programming. The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Matlab-emacs-discuss mailing list
Matlab-emacs-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to