You can subscribe to this list here.
2005 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}
(3) 

2006 
_{Jan}

_{Feb}
(5) 
_{Mar}

_{Apr}

_{May}

_{Jun}
(1) 
_{Jul}

_{Aug}

_{Sep}

_{Oct}
(1) 
_{Nov}

_{Dec}

2007 
_{Jan}

_{Feb}

_{Mar}
(1) 
_{Apr}

_{May}

_{Jun}

_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

2008 
_{Jan}

_{Feb}

_{Mar}

_{Apr}

_{May}
(9) 
_{Jun}
(1) 
_{Jul}
(1) 
_{Aug}
(3) 
_{Sep}
(1) 
_{Oct}

_{Nov}
(1) 
_{Dec}

2009 
_{Jan}

_{Feb}
(4) 
_{Mar}

_{Apr}

_{May}
(2) 
_{Jun}
(1) 
_{Jul}
(7) 
_{Aug}
(1) 
_{Sep}
(5) 
_{Oct}

_{Nov}
(6) 
_{Dec}
(3) 
2010 
_{Jan}

_{Feb}
(10) 
_{Mar}
(12) 
_{Apr}
(13) 
_{May}
(2) 
_{Jun}
(4) 
_{Jul}
(4) 
_{Aug}
(4) 
_{Sep}

_{Oct}
(4) 
_{Nov}
(2) 
_{Dec}
(4) 
2011 
_{Jan}
(11) 
_{Feb}

_{Mar}
(18) 
_{Apr}

_{May}
(1) 
_{Jun}
(12) 
_{Jul}
(10) 
_{Aug}
(4) 
_{Sep}
(4) 
_{Oct}
(5) 
_{Nov}

_{Dec}
(10) 
2012 
_{Jan}
(4) 
_{Feb}
(26) 
_{Mar}

_{Apr}
(1) 
_{May}

_{Jun}
(8) 
_{Jul}
(3) 
_{Aug}
(1) 
_{Sep}

_{Oct}
(14) 
_{Nov}
(1) 
_{Dec}
(2) 
2013 
_{Jan}
(5) 
_{Feb}
(2) 
_{Mar}
(2) 
_{Apr}
(5) 
_{May}
(3) 
_{Jun}

_{Jul}
(8) 
_{Aug}
(4) 
_{Sep}

_{Oct}
(7) 
_{Nov}
(2) 
_{Dec}
(7) 
2014 
_{Jan}
(14) 
_{Feb}

_{Mar}
(6) 
_{Apr}

_{May}
(3) 
_{Jun}
(2) 
_{Jul}
(4) 
_{Aug}
(3) 
_{Sep}
(7) 
_{Oct}
(9) 
_{Nov}
(9) 
_{Dec}
(5) 
2015 
_{Jan}
(2) 
_{Feb}
(1) 
_{Mar}

_{Apr}
(2) 
_{May}
(1) 
_{Jun}
(10) 
_{Jul}

_{Aug}

_{Sep}

_{Oct}

_{Nov}

_{Dec}

From: Daniels, Troy (US) <troy.daniels@ba...>  20150625 15:00:09

I was referring to saveddefaultdirectory, not default directory. Troy From: Uwe Brauer [mailto:oub@...] Sent: Thursday, June 25, 2015 10:52 AM To: Daniels, Troy (US) Cc: matlabemacsdiscuss@... Subject: Re: [Matlabemacsdiscuss] partial solution On 06/25/2015 04:47 PM, Daniels, Troy (US) wrote: The only change that I would make is: (defun mymatlabswitchandsavedefaultdirectory () (interactive) (let ((saveddefaultdirectory defaultdirectory)) (switchtobuffer "*MATLAB*") (setq defaultdirectory saveddefaultdirectory))) By using let, you don't permanently change the value of the variable (if it already existed for some other code) and you don't add a new variable if it didn't. right, however defaultdirectory, is overwritten everytime you open a new buffer. so this setting is anyhow temporal. Uwe Troy Original Message From: Uwe Brauer [mailto:oub@...] Sent: Thursday, June 25, 2015 5:35 AM To: matlabemacs Subject: [Matlabemacsdiscuss] partial solution *** WARNING *** This message originates from outside our organization, either from an external partner or the internet. Consider carefully whether you should click on any links, open any attachments or reply. For additional information about Spearphishing, click here <http://intranet.ent.baesystems.com/howwework/security/spotlights/Pages/SpearphishingTips.aspx><http://intranet.ent.baesystems.com/howwework/security/spotlights/Pages/SpearphishingTips.aspx>;. If you feel the email is suspicious, please follow this process. <http://intranet.ent.baesystems.com/howwework/security/spotlights/Documents/Dealing%20With%20Suspicious%20Emails.pdf><http://intranet.ent.baesystems.com/howwework/security/spotlights/Documents/Dealing%20With%20Suspicious%20Emails.pdf>; Hello To answer my own question, the following hack does what I want: (defun mymatlabswitchandsavedefaultdirectory () (interactive) (setq saveddefaultdirectory defaultdirectory) (switchtobuffer "*MATLAB*") (setq defaultdirectory saveddefaultdirectory)) Maybe somebody with real lips skills could improve the code. regards Uwe Brauer  Monitor 25 network devices or servers for free with OpManager! OpManager is webbased network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Matlabemacsdiscuss mailing list Matlabemacsdiscuss@...<mailto:Matlabemacsdiscuss@...> https://lists.sourceforge.net/lists/listinfo/matlabemacsdiscuss 
From: Uwe Brauer <oub@ma...>  20150625 14:51:59

<html> <head> <meta content="text/html; charset=ISO88591" httpequiv="ContentType"> </head> <body text="#000000" bgcolor="#FFFFFF"> <div class="mozciteprefix">On 06/25/2015 04:47 PM, Daniels, Troy (US) wrote:<br> </div> <blockquote cite="mid:558c147f.5b18370a.1d88d.2d9cSMTPIN_ADDED_MISSING@..." type="cite"> <pre wrap="">The only change that I would make is: (defun mymatlabswitchandsavedefaultdirectory () (interactive) (let ((saveddefaultdirectory defaultdirectory)) (switchtobuffer "*MATLAB*") (setq defaultdirectory saveddefaultdirectory))) By using let, you don't permanently change the value of the variable (if it already existed for some other code) and you don't add a new variable if it didn't.</pre> </blockquote> <br> right, however defaultdirectory, is overwritten everytime you open a new buffer.<br> so this setting is anyhow temporal.<br> <br> Uwe<br> <blockquote cite="mid:558c147f.5b18370a.1d88d.2d9cSMTPIN_ADDED_MISSING@..." type="cite"> <pre wrap=""> Troy Original Message From: Uwe Brauer [<a class="moztxtlinkfreetext" href="mailto:oub@...">mailto:oub@...</a>] Sent: Thursday, June 25, 2015 5:35 AM To: matlabemacs Subject: [Matlabemacsdiscuss] partial solution *** WARNING *** This message originates from outside our organization, either from an external partner or the internet. Consider carefully whether you should click on any links, open any attachments or reply. For additional information about Spearphishing, click here <a class="moztxtlinkrfc2396E" href="http://intranet.ent.baesystems.com/howwework/security/spotlights/Pages/SpearphishingTips.aspx"><http://intranet.ent.baesystems.com/howwework/security/spotlights/Pages/SpearphishingTips.aspx></a>;. If you feel the email is suspicious, please follow this process. <a class="moztxtlinkrfc2396E" href="http://intranet.ent.baesystems.com/howwework/security/spotlights/Documents/Dealing%20With%20Suspicious%20Emails.pdf"><http://intranet.ent.baesystems.com/howwework/security/spotlights/Documents/Dealing%20With%20Suspicious%20Emails.pdf></a>; Hello To answer my own question, the following hack does what I want: (defun mymatlabswitchandsavedefaultdirectory () (interactive) (setq saveddefaultdirectory defaultdirectory) (switchtobuffer "*MATLAB*") (setq defaultdirectory saveddefaultdirectory)) Maybe somebody with real lips skills could improve the code. regards Uwe Brauer  Monitor 25 network devices or servers for free with OpManager! OpManager is webbased network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now <a class="moztxtlinkfreetext" href="http://ad.doubleclick.net/ddm/clk/292181274;119417398;o">http://ad.doubleclick.net/ddm/clk/292181274;119417398;o</a>; _______________________________________________ Matlabemacsdiscuss mailing list <a class="moztxtlinkabbreviated" href="mailto:Matlabemacsdiscuss@...">Matlabemacsdiscuss@...</a> <a class="moztxtlinkfreetext" href="https://lists.sourceforge.net/lists/listinfo/matlabemacsdiscuss">https://lists.sourceforge.net/lists/listinfo/matlabemacsdiscuss</a>; </pre> </blockquote> <br> </body> </html> 
From: Daniels, Troy (US) <troy.daniels@ba...>  20150625 14:47:27

The only change that I would make is: (defun mymatlabswitchandsavedefaultdirectory () (interactive) (let ((saveddefaultdirectory defaultdirectory)) (switchtobuffer "*MATLAB*") (setq defaultdirectory saveddefaultdirectory))) By using let, you don't permanently change the value of the variable (if it already existed for some other code) and you don't add a new variable if it didn't. Troy Original Message From: Uwe Brauer [mailto:oub@...] Sent: Thursday, June 25, 2015 5:35 AM To: matlabemacs Subject: [Matlabemacsdiscuss] partial solution *** WARNING *** This message originates from outside our organization, either from an external partner or the internet. Consider carefully whether you should click on any links, open any attachments or reply. For additional information about Spearphishing, click here <http://intranet.ent.baesystems.com/howwework/security/spotlights/Pages/SpearphishingTips.aspx>;. If you feel the email is suspicious, please follow this process. <http://intranet.ent.baesystems.com/howwework/security/spotlights/Documents/Dealing%20With%20Suspicious%20Emails.pdf>; Hello To answer my own question, the following hack does what I want: (defun mymatlabswitchandsavedefaultdirectory () (interactive) (setq saveddefaultdirectory defaultdirectory) (switchtobuffer "*MATLAB*") (setq defaultdirectory saveddefaultdirectory)) Maybe somebody with real lips skills could improve the code. regards Uwe Brauer  Monitor 25 network devices or servers for free with OpManager! OpManager is webbased network management software that monitors network devices and physical & virtual servers, alerts via email & sms for fault. Monitor 25 devices for free with no restriction. Download now http://ad.doubleclick.net/ddm/clk/292181274;119417398;o _______________________________________________ Matlabemacsdiscuss mailing list Matlabemacsdiscuss@... https://lists.sourceforge.net/lists/listinfo/matlabemacsdiscuss 
From: Uwe Brauer <oub@ma...>  20150625 09:35:31

Hello To answer my own question, the following hack does what I want: (defun mymatlabswitchandsavedefaultdirectory () (interactive) (setq saveddefaultdirectory defaultdirectory) (switchtobuffer "*MATLAB*") (setq defaultdirectory saveddefaultdirectory)) Maybe somebody with real lips skills could improve the code. regards Uwe Brauer 
From: Uwe Brauer <oub@ma...>  20150624 08:09:26

Hello Here is the scenario (usually happens when I correct a bunch of matlab files in different directories). Dir1 contains 3 matlab files dir2 contains 3 matlab files I open one file in dir1 and execute the code for example via matlabshellsaveandgo I do the same with the other files but then I change to dir2 and open the first file: when I now execute the code it sometimes does not run, since the matlabshell presumes it is still in dir 1. So I execute the following hack. (defun matlabcddiractual () (interactive) (matlabshellruncommand (concat "cd " (filenamedirectory (bufferfilename)))) (message (concat "*MATLAB* (& lisp) dir: " (defaultdirectory))) (setq defaultdirectory (filenamedirectory (bufferfilename)))) So far so good. However when I switch to the matlabshell and want to open a file via findfile Then (X)emacs still seems to think that I am in dir1 and offers ~/matlabfiles/dir1 Instead of ~/matlabfiles/dir2 When I execute pwd in the matlabshell I receive ans= /home/oub/matlabfiles/dir2 As it should be. So maybe this is more a question of (X)emacs, but why does my function not work as expected. Thanks Uwe Brauer 
From: Henrik Gollee <henrik.gollee@gl...>  20150614 21:06:02

Hi Eric, I have tried the tweaked version, but found that it doesn't work with a line which contains a % as part of the code, e.g. title(sprintf('Q_o(1) %.2e; Q_o(2) %.2e',mean(Q_o))) % test With the original version, M; jumps to "% test", but with the new version it treats the "%.2e...." as a comment and moves it to the preferred start column. Henrik matlabemacsdiscussrequest@... wrote on 13/06/15 17:53: > > Message: 2 > Date: Sun, 7 Jun 2015 19:47:35 +0000 > From: Eric Ludlam <Eric.Ludlam@...> > Subject: Re: [Matlabemacsdiscuss] recognizing comments > To: "Van Zandt, Jim" <jrv@...>, > "matlabemacsdiscuss@..." > <matlabemacsdiscuss@...> > MessageID: > <907ab180cc324a53bb96c56e22a9a4f8@...> > ContentType: text/plain; charset="usascii" > > Hi Jim, > > Here is a tweaked version of the Matlabcomment function that should fix the problem you found. If it works for you let me know and I can update it. > > Enjoy > Eric > > (defun matlabcomment () > "Add a comment to the current line." > (interactive) > (cond ((matlabltypeempty) ; empty line > (matlabcommfromprev) > (if (matlablattrcomm) > (skipcharsforward " \t%") > (insert matlabcommentlines) > (matlabindentline))) > ((matlabltypecomm) ; comment line > (matlabcommfromprev) > (skipcharsforward " \t%")) > ((matlablattrcomm) ; code line w/ comment > (beginningofline) > (researchforward "[^%]%") > (forwardchar 1) > (if (> (currentcolumn) commentcolumn) (deletehorizontalspace)) > (if (< (currentcolumn) commentcolumn) (indentto commentcolumn)) > (skipcharsforward "% \t")) > (t ; code line w/o comment > (endofline) > (researchbackward "[^ \t\n^]" 0 t) > (forwardchar) > (deletehorizontalspace) > (if (< (currentcolumn) commentcolumn) > (indentto commentcolumn) > (insert " ")) > (insert matlabcommentonlines)))) > > From: Van Zandt, Jim [mailto:jrv@...] > Sent: Monday, May 11, 2015 3:37 PM > To: matlabemacsdiscuss@... > Subject: [Matlabemacsdiscuss] recognizing comments > > I have noticed a small problem in the recognition of comments. I can use M; to insert a comment on the current line. I should be able to use the same command to move point to an existing comment on the current line, with the side effect of moving that comment to the preferred start column. Actually that does work if the comment starts with "% ", but fails if the percent is followed by something other than a space. > > Suppose I am editing this file with point anywhere on the third line: > > function foo > a = 3; > b = 4; %first comment > c = 5; > d = 6; > e = 7; % second comment > f = 8; > > If I press M; I get: > > function foo > a = 3; > b = 4; %first comment > c = 5; > d = 6; > e = 7; % second comment > f = 8; > > With point on any other line, I get the expected result. > > I expect this could be fixed by adjusting a regular expression, but I could not follow the logic well enough to find it. > > >  Jim Van Zandt > 
From: Van Zandt, Jim <jrv@mi...>  20150608 12:17:00

Works great, thanks! I suggest one additional change. If point is anywhere on a code line with a comment, then matlabcomment moves point to the beginning of the comment. If it's on a comment line, then point gets moved to the beginning of the comment only if it starts after that point. Otherwise it's left unchanged. I suggest an additional "beginningofline" for this case. I don't think this interferes with matlabcommfromprev.  Jim Van Zandt (defun matlabcomment () "Add a comment to the current line." (interactive) (cond ((matlabltypeempty) ; empty line (matlabcommfromprev) (if (matlablattrcomm) (skipcharsforward " \t%") (insert matlabcommentlines) (matlabindentline))) ((matlabltypecomm) ; comment line (matlabcommfromprev) (beginningofline) (skipcharsforward " \t%")) ((matlablattrcomm) ; code line w/ comment (beginningofline) (researchforward "[^%]%") (forwardchar 1) (if (> (currentcolumn) commentcolumn) (deletehorizontalspace)) (if (< (currentcolumn) commentcolumn) (indentto commentcolumn)) (skipcharsforward "% \t")) (t ; code line w/o comment (endofline) (researchbackward "[^ \t\n^]" 0 t) (forwardchar) (deletehorizontalspace) (if (< (currentcolumn) commentcolumn) (indentto commentcolumn) (insert " ")) (insert matlabcommentonlines)))) From: Eric Ludlam <Eric.Ludlam@...<mailto:Eric.Ludlam@...>> Date: Sunday, June 7, 2015 at 3:47 PM To: Jim Van Zandt <jrv@...<mailto:jrv@...>>, "matlabemacsdiscuss@...<mailto:matlabemacsdiscuss@...>" <matlabemacsdiscuss@...<mailto:matlabemacsdiscuss@...>> Subject: RE: recognizing comments (defun matlabcomment () "Add a comment to the current line." (interactive) (cond ((matlabltypeempty) ; empty line (matlabcommfromprev) (if (matlablattrcomm) (skipcharsforward " \t%") (insert matlabcommentlines) (matlabindentline))) ((matlabltypecomm) ; comment line (matlabcommfromprev) (skipcharsforward " \t%")) ((matlablattrcomm) ; code line w/ comment (beginningofline) (researchforward "[^%]%") (forwardchar 1) (if (> (currentcolumn) commentcolumn) (deletehorizontalspace)) (if (< (currentcolumn) commentcolumn) (indentto commentcolumn)) (skipcharsforward "% \t")) (t ; code line w/o comment (endofline) (researchbackward "[^ \t\n^]" 0 t) (forwardchar) (deletehorizontalspace) (if (< (currentcolumn) commentcolumn) (indentto commentcolumn) (insert " ")) (insert matlabcommentonlines)))) 
From: Eric Ludlam <Eric.L<udlam@ma...>  20150607 20:05:19

Hi Jim, Here is a tweaked version of the Matlabcomment function that should fix the problem you found. If it works for you let me know and I can update it. Enjoy Eric (defun matlabcomment () "Add a comment to the current line." (interactive) (cond ((matlabltypeempty) ; empty line (matlabcommfromprev) (if (matlablattrcomm) (skipcharsforward " \t%") (insert matlabcommentlines) (matlabindentline))) ((matlabltypecomm) ; comment line (matlabcommfromprev) (skipcharsforward " \t%")) ((matlablattrcomm) ; code line w/ comment (beginningofline) (researchforward "[^%]%") (forwardchar 1) (if (> (currentcolumn) commentcolumn) (deletehorizontalspace)) (if (< (currentcolumn) commentcolumn) (indentto commentcolumn)) (skipcharsforward "% \t")) (t ; code line w/o comment (endofline) (researchbackward "[^ \t\n^]" 0 t) (forwardchar) (deletehorizontalspace) (if (< (currentcolumn) commentcolumn) (indentto commentcolumn) (insert " ")) (insert matlabcommentonlines)))) From: Van Zandt, Jim [mailto:jrv@...] Sent: Monday, May 11, 2015 3:37 PM To: matlabemacsdiscuss@... Subject: [Matlabemacsdiscuss] recognizing comments I have noticed a small problem in the recognition of comments. I can use M; to insert a comment on the current line. I should be able to use the same command to move point to an existing comment on the current line, with the side effect of moving that comment to the preferred start column. Actually that does work if the comment starts with "% ", but fails if the percent is followed by something other than a space. Suppose I am editing this file with point anywhere on the third line: function foo a = 3; b = 4; %first comment c = 5; d = 6; e = 7; % second comment f = 8; If I press M; I get: function foo a = 3; b = 4; %first comment c = 5; d = 6; e = 7; % second comment f = 8; With point on any other line, I get the expected result. I expect this could be fixed by adjusting a regular expression, but I could not follow the logic well enough to find it.  Jim Van Zandt 
From: Eric Ludlam <Eric.L<udlam@ma...>  20150607 20:05:17

Hi, I can only assume that an error is being thrown when attempting to mlint the buffer. You can do this to learn more: Mx toggledebugonerror RET and try again. It should pop up an stack trace showing what the error is. Eric Original Message From: Dennis Ogbe [mailto:dogbe@...] Sent: Thursday, June 04, 2015 6:41 PM To: matlabemacsdiscuss@... Subject: [Matlabemacsdiscuss] mlintminormode issues Hi, Apart from absolutely loving this package, I have one issue: As far as I can understand, mlintminormode is supposed to highlight any issues in the current buffer. This is *not* the case for me. I'm running emacs 24.5.1 on 64bit Linux and MATLAB R2014b, with the latest version of matlabmode. I have pointed mlintminormode to correct mlint binary, and when I run Mx mlintbuffer, I get a new buffer called *MLint* in the background. This buffer contains all of the mlint outputs, but they do not get highlighted in the mfile buffer. What could be the reason for this? Can anyone confirm that they have gotten mlintminormode to work? Obviously, not getting this to work won't be a dealbreaker, but the idea seems pretty cool... Any help would be appreciated, thanks in advance! Dennis  _______________________________________________ Matlabemacsdiscuss mailing list Matlabemacsdiscuss@... https://lists.sourceforge.net/lists/listinfo/matlabemacsdiscuss 
From: Dennis Ogbe <dogbe@pu...>  20150604 22:41:04

Hi, Apart from absolutely loving this package, I have one issue: As far as I can understand, mlintminormode is supposed to highlight any issues in the current buffer. This is *not* the case for me. I'm running emacs 24.5.1 on 64bit Linux and MATLAB R2014b, with the latest version of matlabmode. I have pointed mlintminormode to correct mlint binary, and when I run Mx mlintbuffer, I get a new buffer called *MLint* in the background. This buffer contains all of the mlint outputs, but they do not get highlighted in the mfile buffer. What could be the reason for this? Can anyone confirm that they have gotten mlintminormode to work? Obviously, not getting this to work won't be a dealbreaker, but the idea seems pretty cool... Any help would be appreciated, thanks in advance! Dennis 
From: Van Zandt, Jim <jrv@mi...>  20150511 19:37:15

I have noticed a small problem in the recognition of comments. I can use M; to insert a comment on the current line. I should be able to use the same command to move point to an existing comment on the current line, with the side effect of moving that comment to the preferred start column. Actually that does work if the comment starts with "% ", but fails if the percent is followed by something other than a space. Suppose I am editing this file with point anywhere on the third line: function foo a = 3; b = 4; %first comment c = 5; d = 6; e = 7; % second comment f = 8; If I press M; I get: function foo a = 3; b = 4; %first comment c = 5; d = 6; e = 7; % second comment f = 8; With point on any other line, I get the expected result. I expect this could be fixed by adjusting a regular expression, but I could not follow the logic well enough to find it.  Jim Van Zandt 
From: Eric Ludlam <Eric.L<udlam@ma...>  20150429 14:10:26

Problem 1 is probably related to semanticidlecompletionmode, which queries for completions from MATLAB, then while building up a 'correct' tag, tries to figure out where it came from. I'm not sure what changed (performance wise) since it was implemented. In any case, it may be possible for us to defer asking for the location until it is actually needed. I'm uncertain about that. In the meantime, if you visit matlabsemantic.el, and matlabsemanticdb.el , and replace the calls to (matlabshellwhichfcn ...) with nil it should fix the problem, with the loss of functionality of jumping to said completions later. If that works for you, and it is deemed preferable, I can make that change more permanent. Problem 2: As MATLAB evolves, the expression needed for finding errors keeps changing. I think we just need to debug the regex. What version of MATLAB do you have? I fixed this a bit in 3.3.2 which you can get from CVS. Problem 3: I'm not sure about this one. I think that means you have a bum version of Emacs without guddef. I have it here in 23.2. (We're a bit behind over here.) Eric From: Torben Knudsen [mailto:tk@...] Sent: Thursday, April 23, 2015 3:12 AM To: matlabemacsdiscuss@... Subject: [Matlabemacsdiscuss] Strange matlabmode problem Strange matlabmode problem I am one of the happy matlabmode users. However, I have a number of problems but the first one is the only serious one. I am using: matlabmode, version 3.3.1 Problem 1. When I edit a m file in matlabmode then some times it seems that emacs gets stuck and then after a long time or when I press ctrlg it outputs in the shell frame something like >> which aero_guid_plot /usr/local/MATLAB/R2014a/toolbox/simulink/simdemos/aerospace/aero_guid_plot.m >> >> which axistext /usr/local/MATLAB/R2014a/toolbox/matlab/graph2d/@axistext/axistext.m<mailto:/usr/local/MATLAB/R2014a/toolbox/matlab/graph2d/@axistext/axistext.m> % axistext constructor >> >> which aero_atcscript /usr/local/MATLAB/R2014a/toolbox/simulink/simdemos/aerospace/aero_atcscript.m >> >> which addrunf /usr/local/MATLAB/R2014a/toolbox/robust/rctobsolete/mutools/subs/addrunf.m >> >> which asec builtin (/usr/local/MATLAB/R2014a/toolbox/matlab/elfun/@double/asec) % double method >> In the above case I think the cursor was at or in front of an 'a' and then it seems matlab is used to search for functions starting with 'a' which takes a long time and is very annoying. How can I stop this? Problem 2. I can not make the function 'matlabshelllasterror' work properly. I tried to change it a bit to the below which also does not work to well. (defun tkgotomatlaberror () "Goto last matlab error above" (interactive) (searchbackward "error") (matlabshellhtmlgo)) Problem/question 3 When I checked *Message* to see the matlabmode version it also had 'Sorry, your emacs cannot use the MATLAB Shell GUD features.' What does that mean? Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Department of Electronic Systems, Email : tk@...<mailto:tk@...> Aalborg University Web : es.aau.dk/staff/tk Fredrik Bajersvej 7 DK9220 Aalborg Ø Denmark 
From: Torben Knudsen <tk@es...>  20150423 07:27:11

Strange matlabmode problem I am one of the happy matlabmode users. However, I have a number of problems but the first one is the only serious one. I am using: matlabmode, version 3.3.1 Problem 1. When I edit a m file in matlabmode then some times it seems that emacs gets stuck and then after a long time or when I press ctrlg it outputs in the shell frame some thing like >> which aero_guid_plot /usr/local/MATLAB/R2014a/toolbox/simulink/simdemos/aerospace/aero_guid_plot.m >> >> which axistext /usr/local/MATLAB/R2014a/toolbox/matlab/graph2d/@axistext/axistext.m % axistext constructor >> >> which aero_atcscript /usr/local/MATLAB/R2014a/toolbox/simulink/simdemos/aerospace/aero_atcscript.m >> >> which addrunf /usr/local/MATLAB/R2014a/toolbox/robust/rctobsolete/mutools/subs/addrunf.m >> >> which asec builtin (/usr/local/MATLAB/R2014a/toolbox/matlab/elfun/@double/asec) % double method >> In the above case I think the cursor was at or in front of an 'a' and then it seems matlab is used to search for functions starting with 'a' which takes a long time and is very annoying. How can I stop this? Problem 2. I can not make the function 'matlabshelllasterror' work properly. I tried to change it a bit to the below which also does not work to well. (defun tkgotomatlaberror () "Goto last matlab error above" (interactive) (searchbackward "error") (matlabshellhtmlgo)) Problem/question 3 When I checked *Message* to see the matlabmode version it also had 'Sorry, your emacs cannot use the MATLAB Shell GUD features.' What does that mean? Associate Prof. Ph.D Torben Knudsen Mobile : (+45) 2787 9826 Section of Automation and Control, Department of Electronic Systems, Email : tk@... Aalborg University Web : es.aau.dk/staff/tk Fredrik Bajersvej 7 DK9220 Aalborg Ø Denmark 
From: Xiaoyu Wei <wxy0516@gm...>  20150202 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 <Eric.Ludlam@...> 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 `semanticdecorationmode’ 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:wxy0516@...] > *Sent:* Thursday, January 15, 2015 9:10 PM > *To:* matlabemacsdiscuss@... > *Subject:* [Matlabemacsdiscuss] Problem Configuring matlabmode with > CEDET+matlabshell+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/matlabecb.jpg > > Somehow I got everything to work, except for two things: > > 1. In W2 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 > 
From: Eric Ludlam <Eric.L<udlam@ma...>  20150130 22:32:21

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 `semanticdecorationmode’ 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:wxy0516@...] Sent: Thursday, January 15, 2015 9:10 PM To: matlabemacsdiscuss@... Subject: [Matlabemacsdiscuss] Problem Configuring matlabmode with CEDET+matlabshell+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/matlabecb.jpg Somehow I got everything to work, except for two things: 1. In W2 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 
From: Xiaoyu Wei <wxy0516@gm...>  20150116 02:10:38

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/matlabecb.jpg Somehow I got everything to work, except for two things: 1. In W2 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 
From: Yen Chieh Chern <angelchern@gm...>  20141219 04:05:32

Hi Eric, Thank you for your help. I simply added two lines to my matlabsettings.el then it works. (I have a working copy from my linux machine so I copy the /matlabmode folder to my mac/windows machine, no compilation needed) (addtolist 'loadpath "~/.emacs.d/elget/matlabmode/") > (require 'matlabload) CYC On Tue, Dec 16, 2014 at 8:33 AM, Eric Ludlam <Eric.Ludlam@...> wrote: > > Hi, > > > > You will need to add the directory where Matlab.el and mlint.el are to > your loadpath. If you look in the INSTALL file, after the ‘compilation’ > section, there are the snippets you need to add the path, and get the right > amount of Matlab mode installed. > > > > Eric > > > > *From:* Yen Chieh Chern [mailto:angelchern@...] > *Sent:* Monday, December 15, 2014 7:00 PM > *To:* Eric Ludlam > *Cc:* matlabemacsdiscuss@... > *Subject:* Re: [Matlabemacsdiscuss] elget install matlabmode compile > error > > > > Hi Eric, > > > > Thanks for your reply. I checked the eieio installation then this is what > emacs says, > > > > Library is file > /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/emacslisp/eieio.elc > > > > I also did byte compile against mlint.el, emacs gives the error as follows, > > > > mlint.el:32:1:Error: Cannot open load file: no such file or directory, > matlab > > > > But there is a matlab.el also a matlab.elc in the folder together with > mlint.el. So now the old errors won't go and byte compile gives error too. > > > > Do you have further ideas? > > > > Thanks, > > CYC > > > > On Mon, Dec 15, 2014 at 8:57 AM, Eric Ludlam <Eric.Ludlam@...> > wrote: > > Hi, > > > > I’m not sure why your Emacs 24.4 wouldn’t have EIEIO installed. It has > been a part of default Emacs for quite a long time. From a stock emacs, > do : > > > > Mx locatelibrary RET eieio RET > > > > to see what it says. If it is there, then there is something else going > on during command line build. Instead you can visit mlint.el, and just > type: > > > > Mx bytecompilefile RET > > > > > > Also you should update update the Makefile to change CEDET_PATH to point > at a good version of CEDET. I believe it is still pointing at the > default. That won’t fix the compile error you point out below, but will > fix upcoming problems you will have after finding EIEIO if you want to make > the CEDET tools work. > > > > Eric > > > > *From:* Yen Chieh Chern [mailto:angelchern@...] > *Sent:* Saturday, December 13, 2014 11:29 PM > *To:* matlabemacsdiscuss@... > *Subject:* [Matlabemacsdiscuss] elget install matlabmode compile error > > > > Hello, > > > > I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. > When I tried to install matlabmode via elget, I got the compiling error > as follows, > > > > emacs batch nositefile eval '(setq debugonerror t)' L ./ L > ~/cedet/trunk/lisp/cedet/ eval '(progn (setq generatedautoloadfile > "/Users/cyc/.emacs.d/elget/matlabmode/matlabload.el"))' f > batchupdateautoloads /Users/cyc/.emacs.d/elget/matlabmode > Loading vccvs... > Generating autoloads for cedetmatlab.el... > Generating autoloads for cedetmatlab.el...done > Generating autoloads for linemark.el... > Generating autoloads for linemark.el...done > Generating autoloads for matlab.el... > Generating autoloads for matlab.el...done > Generating autoloads for mlint.el... > Generating autoloads for mlint.el...done > Generating autoloads for semanticmatlab.el... > Generating autoloads for semanticmatlab.el...done > Wrote /Users/cyc/.emacs.d/elget/matlabmode/matlabload.el > emacs batch nositefile eval '(setq debugonerror t)' L ./ L > ~/cedet/trunk/lisp/cedet/ eval '(progn )' f batchbytecompile matlab.el > In matlabwithemacslink: > matlab.el:119:8:Warning: reference to free variable `matlabuseeei' > matlab.el:120:8:Warning: reference to free variable `matlabeeiprocess' > In matlabdofunctionshaveendp: > matlab.el:213:28:Warning: reference to free variable `matlabdefunregex' > matlab.el:251:1:Warning: defcustom for `matlabarg1maxindentlength' > fails > to specify containing group > matlab.el:304:1:Warning: defcustom for `matlabelipsisstring' fails to > specify containing group > matlab.el:313:1:Warning: defcustom for `matlabfillcountellipsisflag' > fails > to specify containing group > matlab.el:318:1:Warning: defcustom for `matlabfillstringsflag' fails to > specify containing group > In matlabfontlockadjustments: > matlab.el:504:19:Warning: defface for `matlabnestedfunctionkeywordface' > fails to specify containing group > matlab.el:501:33:Warning: defface for `matlabcellbreakface' fails to > specify > containing group > In matlabmode: > matlab.el:1237:31:Warning: reference to free variable `matlabdefunregex' > In matlabsemicolononreturn: > matlab.el:2648:35:Warning: reference to free variable > `matlabquiescenosemiregexp' > matlab.el:4205:1:Warning: defcustom for `matlabshellhistoryfile' fails > to > specify containing group > In matlabshellmode: > matlab.el:4444:9:Warning: assignment to free variable > `matlabshelllasterroranchor' > In matlabshellmatlabroot: > matlab.el:4928:11:Warning: reference to free variable > `matlabshellmatlabrootrun' > In matlabshellhelpmode: > matlab.el:5579:18:Warning: reference to free variable > `matlabshellhelpmodemenu' > In matlabshelltopicmode: > matlab.el:5618:13:Warning: assignment to free variable `modemotionhook' > matlab.el:5619:18:Warning: reference to free variable > `matlabshelltopicmodemenu' > In matlabshelltopichighlightline: > matlab.el:5703:37:Warning: reference to free variable > `mousegrabbedbuffer' > matlab.el:5716:41:Warning: reference to free variable `modemotionextent' > In end of data: > matlab.el:5835:1:Warning: the function `comintcheckproc' might not be > defined at runtime. > matlab.el:5835:1:Warning: the following functions are not known to be > defined: > extentlist, startitimer, matlaboverlaysat, matlaboverlayget, > matlaboverlaystart, matlaboverlayend, matlabnextoverlaychange, > mlintminormode, matlabpointateol, matlabpointatbol, > matlabdeleteoverlay, matlabcanceltimer, matlabrunwithidletimer, > matlabmakeoverlay, matlaboverlayput, mlintbuffer, > mlintclearwarnings, mlintclearcrossfunctionvariablehighlighting, > setextentbeginglyph, makeextent, makeglyph, matlabeeirun, > matlabeeievalregion, matlabpreviousoverlaychange, > mousesetpoint, > viewmajormode, eventbuffer, eventpoint, > modemotionensureextentok, > detachextent, setextentendpoints > Wrote /Users/cyc/.emacs.d/elget/matlabmode/matlab.elc > emacs batch nositefile eval '(setq debugonerror t)' L ./ L > ~/cedet/trunk/lisp/cedet/ eval '(progn )' f batchbytecompile mlint.el > In toplevel form: > mlint.el:33:1:Error: Cannot open load file: eieio > make: *** [mlint.elc] Error 1 > > > > Do you guys have any ideas how I can fix this? > > > > Thanks in advance. > > > > CYC > > 
From: Eric Ludlam <Eric.L<udlam@ma...>  20141216 14:33:45

Hi, You will need to add the directory where Matlab.el and mlint.el are to your loadpath. If you look in the INSTALL file, after the ‘compilation’ section, there are the snippets you need to add the path, and get the right amount of Matlab mode installed. Eric From: Yen Chieh Chern [mailto:angelchern@...] Sent: Monday, December 15, 2014 7:00 PM To: Eric Ludlam Cc: matlabemacsdiscuss@... Subject: Re: [Matlabemacsdiscuss] elget install matlabmode compile error Hi Eric, Thanks for your reply. I checked the eieio installation then this is what emacs says, Library is file /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/emacslisp/eieio.elc I also did byte compile against mlint.el, emacs gives the error as follows, mlint.el:32:1:Error: Cannot open load file: no such file or directory, matlab But there is a matlab.el also a matlab.elc in the folder together with mlint.el. So now the old errors won't go and byte compile gives error too. Do you have further ideas? Thanks, CYC On Mon, Dec 15, 2014 at 8:57 AM, Eric Ludlam <Eric.Ludlam@...<mailto:Eric.Ludlam@...>> wrote: Hi, I’m not sure why your Emacs 24.4 wouldn’t have EIEIO installed. It has been a part of default Emacs for quite a long time. From a stock emacs, do : Mx locatelibrary RET eieio RET to see what it says. If it is there, then there is something else going on during command line build. Instead you can visit mlint.el, and just type: Mx bytecompilefile RET Also you should update update the Makefile to change CEDET_PATH to point at a good version of CEDET. I believe it is still pointing at the default. That won’t fix the compile error you point out below, but will fix upcoming problems you will have after finding EIEIO if you want to make the CEDET tools work. Eric From: Yen Chieh Chern [mailto:angelchern@...<mailto:angelchern@...>] Sent: Saturday, December 13, 2014 11:29 PM To: matlabemacsdiscuss@...<mailto:matlabemacsdiscuss@...> Subject: [Matlabemacsdiscuss] elget install matlabmode compile error Hello, I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. When I tried to install matlabmode via elget, I got the compiling error as follows, emacs batch nositefile eval '(setq debugonerror t)' L ./ L ~/cedet/trunk/lisp/cedet/ eval '(progn (setq generatedautoloadfile "/Users/cyc/.emacs.d/elget/matlabmode/matlabload.el"))' f batchupdateautoloads /Users/cyc/.emacs.d/elget/matlabmode Loading vccvs... Generating autoloads for cedetmatlab.el... Generating autoloads for cedetmatlab.el...done Generating autoloads for linemark.el... Generating autoloads for linemark.el...done Generating autoloads for matlab.el... Generating autoloads for matlab.el...done Generating autoloads for mlint.el... Generating autoloads for mlint.el...done Generating autoloads for semanticmatlab.el... Generating autoloads for semanticmatlab.el...done Wrote /Users/cyc/.emacs.d/elget/matlabmode/matlabload.el emacs batch nositefile eval '(setq debugonerror t)' L ./ L ~/cedet/trunk/lisp/cedet/ eval '(progn )' f batchbytecompile matlab.el In matlabwithemacslink: matlab.el:119:8:Warning: reference to free variable `matlabuseeei' matlab.el:120:8:Warning: reference to free variable `matlabeeiprocess' In matlabdofunctionshaveendp: matlab.el:213:28:Warning: reference to free variable `matlabdefunregex' matlab.el:251:1:Warning: defcustom for `matlabarg1maxindentlength' fails to specify containing group matlab.el:304:1:Warning: defcustom for `matlabelipsisstring' fails to specify containing group matlab.el:313:1:Warning: defcustom for `matlabfillcountellipsisflag' fails to specify containing group matlab.el:318:1:Warning: defcustom for `matlabfillstringsflag' fails to specify containing group In matlabfontlockadjustments: matlab.el:504:19:Warning: defface for `matlabnestedfunctionkeywordface' fails to specify containing group matlab.el:501:33:Warning: defface for `matlabcellbreakface' fails to specify containing group In matlabmode: matlab.el:1237:31:Warning: reference to free variable `matlabdefunregex' In matlabsemicolononreturn: matlab.el:2648:35:Warning: reference to free variable `matlabquiescenosemiregexp' matlab.el:4205:1:Warning: defcustom for `matlabshellhistoryfile' fails to specify containing group In matlabshellmode: matlab.el:4444:9:Warning: assignment to free variable `matlabshelllasterroranchor' In matlabshellmatlabroot: matlab.el:4928:11:Warning: reference to free variable `matlabshellmatlabrootrun' In matlabshellhelpmode: matlab.el:5579:18:Warning: reference to free variable `matlabshellhelpmodemenu' In matlabshelltopicmode: matlab.el:5618:13:Warning: assignment to free variable `modemotionhook' matlab.el:5619:18:Warning: reference to free variable `matlabshelltopicmodemenu' In matlabshelltopichighlightline: matlab.el:5703:37:Warning: reference to free variable `mousegrabbedbuffer' matlab.el:5716:41:Warning: reference to free variable `modemotionextent' In end of data: matlab.el:5835:1:Warning: the function `comintcheckproc' might not be defined at runtime. matlab.el:5835:1:Warning: the following functions are not known to be defined: extentlist, startitimer, matlaboverlaysat, matlaboverlayget, matlaboverlaystart, matlaboverlayend, matlabnextoverlaychange, mlintminormode, matlabpointateol, matlabpointatbol, matlabdeleteoverlay, matlabcanceltimer, matlabrunwithidletimer, matlabmakeoverlay, matlaboverlayput, mlintbuffer, mlintclearwarnings, mlintclearcrossfunctionvariablehighlighting, setextentbeginglyph, makeextent, makeglyph, matlabeeirun, matlabeeievalregion, matlabpreviousoverlaychange, mousesetpoint, viewmajormode, eventbuffer, eventpoint, modemotionensureextentok, detachextent, setextentendpoints Wrote /Users/cyc/.emacs.d/elget/matlabmode/matlab.elc emacs batch nositefile eval '(setq debugonerror t)' L ./ L ~/cedet/trunk/lisp/cedet/ eval '(progn )' f batchbytecompile mlint.el In toplevel form: mlint.el:33:1:Error: Cannot open load file: eieio make: *** [mlint.elc] Error 1 Do you guys have any ideas how I can fix this? Thanks in advance. CYC 
From: Yen Chieh Chern <angelchern@gm...>  20141216 00:00:22

Hi Eric, Thanks for your reply. I checked the eieio installation then this is what emacs says, Library is file > /usr/local/Cellar/emacs/24.4/share/emacs/24.4/lisp/emacslisp/eieio.elc I also did byte compile against mlint.el, emacs gives the error as follows, mlint.el:32:1:Error: Cannot open load file: no such file or directory, > matlab But there is a matlab.el also a matlab.elc in the folder together with mlint.el. So now the old errors won't go and byte compile gives error too. Do you have further ideas? Thanks, CYC On Mon, Dec 15, 2014 at 8:57 AM, Eric Ludlam <Eric.Ludlam@...> wrote: > > Hi, > > > > I’m not sure why your Emacs 24.4 wouldn’t have EIEIO installed. It has > been a part of default Emacs for quite a long time. From a stock emacs, > do : > > > > Mx locatelibrary RET eieio RET > > > > to see what it says. If it is there, then there is something else going > on during command line build. Instead you can visit mlint.el, and just > type: > > > > Mx bytecompilefile RET > > > > > > Also you should update update the Makefile to change CEDET_PATH to point > at a good version of CEDET. I believe it is still pointing at the > default. That won’t fix the compile error you point out below, but will > fix upcoming problems you will have after finding EIEIO if you want to make > the CEDET tools work. > > > > Eric > > > > *From:* Yen Chieh Chern [mailto:angelchern@...] > *Sent:* Saturday, December 13, 2014 11:29 PM > *To:* matlabemacsdiscuss@... > *Subject:* [Matlabemacsdiscuss] elget install matlabmode compile error > > > > Hello, > > > > I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. > When I tried to install matlabmode via elget, I got the compiling error > as follows, > > > > emacs batch nositefile eval '(setq debugonerror t)' L ./ L > ~/cedet/trunk/lisp/cedet/ eval '(progn (setq generatedautoloadfile > "/Users/cyc/.emacs.d/elget/matlabmode/matlabload.el"))' f > batchupdateautoloads /Users/cyc/.emacs.d/elget/matlabmode > Loading vccvs... > Generating autoloads for cedetmatlab.el... > Generating autoloads for cedetmatlab.el...done > Generating autoloads for linemark.el... > Generating autoloads for linemark.el...done > Generating autoloads for matlab.el... > Generating autoloads for matlab.el...done > Generating autoloads for mlint.el... > Generating autoloads for mlint.el...done > Generating autoloads for semanticmatlab.el... > Generating autoloads for semanticmatlab.el...done > Wrote /Users/cyc/.emacs.d/elget/matlabmode/matlabload.el > emacs batch nositefile eval '(setq debugonerror t)' L ./ L > ~/cedet/trunk/lisp/cedet/ eval '(progn )' f batchbytecompile matlab.el > In matlabwithemacslink: > matlab.el:119:8:Warning: reference to free variable `matlabuseeei' > matlab.el:120:8:Warning: reference to free variable `matlabeeiprocess' > In matlabdofunctionshaveendp: > matlab.el:213:28:Warning: reference to free variable `matlabdefunregex' > matlab.el:251:1:Warning: defcustom for `matlabarg1maxindentlength' > fails > to specify containing group > matlab.el:304:1:Warning: defcustom for `matlabelipsisstring' fails to > specify containing group > matlab.el:313:1:Warning: defcustom for `matlabfillcountellipsisflag' > fails > to specify containing group > matlab.el:318:1:Warning: defcustom for `matlabfillstringsflag' fails to > specify containing group > In matlabfontlockadjustments: > matlab.el:504:19:Warning: defface for `matlabnestedfunctionkeywordface' > fails to specify containing group > matlab.el:501:33:Warning: defface for `matlabcellbreakface' fails to > specify > containing group > In matlabmode: > matlab.el:1237:31:Warning: reference to free variable `matlabdefunregex' > In matlabsemicolononreturn: > matlab.el:2648:35:Warning: reference to free variable > `matlabquiescenosemiregexp' > matlab.el:4205:1:Warning: defcustom for `matlabshellhistoryfile' fails > to > specify containing group > In matlabshellmode: > matlab.el:4444:9:Warning: assignment to free variable > `matlabshelllasterroranchor' > In matlabshellmatlabroot: > matlab.el:4928:11:Warning: reference to free variable > `matlabshellmatlabrootrun' > In matlabshellhelpmode: > matlab.el:5579:18:Warning: reference to free variable > `matlabshellhelpmodemenu' > In matlabshelltopicmode: > matlab.el:5618:13:Warning: assignment to free variable `modemotionhook' > matlab.el:5619:18:Warning: reference to free variable > `matlabshelltopicmodemenu' > In matlabshelltopichighlightline: > matlab.el:5703:37:Warning: reference to free variable > `mousegrabbedbuffer' > matlab.el:5716:41:Warning: reference to free variable `modemotionextent' > In end of data: > matlab.el:5835:1:Warning: the function `comintcheckproc' might not be > defined at runtime. > matlab.el:5835:1:Warning: the following functions are not known to be > defined: > extentlist, startitimer, matlaboverlaysat, matlaboverlayget, > matlaboverlaystart, matlaboverlayend, matlabnextoverlaychange, > mlintminormode, matlabpointateol, matlabpointatbol, > matlabdeleteoverlay, matlabcanceltimer, matlabrunwithidletimer, > matlabmakeoverlay, matlaboverlayput, mlintbuffer, > mlintclearwarnings, mlintclearcrossfunctionvariablehighlighting, > setextentbeginglyph, makeextent, makeglyph, matlabeeirun, > matlabeeievalregion, matlabpreviousoverlaychange, > mousesetpoint, > viewmajormode, eventbuffer, eventpoint, > modemotionensureextentok, > detachextent, setextentendpoints > Wrote /Users/cyc/.emacs.d/elget/matlabmode/matlab.elc > emacs batch nositefile eval '(setq debugonerror t)' L ./ L > ~/cedet/trunk/lisp/cedet/ eval '(progn )' f batchbytecompile mlint.el > In toplevel form: > mlint.el:33:1:Error: Cannot open load file: eieio > make: *** [mlint.elc] Error 1 > > > > Do you guys have any ideas how I can fix this? > > > > Thanks in advance. > > > > CYC > 
From: Eric Ludlam <Eric.L<udlam@ma...>  20141215 14:57:38

Hi, I’m not sure why your Emacs 24.4 wouldn’t have EIEIO installed. It has been a part of default Emacs for quite a long time. From a stock emacs, do : Mx locatelibrary RET eieio RET to see what it says. If it is there, then there is something else going on during command line build. Instead you can visit mlint.el, and just type: Mx bytecompilefile RET Also you should update update the Makefile to change CEDET_PATH to point at a good version of CEDET. I believe it is still pointing at the default. That won’t fix the compile error you point out below, but will fix upcoming problems you will have after finding EIEIO if you want to make the CEDET tools work. Eric From: Yen Chieh Chern [mailto:angelchern@...] Sent: Saturday, December 13, 2014 11:29 PM To: matlabemacsdiscuss@... Subject: [Matlabemacsdiscuss] elget install matlabmode compile error Hello, I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. When I tried to install matlabmode via elget, I got the compiling error as follows, emacs batch nositefile eval '(setq debugonerror t)' L ./ L ~/cedet/trunk/lisp/cedet/ eval '(progn (setq generatedautoloadfile "/Users/cyc/.emacs.d/elget/matlabmode/matlabload.el"))' f batchupdateautoloads /Users/cyc/.emacs.d/elget/matlabmode Loading vccvs... Generating autoloads for cedetmatlab.el... Generating autoloads for cedetmatlab.el...done Generating autoloads for linemark.el... Generating autoloads for linemark.el...done Generating autoloads for matlab.el... Generating autoloads for matlab.el...done Generating autoloads for mlint.el... Generating autoloads for mlint.el...done Generating autoloads for semanticmatlab.el... Generating autoloads for semanticmatlab.el...done Wrote /Users/cyc/.emacs.d/elget/matlabmode/matlabload.el emacs batch nositefile eval '(setq debugonerror t)' L ./ L ~/cedet/trunk/lisp/cedet/ eval '(progn )' f batchbytecompile matlab.el In matlabwithemacslink: matlab.el:119:8:Warning: reference to free variable `matlabuseeei' matlab.el:120:8:Warning: reference to free variable `matlabeeiprocess' In matlabdofunctionshaveendp: matlab.el:213:28:Warning: reference to free variable `matlabdefunregex' matlab.el:251:1:Warning: defcustom for `matlabarg1maxindentlength' fails to specify containing group matlab.el:304:1:Warning: defcustom for `matlabelipsisstring' fails to specify containing group matlab.el:313:1:Warning: defcustom for `matlabfillcountellipsisflag' fails to specify containing group matlab.el:318:1:Warning: defcustom for `matlabfillstringsflag' fails to specify containing group In matlabfontlockadjustments: matlab.el:504:19:Warning: defface for `matlabnestedfunctionkeywordface' fails to specify containing group matlab.el:501:33:Warning: defface for `matlabcellbreakface' fails to specify containing group In matlabmode: matlab.el:1237:31:Warning: reference to free variable `matlabdefunregex' In matlabsemicolononreturn: matlab.el:2648:35:Warning: reference to free variable `matlabquiescenosemiregexp' matlab.el:4205:1:Warning: defcustom for `matlabshellhistoryfile' fails to specify containing group In matlabshellmode: matlab.el:4444:9:Warning: assignment to free variable `matlabshelllasterroranchor' In matlabshellmatlabroot: matlab.el:4928:11:Warning: reference to free variable `matlabshellmatlabrootrun' In matlabshellhelpmode: matlab.el:5579:18:Warning: reference to free variable `matlabshellhelpmodemenu' In matlabshelltopicmode: matlab.el:5618:13:Warning: assignment to free variable `modemotionhook' matlab.el:5619:18:Warning: reference to free variable `matlabshelltopicmodemenu' In matlabshelltopichighlightline: matlab.el:5703:37:Warning: reference to free variable `mousegrabbedbuffer' matlab.el:5716:41:Warning: reference to free variable `modemotionextent' In end of data: matlab.el:5835:1:Warning: the function `comintcheckproc' might not be defined at runtime. matlab.el:5835:1:Warning: the following functions are not known to be defined: extentlist, startitimer, matlaboverlaysat, matlaboverlayget, matlaboverlaystart, matlaboverlayend, matlabnextoverlaychange, mlintminormode, matlabpointateol, matlabpointatbol, matlabdeleteoverlay, matlabcanceltimer, matlabrunwithidletimer, matlabmakeoverlay, matlaboverlayput, mlintbuffer, mlintclearwarnings, mlintclearcrossfunctionvariablehighlighting, setextentbeginglyph, makeextent, makeglyph, matlabeeirun, matlabeeievalregion, matlabpreviousoverlaychange, mousesetpoint, viewmajormode, eventbuffer, eventpoint, modemotionensureextentok, detachextent, setextentendpoints Wrote /Users/cyc/.emacs.d/elget/matlabmode/matlab.elc emacs batch nositefile eval '(setq debugonerror t)' L ./ L ~/cedet/trunk/lisp/cedet/ eval '(progn )' f batchbytecompile mlint.el In toplevel form: mlint.el:33:1:Error: Cannot open load file: eieio make: *** [mlint.elc] Error 1 Do you guys have any ideas how I can fix this? Thanks in advance. CYC 
From: Yen Chieh Chern <angelchern@gm...>  20141214 04:29:45

Hello, I am running on Mac 10.10.1 and I homebrew installed emacs 24.4 and cvs. When I tried to install matlabmode via elget, I got the compiling error as follows, emacs batch nositefile eval '(setq debugonerror t)' L ./ L > ~/cedet/trunk/lisp/cedet/ eval '(progn (setq generatedautoloadfile > "/Users/cyc/.emacs.d/elget/matlabmode/matlabload.el"))' f > batchupdateautoloads /Users/cyc/.emacs.d/elget/matlabmode > Loading vccvs... > Generating autoloads for cedetmatlab.el... > Generating autoloads for cedetmatlab.el...done > Generating autoloads for linemark.el... > Generating autoloads for linemark.el...done > Generating autoloads for matlab.el... > Generating autoloads for matlab.el...done > Generating autoloads for mlint.el... > Generating autoloads for mlint.el...done > Generating autoloads for semanticmatlab.el... > Generating autoloads for semanticmatlab.el...done > Wrote /Users/cyc/.emacs.d/elget/matlabmode/matlabload.el > emacs batch nositefile eval '(setq debugonerror t)' L ./ L > ~/cedet/trunk/lisp/cedet/ eval '(progn )' f batchbytecompile matlab.el > In matlabwithemacslink: > matlab.el:119:8:Warning: reference to free variable `matlabuseeei' > matlab.el:120:8:Warning: reference to free variable `matlabeeiprocess' > In matlabdofunctionshaveendp: > matlab.el:213:28:Warning: reference to free variable `matlabdefunregex' > matlab.el:251:1:Warning: defcustom for `matlabarg1maxindentlength' > fails > to specify containing group > matlab.el:304:1:Warning: defcustom for `matlabelipsisstring' fails to > specify containing group > matlab.el:313:1:Warning: defcustom for `matlabfillcountellipsisflag' > fails > to specify containing group > matlab.el:318:1:Warning: defcustom for `matlabfillstringsflag' fails to > specify containing group > In matlabfontlockadjustments: > matlab.el:504:19:Warning: defface for `matlabnestedfunctionkeywordface' > fails to specify containing group > matlab.el:501:33:Warning: defface for `matlabcellbreakface' fails to > specify > containing group > In matlabmode: > matlab.el:1237:31:Warning: reference to free variable `matlabdefunregex' > In matlabsemicolononreturn: > matlab.el:2648:35:Warning: reference to free variable > `matlabquiescenosemiregexp' > matlab.el:4205:1:Warning: defcustom for `matlabshellhistoryfile' fails > to > specify containing group > In matlabshellmode: > matlab.el:4444:9:Warning: assignment to free variable > `matlabshelllasterroranchor' > In matlabshellmatlabroot: > matlab.el:4928:11:Warning: reference to free variable > `matlabshellmatlabrootrun' > In matlabshellhelpmode: > matlab.el:5579:18:Warning: reference to free variable > `matlabshellhelpmodemenu' > In matlabshelltopicmode: > matlab.el:5618:13:Warning: assignment to free variable `modemotionhook' > matlab.el:5619:18:Warning: reference to free variable > `matlabshelltopicmodemenu' > In matlabshelltopichighlightline: > matlab.el:5703:37:Warning: reference to free variable > `mousegrabbedbuffer' > matlab.el:5716:41:Warning: reference to free variable `modemotionextent' > In end of data: > matlab.el:5835:1:Warning: the function `comintcheckproc' might not be > defined at runtime. > matlab.el:5835:1:Warning: the following functions are not known to be > defined: > extentlist, startitimer, matlaboverlaysat, matlaboverlayget, > matlaboverlaystart, matlaboverlayend, matlabnextoverlaychange, > mlintminormode, matlabpointateol, matlabpointatbol, > matlabdeleteoverlay, matlabcanceltimer, matlabrunwithidletimer, > matlabmakeoverlay, matlaboverlayput, mlintbuffer, > mlintclearwarnings, mlintclearcrossfunctionvariablehighlighting, > setextentbeginglyph, makeextent, makeglyph, matlabeeirun, > matlabeeievalregion, matlabpreviousoverlaychange, > mousesetpoint, > viewmajormode, eventbuffer, eventpoint, > modemotionensureextentok, > detachextent, setextentendpoints > Wrote /Users/cyc/.emacs.d/elget/matlabmode/matlab.elc > emacs batch nositefile eval '(setq debugonerror t)' L ./ L > ~/cedet/trunk/lisp/cedet/ eval '(progn )' f batchbytecompile mlint.el > In toplevel form: > mlint.el:33:1:Error: Cannot open load file: eieio > make: *** [mlint.elc] Error 1 Do you guys have any ideas how I can fix this? Thanks in advance. CYC 
From: Larrabee Strow <strow@um...>  20141121 18:02:05

All, I guess I fixed the problem, I have no idea what I am doing. In my init.el file I had: (matlabshellenablegudflag nil) I don't know why, must have put that in a long time ago for some reason. Once I switched that flag to true things are working! At matlabshell startup matlab.el? is executing addpath('/Users/strow/.emacs.d/lls/matlabemacs/toolbox','begin'); rehash; emacsinit('emacsclient n'); Wasn't doing that before.. Sorry for the bother. Larrabee  L. Larrabee Strow UMBC Physics Department Email: strow@... Office: 7246637341 Google Voice: 7246631441 (best for messages) Cell: 7242886933 (usually OFF) 
From: Larrabee Strow <strow@um...>  20141121 17:18:48

Hello, I am probably doing something wrong, but I can't get the new tabcomplete working: emacs 24.4 R2014b Mac OS X (mavericks) I downloaded the whole tarball from Sourceforge, ran make (seemed to work fine, created all the .elc files). It seems like it can't find emacsdocomplete (it's in toolbox). Here is the error I get: matlabshelltab: Args out of range: "Undefined function 'emacsdocomplete' for input arguments of type 'char'. ", 858, 75 Thanks, Larrabee  L. Larrabee Strow UMBC Physics Department Email: strow@... Office: 7246637341 Google Voice: 7246631441 (best for messages) Cell: 7242886933 (usually OFF) 
From: Henrik Gollee <henrik.gollee@gl...>  20141114 17:55:54

Hi Eric, now that I understand a bit more how tab completion works in matlabemacs, I found a fix for a little bug/feature which had annoyed me for some time: For example, I would like to open a saved figure from file Fig1.fig In the matlab shell buffer, if I type open Fig1<tab> I get the correct completions (Fig1 and Fig1.fig) If I type open Fig1.<tab> [note the extra dot] then I get the completion open Fig1.Fig1.fig The same happens when completing any directory or file name which contains a ".". I found that removing the "." character from the regexp in line 4963 of matlab.el fixes this for me. (There might be some unkown side effects, though.) Below is the patch.  /home/henrik/tmp/matlabemacs/matlabemacs/matlab.el 20141113 16:09:31.651487062 +0000 +++ matlab.el 20141114 17:37:39.202090667 +0000 @@ 4960,7 +4960,7 @@ (limitpos nil)) ;; search for character which limits completion, and limit command to it (setq limitpos  (if (stringmatch ".*\\([( /[.,;=']\\)" lastcmd) + (if (stringmatch ".*\\([( /[,;=']\\)" lastcmd) (1+ (matchbeginning 1)) 0)) (setq lastcmd (substring lastcmd limitpos)) Henrik 
From: Henrik Gollee <henrik.gollee@gl...>  20141114 17:43:12

Hi Eric, the change in emacsdocomplete.m makes it work also with the older matlab versions. Thanks a lot! Henrik Eric Ludlam wrote on 14/11/14 16:49: > Hi Henrik, > > I submitted a small change that should help with 14a, though I didn't have time to try it out. If you look in the new "emacsdocomplete.m" file, you will see the basics of what's going on with a new syntax for the completion function. If there are additional problems, hopefully it will be clear what needs to be done. > > Let me know how it goes. > Eric > > Original Message > From: Henrik Gollee [mailto:henrik.gollee@...] > Sent: Thursday, November 13, 2014 4:47 PM > To: Eric Ludlam; matlabemacsdiscuss@... > Subject: Re: [Matlabemacsdiscuss] Tab completion broken with 2014b > > Hi Eric, > > this works perfectly with 2014b  thanks for the fix! > > It seems to break 2014a (and possibly older versions), though where I get the following error" > > matlabmode, version 3.3.2 > matlabshelltab: Args out of range: "Undefined function or variable \"extracmd\". > > Error in emacsdocomplete (line 24) > command = [ 'matlabMCRprocess_emacs = com.mathworks.jmi.MatlabMCR;' ... > > ", 765, 157 > > I guess this means that some workaround is still needed to keep older versions happy? > > Thanks again for continuing to look after matlabmode; it makes matlab so much easier to use. > > Henrik > > Eric Ludlam wrote on 12/11/14 20:31: >> Hi Henrick, and the rest of the Mailing list, >> >> I've checked in a fix for the TAB completion issue. Sorry it took so long. >> >> To get it, you will need to get both matlab.el, and the new file in the toolbox subdirectory emacsdocomplete.m. Your directory structure will need to match that of the CVS repository for this to work. >> >> I haven't fixed the downloader MATLAB Script yet, so you will need to do it by hand for now. I hope to get to that part soon. >> >> Let me know how it goes! >> Thanks >> Eric >> >> Original Message >> From: Eric Ludlam >> Sent: Wednesday, October 08, 2014 12:57 PM >> To: 'Henrik Gollee'; matlabemacsdiscuss@... >> Subject: RE: [Matlabemacsdiscuss] Tab completion broken with 2014b >> >> Thanks for letting me know. I'll see what I can figure out. >> >> Eric >> >> Original Message >> From: Henrik Gollee [mailto:henrik.gollee@...] >> Sent: Tuesday, October 07, 2014 5:40 PM >> To: matlabemacsdiscuss@... >> Subject: [Matlabemacsdiscuss] Tab completion broken with 2014b >> >> Hi, >> >> I am currently trying Matlab 2014b and found that tab completion is >> broken: when I press tab in a matlabshell buffer, I get the following >> error: >> matlabshelltab: Args out of range: "No method 'mtFindAllTabCompletions' with matching signature found for class 'com.mathworks.jmi.MatlabMCR'. >> >> Tab completion works fine with 2014a or earlier, so I guess something has changed on Mathwork's side of handling this. >> >> I am running Emacs 24.3.1 with matlabmode from elpa (version from >> 20140923) on Linux. >> >> Any help would be greatly appreciated. >> >> Thanks, >> >> Henrik >> >> >>  >>  Meet PCI DSS 3.0 Compliance Requirements with EventLog >> Analyzer Achieve PCI DSS 3.0 Compliant Status with Outofthebox PCI >> DSS Reports Are you AuditReady for PCI DSS 3.0 Compliance? Download >> White paper Comply to PCI DSS 3.0 Requirement 10 and 11.5 with >> EventLog Analyzer >> http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg. >> clktrk _______________________________________________ >> Matlabemacsdiscuss mailing list >> Matlabemacsdiscuss@... >> https://lists.sourceforge.net/lists/listinfo/matlabemacsdiscuss 