Hi Torben,

I tried reproducing the hang you implied, but I could not.  Maybe there are 
multiple lines from your script needed?

A good way to see what is going on is to use:

M-x toggle-debug-on-quite RET

and then repro the hang, and press C-g.

Re-toggle to disable since it is very annoying to leave on.

That stack will point at what the problem area is, and possible what additional 
data is needed to reproduce.

Thanks
Eric


From: Torben Knudsen [mailto:[email protected]]
Sent: Tuesday, October 14, 2014 3:29 AM
To: Eric Ludlam
Cc: [email protected]
Subject: Problem/bug matlab emacs mode ?

I am the happy user of matlab mode.  However, for some time I have
experienced a problem/bug.  When I edit a m-file and have matlab-shell
running emacs gets stuck and uses on full CPU when i pass strings
inside functions.  For example the below,

  y(i,:)= sum(x((1:r)+(i-1)*r,:))/r;

when the cursor pass x emacs use one full CPU until I enter ctrl-G
then the *MATLAB* buffer says

>> which xpsound
/usr/local/MATLAB/R2014a/toolbox/matlab/demos/xpsound.m
>>

if I then continue and pass r *MATLAB* says

>> which randnv
/home/tk/Matlab/MFiles/randnv.m
>>
>>

I use
>> version

ans =

8.3.0.532 (R2014a)

And also a path included above together with the m file I was
writing.

Any help is appreciated.

Associate Prof. Ph.D Torben Knudsen    Mobile    : (+45) 2787 9826
Section of Automation and Control,
Department of Electronic Systems,    Email    : 
[email protected]<mailto:[email protected]>
Aalborg University              Web    : es.aau.dk/staff/tk
Fredrik Bajersvej 7
DK-9220 Aalborg Ø
Denmark
------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Matlab-emacs-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matlab-emacs-discuss

Reply via email to