<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.3.1" -->
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	>
<channel>
	<title>Comments on: M-Lint Live in Editor in R2006a</title>
	<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/</link>
	<description>Loren Shure  works on design of the MATLAB language at The MathWorks. She writes here about once a week on MATLAB programming and related topics. </description>
	<pubDate>Mon, 08 Sep 2008 06:17:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.3.1</generator>
		<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-12371</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Thu, 21 Sep 2006 10:46:19 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-12371</guid>
		<description>Here's what I found on the MathWorks support web site:

http://www.mathworks.com/access/helpdesk/help/toolbox/rtw/tlc/index.html?/access/helpdesk/help/toolbox/rtw/tlc/f428005.html

If that doesn't help, I recommend you contact technical support:

http://www.mathworks.com/support/contact_us/ts/help_request_1.html

--Loren</description>
		<content:encoded><![CDATA[<p>Here&#8217;s what I found on the MathWorks support web site:</p>
<p><a href="http://www.mathworks.com/access/helpdesk/help/toolbox/rtw/tlc/index.html?/access/helpdesk/help/toolbox/rtw/tlc/f428005.html" rel="nofollow">http://www.mathworks.com/access/helpdesk/help/toolbox/rtw/tlc/index.html?/access/helpdesk/help/toolbox/rtw/tlc/f428005.html</a></p>
<p>If that doesn&#8217;t help, I recommend you contact technical support:</p>
<p><a href="http://www.mathworks.com/support/contact_us/ts/help_request_1.html" rel="nofollow">http://www.mathworks.com/support/contact_us/ts/help_request_1.html</a></p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Li Dayong</title>
		<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-12304</link>
		<dc:creator>Li Dayong</dc:creator>
		<pubDate>Thu, 21 Sep 2006 01:49:29 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-12304</guid>
		<description>How can configure mlint when I edit dot m file in Emacs in Linux? Every time I open a M file in Emacs, it complains that "no MLINT program available". I find mlint in matlab/bin/glnx86, but it seems that Emacs can not use it properly. 

Thanks!</description>
		<content:encoded><![CDATA[<p>How can configure mlint when I edit dot m file in Emacs in Linux? Every time I open a M file in Emacs, it complains that &#8220;no MLINT program available&#8221;. I find mlint in matlab/bin/glnx86, but it seems that Emacs can not use it properly. </p>
<p>Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-157</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Wed, 03 May 2006 11:50:18 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-157</guid>
		<description>I agree about needing to allow mlint to be customized so users can choose which messages are important for their particular work.  People here are thinking hard about that issue.</description>
		<content:encoded><![CDATA[<p>I agree about needing to allow mlint to be customized so users can choose which messages are important for their particular work.  People here are thinking hard about that issue.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jette</title>
		<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-156</link>
		<dc:creator>Jette</dc:creator>
		<pubDate>Wed, 03 May 2006 11:47:07 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-156</guid>
		<description>I like mlint in the editor - but I miss the possibility to tell mlint to ignore certain types of problems. We have a number of (partially ugly) patterns in our code which we can't change in the near future but which produce a number of mlint-messages. It is quite difficult to find the few really useful messages in between all the messages about things we know. In my opinion, marking a line with %#ok is not a solution.</description>
		<content:encoded><![CDATA[<p>I like mlint in the editor - but I miss the possibility to tell mlint to ignore certain types of problems. We have a number of (partially ugly) patterns in our code which we can&#8217;t change in the near future but which produce a number of mlint-messages. It is quite difficult to find the few really useful messages in between all the messages about things we know. In my opinion, marking a line with %#ok is not a solution.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Matthew Simoneau</title>
		<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-97</link>
		<dc:creator>Matthew Simoneau</dc:creator>
		<pubDate>Tue, 28 Mar 2006 21:07:15 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-97</guid>
		<description>I uploaded a &lt;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=10514&#38;objectType=file" rel="nofollow"&gt;submission&lt;/a&gt; to the File Exchange to let you compute your Code Metrics offline.</description>
		<content:encoded><![CDATA[<p>I uploaded a <a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=10514&amp;objectType=file" rel="nofollow">submission</a> to the File Exchange to let you compute your Code Metrics offline.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John D'Errico</title>
		<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-92</link>
		<dc:creator>John D'Errico</dc:creator>
		<pubDate>Mon, 20 Mar 2006 17:37:13 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-92</guid>
		<description>Martin had an interesting idea. But instead of creating a special new variable called "unused", why not "ans"? It is already the bit bucket that stuff gets put into anyway.

John</description>
		<content:encoded><![CDATA[<p>Martin had an interesting idea. But instead of creating a special new variable called &#8220;unused&#8221;, why not &#8220;ans&#8221;? It is already the bit bucket that stuff gets put into anyway.</p>
<p>John</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-90</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Sun, 19 Mar 2006 12:52:45 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-90</guid>
		<description>Josh-

I am not knowledgeable about emacs (though thankfully there are some at MathWorks).  Hopefully someone who does know more can add to this thread.  &lt;a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=104&#038;objectType=file" rel="nofollow"&gt;Here&lt;/a&gt;'s one matlab mode file, but I don't know if it includes the mlint capability.
&lt;p&gt;
From the MATLAB documentation, here's another &lt;a href="http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/guiref18.html#22011"&gt;recommendation&lt;/a&gt;.  You'll get a good link if you search for &lt;kbd&gt;emacslink&lt;/kbd&gt; in the MATLAB documentation.  It tells you how to download it and points you to installation choices, including configuring it for an integrated &lt;kbd&gt;mlint&lt;/kbd&gt; experience.
&lt;p&gt;
There is a menu item in Emacs to turn on the M-Lint warnings, or you can read the
header-comments in mlint.el to see how to configure it automatically.
</description>
		<content:encoded><![CDATA[<p>Josh-</p>
<p>I am not knowledgeable about emacs (though thankfully there are some at MathWorks).  Hopefully someone who does know more can add to this thread.  <a href="http://www.mathworks.com/matlabcentral/fileexchange/loadFile.do?objectId=104&#038;objectType=file" rel="nofollow">Here</a>&#8217;s one matlab mode file, but I don&#8217;t know if it includes the mlint capability.</p>
<p>
From the MATLAB documentation, here&#8217;s another <a href="http://www.mathworks.com/access/helpdesk/help/techdoc/matlab_env/guiref18.html#22011">recommendation</a>.  You&#8217;ll get a good link if you search for <kbd>emacslink</kbd> in the MATLAB documentation.  It tells you how to download it and points you to installation choices, including configuring it for an integrated <kbd>mlint</kbd> experience.</p>
<p>
There is a menu item in Emacs to turn on the M-Lint warnings, or you can read the<br />
header-comments in mlint.el to see how to configure it automatically.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Josh</title>
		<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-89</link>
		<dc:creator>Josh</dc:creator>
		<pubDate>Sat, 18 Mar 2006 22:41:51 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-89</guid>
		<description>Loren,

I like that M-Lint seems to find non-trivial code issues (like replacing prod(size(x)) with numel(x)), but I am not ready to give up using emacs for editting .m files.

What is the best way to use emacs with M-Lint? (I saw something about matlab-mode on your Newsletter, but it seemed unclear to me).

Thanks,
Josh</description>
		<content:encoded><![CDATA[<p>Loren,</p>
<p>I like that M-Lint seems to find non-trivial code issues (like replacing prod(size(x)) with numel(x)), but I am not ready to give up using emacs for editting .m files.</p>
<p>What is the best way to use emacs with M-Lint? (I saw something about matlab-mode on your Newsletter, but it seemed unclear to me).</p>
<p>Thanks,<br />
Josh</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: martin cohen</title>
		<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-88</link>
		<dc:creator>martin cohen</dc:creator>
		<pubDate>Sat, 18 Mar 2006 05:07:10 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-88</guid>
		<description>How about having a special variable name (such as "unused") to indicate a variable that will not be used. It could be followed by any number of digits to allow multiple unused variables in the same expression.

So, the statement above could be

[unused , tags] = sort(x);</description>
		<content:encoded><![CDATA[<p>How about having a special variable name (such as &#8220;unused&#8221;) to indicate a variable that will not be used. It could be followed by any number of digits to allow multiple unused variables in the same expression.</p>
<p>So, the statement above could be</p>
<p>[unused , tags] = sort(x);</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Loren</title>
		<link>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-87</link>
		<dc:creator>Loren</dc:creator>
		<pubDate>Fri, 17 Mar 2006 14:49:56 +0000</pubDate>
		<guid>http://blogs.mathworks.com/loren/2006/03/15/m-lint-in-r2006a/#comment-87</guid>
		<description>John-

I totally agree (and it's still true in R2006a).  MATLAB doesn't have a nice way to mark unused variables and toss them nicely (the equivalent of /dev/null).  I assume you'd like mlint to still tell you about other variables that truly aren't used, like if I have code where I mistype a variable name.  But these unused ones that are unavoidable right now and yet required by MATLAB are a real annoyance.

--Loren</description>
		<content:encoded><![CDATA[<p>John-</p>
<p>I totally agree (and it&#8217;s still true in R2006a).  MATLAB doesn&#8217;t have a nice way to mark unused variables and toss them nicely (the equivalent of /dev/null).  I assume you&#8217;d like mlint to still tell you about other variables that truly aren&#8217;t used, like if I have code where I mistype a variable name.  But these unused ones that are unavoidable right now and yet required by MATLAB are a real annoyance.</p>
<p>&#8211;Loren</p>
]]></content:encoded>
	</item>
</channel>
</rss>
