<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Autotest and Vim integration</title>
	<atom:link href="http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/feed/" rel="self" type="application/rss+xml" />
	<link>http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/</link>
	<description>The act of making love, tenderly.</description>
	<lastBuildDate>Mon, 21 May 2012 21:22:48 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Delicious Bookmarks for November 30th from 15:14 to 15:36 &#171; Lâmôlabs</title>
		<link>http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/comment-page-1/#comment-127010</link>
		<dc:creator>Delicious Bookmarks for November 30th from 15:14 to 15:36 &#171; Lâmôlabs</dc:creator>
		<pubDate>Tue, 30 Nov 2010 21:04:31 +0000</pubDate>
		<guid isPermaLink="false">http://tenderlovemaking.com/?p=289#comment-127010</guid>
		<description>[...] Autotest and Vim integration &#8211; Tender Lovemaking &#8211; November 30th  ( tags: autotest cool dev development editor editors ide integration programming rails ruby tdd vim ) [...]</description>
		<content:encoded><![CDATA[<p>[...] Autotest and Vim integration &ndash; Tender Lovemaking &#8211; November 30th  ( tags: autotest cool dev development editor editors ide integration programming rails ruby tdd vim ) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: djh</title>
		<link>http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/comment-page-1/#comment-121202</link>
		<dc:creator>djh</dc:creator>
		<pubDate>Wed, 11 Aug 2010 19:15:32 +0000</pubDate>
		<guid isPermaLink="false">http://tenderlovemaking.com/?p=289#comment-121202</guid>
		<description>You probably want to change the write hook to strip escape sequences if you have autotest print in colour


  Autotest.add_hook :ran_command do &#124;at&#124;
    File.open( &#039;/tmp/autotest.txt&#039;, &#039;wb&#039; ) do &#124;f&#124;
      f.write at.results.join.gsub( /\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m&#124;K]/, &#039;&#039; )
    end
  end



[1] http://serverfault.com/questions/71285/in-centos-4-4-how-can-i-strip-escape-sequences-from-a-text-file</description>
		<content:encoded><![CDATA[<p>You probably want to change the write hook to strip escape sequences if you have autotest print in colour</p>
<p>  Autotest.add_hook :ran_command do |at|<br />
    File.open( &#8216;/tmp/autotest.txt&#8217;, &#8216;wb&#8217; ) do |f|<br />
      f.write at.results.join.gsub( /\x1B\[([0-9]{1,2}(;[0-9]{1,2})?)?[m|K]/, &#8221; )<br />
    end<br />
  end</p>
<p>[1] <a href="http://serverfault.com/questions/71285/in-centos-4-4-how-can-i-strip-escape-sequences-from-a-text-file" rel="nofollow">http://serverfault.com/questions/71285/in-centos-4-4-how-can-i-strip-escape-sequences-from-a-text-file</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ujihisa</title>
		<link>http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/comment-page-1/#comment-119510</link>
		<dc:creator>ujihisa</dc:creator>
		<pubDate>Sun, 25 Jul 2010 19:42:22 +0000</pubDate>
		<guid isPermaLink="false">http://tenderlovemaking.com/?p=289#comment-119510</guid>
		<description>omg... tags were removed...</description>
		<content:encoded><![CDATA[<p>omg&#8230; tags were removed&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ujihisa</title>
		<link>http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/comment-page-1/#comment-119509</link>
		<dc:creator>ujihisa</dc:creator>
		<pubDate>Sun, 25 Jul 2010 19:41:57 +0000</pubDate>
		<guid isPermaLink="false">http://tenderlovemaking.com/?p=289#comment-119509</guid>
		<description>nnoremap fd :cf /tmp/autotoest.txt:compiler rubyunit

would be better than 

nmap fd :cf /tmp/autotest.txt :compiler rubyunit

because

*  can be mapped into another key (actually I did)
* if you type numbers before fd unconciously, the command cf would run many times</description>
		<content:encoded><![CDATA[<p>nnoremap fd :cf /tmp/autotoest.txt:compiler rubyunit</p>
<p>would be better than </p>
<p>nmap fd :cf /tmp/autotest.txt :compiler rubyunit</p>
<p>because</p>
<p>*  can be mapped into another key (actually I did)<br />
* if you type numbers before fd unconciously, the command cf would run many times</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mitko</title>
		<link>http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/comment-page-1/#comment-80886</link>
		<dc:creator>Mitko</dc:creator>
		<pubDate>Wed, 17 Jun 2009 15:55:16 +0000</pubDate>
		<guid isPermaLink="false">http://tenderlovemaking.com/?p=289#comment-80886</guid>
		<description>&lt;p&gt;Really nice.&lt;/p&gt;

&lt;p&gt;Altough doesn&#039;t work correctly on linux.
The thing is &quot;compiler rubyunit&quot; opens the file &quot;/test/functional/user&lt;em&gt;controller&lt;/em&gt;test.rb&quot;, not &quot;/home/{user}/{path&lt;em&gt;to&lt;/em&gt;rails&lt;em&gt;app}/test/functional/user&lt;/em&gt;controller_test.rb&quot;, which is empty file.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Really nice.</p>
<p>Altough doesn&#8217;t work correctly on linux.<br />
The thing is &#8220;compiler rubyunit&#8221; opens the file &#8220;/test/functional/user<em>controller</em>test.rb&#8221;, not &#8220;/home/{user}/{path<em>to</em>rails<em>app}/test/functional/user</em>controller_test.rb&#8221;, which is empty file.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Aaron Patterson</title>
		<link>http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/comment-page-1/#comment-77437</link>
		<dc:creator>Aaron Patterson</dc:creator>
		<pubDate>Thu, 21 May 2009 01:13:04 +0000</pubDate>
		<guid isPermaLink="false">http://tenderlovemaking.com/?p=289#comment-77437</guid>
		<description>&lt;p&gt;@Ryan We&#039;re almost there!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>@Ryan We&#8217;re almost there!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ryan Davis</title>
		<link>http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/comment-page-1/#comment-77415</link>
		<dc:creator>Ryan Davis</dc:creator>
		<pubDate>Wed, 20 May 2009 22:08:51 +0000</pubDate>
		<guid isPermaLink="false">http://tenderlovemaking.com/?p=289#comment-77415</guid>
		<description>&lt;p&gt;Welcome to emacs in 2006... you&#039;re catching up!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>Welcome to emacs in 2006&#8230; you&#8217;re catching up!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jinzhu</title>
		<link>http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/comment-page-1/#comment-77306</link>
		<dc:creator>Jinzhu</dc:creator>
		<pubDate>Wed, 20 May 2009 01:40:38 +0000</pubDate>
		<guid isPermaLink="false">http://tenderlovemaking.com/?p=289#comment-77306</guid>
		<description>&lt;p&gt;wow,  Really awesome!&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>wow,  Really awesome!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Adam Anderson</title>
		<link>http://tenderlovemaking.com/2009/05/18/autotest-and-vim-integration/comment-page-1/#comment-77189</link>
		<dc:creator>Adam Anderson</dc:creator>
		<pubDate>Tue, 19 May 2009 06:24:33 +0000</pubDate>
		<guid isPermaLink="false">http://tenderlovemaking.com/?p=289#comment-77189</guid>
		<description>&lt;p&gt;I would&#039;ve figured to get this working on rspec that you&#039;d just need to change the compiler to rspec but no luck so far... Hopefully I&#039;ll figure this out because this is clearly awesome. Thanks for the great post.&lt;/p&gt;
</description>
		<content:encoded><![CDATA[<p>I would&#8217;ve figured to get this working on rspec that you&#8217;d just need to change the compiler to rspec but no luck so far&#8230; Hopefully I&#8217;ll figure this out because this is clearly awesome. Thanks for the great post.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

