"Eric M. Ludlam" <eric@...> writes:
> Thanks for reminding me that I had fixes for that. I checked them
Thanks. It still didn't really work for me since
semantic-matlab-match-function-re assumes that return values are in
square brackets, which I usually omit if there's only one return
value. I changed it to
which seems to cover at least the following function definitions:
function [a,b] = test1(foo,bar)
function [a] = test2(foo)
function a = test3(foo)
function a = test4
I still cannot get completion to work across different files though, but
I guess this is somehow a configuration error on my part? I don't use
EDE for now but simply set semanticdb-project-roots to the directory
containing my Matlab files. I can complete functions which are defined
in the currently visited buffer, but not from functions in the other
BTW, I also get the following error due to the default value of
(file-error "Opening output file" "no such file or directory"
Not sure if this is just to let me know that the tags are saved
elsewhere, but I created ~/.semanticdb now, just to be sure.
> The semantic-matlab parsing stuff will likely move out of the CEDET
> distribution (it is not a part of the distribution) to the
> http://matlab-emacs.sf.net project, which is where I keep my Matlab
> specific stuff.
Yes, I'm using matlab.el from CVS.
> I have quite a bit I need to do for the Matlab support in Emacs in
> general, such as dealing with the new object system, but that is tied
> to my work, as opposed to my home project which is CEDET, and I'm
> pretty busy when I'm at work these days. (I work at The MathWorks in
I haven't looked at the new object system yet since I'm still using
Matlab 7.4. I'm working a lot with the current object system with the
awkward @-directories, which I guess isn't really parseable? However, I
was working with etags so far for my Matlab need (see
http://www.physik3.gwdg.de/~engster/matlab-tags.html) and it would be
great if I could replace it with CEDET.