 
<?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: ERb syntax highlighting in gedit</title>
	<atom:link href="http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/</link>
	<description>Helping companies increase predicability and business agility.</description>
	<lastBuildDate>Thu, 18 Mar 2010 22:39:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: radu.p</title>
		<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/comment-page-1/#comment-10320</link>
		<dc:creator>radu.p</dc:creator>
		<pubDate>Tue, 10 Nov 2009 18:23:09 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=369#comment-10320</guid>
		<description>Hey dude, much appreciate your effort.thx&lt;br&gt;However i ran into a little problem.Maybe you would have a spare minute to help me.&lt;br&gt;I don&#039;t have a rails.xml file in /usr/share/mime/packages/ . Is there somethig wrong with my rails installation? and where could i get the rails.xml file u talked about?&lt;br&gt;Many thx in advance :)</description>
		<content:encoded><![CDATA[<p>Hey dude, much appreciate your effort.thx<br />However i ran into a little problem.Maybe you would have a spare minute to help me.<br />I don&#39;t have a rails.xml file in /usr/share/mime/packages/ . Is there somethig wrong with my rails installation? and where could i get the rails.xml file u talked about?<br />Many thx in advance <img src='http://blog.adsdevshop.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Guillaume</title>
		<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/comment-page-1/#comment-9556</link>
		<dc:creator>Guillaume</dc:creator>
		<pubDate>Tue, 09 Jun 2009 08:32:59 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=369#comment-9556</guid>
		<description>Thank you very much :-)</description>
		<content:encoded><![CDATA[<p>Thank you very much <img src='http://blog.adsdevshop.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tyler Mauthe</title>
		<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/comment-page-1/#comment-7784</link>
		<dc:creator>Tyler Mauthe</dc:creator>
		<pubDate>Thu, 05 Feb 2009 02:48:46 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=369#comment-7784</guid>
		<description>Great tip! This worked perfect. Fast and easy.

Thanks for the other comments too; MatLab is a biatch.</description>
		<content:encoded><![CDATA[<p>Great tip! This worked perfect. Fast and easy.</p>
<p>Thanks for the other comments too; MatLab is a biatch.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RawOnRails</title>
		<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/comment-page-1/#comment-6891</link>
		<dc:creator>RawOnRails</dc:creator>
		<pubDate>Sun, 31 Aug 2008 00:12:25 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=369#comment-6891</guid>
		<description>gEdit treats html.erb files started with &lt;% as matlab scripts because of this code
&lt;pre&gt;
&lt;code&gt;
  &lt;magic priority=&quot;10&quot;&gt;
    &lt;match value=&quot;%&quot; type=&quot;string&quot; offset=&quot;0&quot;/&gt;
  &lt;/magic&gt;
&lt;/code&gt;
&lt;/pre&gt;
in /usr/share/mime/packages/freedesktop.org.xml

Adding
&lt;pre&gt;
&lt;code&gt;
  &lt;magic priority=&quot;20&quot;&amp;gt
   &lt;match value=&quot;%&quot; type=&quot;string&quot; offset=&quot;0&quot;/&gt;
 &lt;/magic&gt;
&lt;/code&gt;
&lt;/pre&gt;
into .htm.erb section of my /usr/share/mime/packages/rails.xml solved the problem for myself.

Other way is probably removing the  section for matlab, but I didn&#039;t test it.

Anyway do not forget to
  update-mime-database /usr/share/mime
in the end.</description>
		<content:encoded><![CDATA[<p>gEdit treats html.erb files started with &lt;% as matlab scripts because of this code</p>
<pre>
<code>
  &lt;magic priority="10"&gt;
    &lt;match value="%" type="string" offset="0"/&gt;
  &lt;/magic&gt;
</code>
</pre>
<p>in /usr/share/mime/packages/freedesktop.org.xml</p>
<p>Adding</p>
<pre>
<code>
  &lt;magic priority="20"&amp;gt
   &lt;match value="%" type="string" offset="0"/&gt;
 &lt;/magic&gt;
</code>
</pre>
<p>into .htm.erb section of my /usr/share/mime/packages/rails.xml solved the problem for myself.</p>
<p>Other way is probably removing the  section for matlab, but I didn&#8217;t test it.</p>
<p>Anyway do not forget to<br />
  update-mime-database /usr/share/mime<br />
in the end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: RawOnRails</title>
		<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/comment-page-1/#comment-6890</link>
		<dc:creator>RawOnRails</dc:creator>
		<pubDate>Sun, 31 Aug 2008 00:02:28 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=369#comment-6890</guid>
		<description>gEdit treats html.erb files started with &lt;% as matlab scripts because of this code
  
    
  
in /usr/share/mime/packages/freedesktop.org.xml

Adding
  
   
 
into .htm.erb section of my /usr/share/mime/packages/rails.xml solved the problem for myself.

Other way is probably removing the  section for matlab, but I didn&#039;t test it.

Anyway do not forget to
  update-mime-database /usr/share/mime
in the end.</description>
		<content:encoded><![CDATA[<p>gEdit treats html.erb files started with &lt;% as matlab scripts because of this code</p>
<p>in /usr/share/mime/packages/freedesktop.org.xml</p>
<p>Adding</p>
<p>into .htm.erb section of my /usr/share/mime/packages/rails.xml solved the problem for myself.</p>
<p>Other way is probably removing the  section for matlab, but I didn&#8217;t test it.</p>
<p>Anyway do not forget to<br />
  update-mime-database /usr/share/mime<br />
in the end.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: 'son</title>
		<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/comment-page-1/#comment-6632</link>
		<dc:creator>'son</dc:creator>
		<pubDate>Sat, 31 May 2008 19:27:05 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=369#comment-6632</guid>
		<description>Thanks for the tips, they worked great except for the .erb files. Gedit treats some of my .erb files as html-like, but others it treats like matlab files [MIME type = &quot;MATLAB script/function (text/x-matlab)]. I played around with the .lang files and the /usr/share/mime/packages/freedesktop.org.xml file, but I couldn&#039;t figure out what I need to tweak. Any suggestions?</description>
		<content:encoded><![CDATA[<p>Thanks for the tips, they worked great except for the .erb files. Gedit treats some of my .erb files as html-like, but others it treats like matlab files [MIME type = "MATLAB script/function (text/x-matlab)]. I played around with the .lang files and the /usr/share/mime/packages/freedesktop.org.xml file, but I couldn&#8217;t figure out what I need to tweak. Any suggestions?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: brent</title>
		<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/comment-page-1/#comment-6610</link>
		<dc:creator>brent</dc:creator>
		<pubDate>Wed, 21 May 2008 14:40:53 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=369#comment-6610</guid>
		<description>this just tells gedit to use html highlights on erb/rhtml files.  that is only half of correct syntax highlighting for embedded ruby files.

The other lightweight text editors that I have tried all have the same limitation. I can get ruby highlighting, and html highlighting, but for whatever reason erb is beyond the capabilities of the editor. Which is silly because php enjoys decent html/php syntax highlighting in lots of editors, and erb is essentially the same idea.  You&#039;d think, after 4 years of rhtml you would be able to find a text editor with support for it.

</description>
		<content:encoded><![CDATA[<p>this just tells gedit to use html highlights on erb/rhtml files.  that is only half of correct syntax highlighting for embedded ruby files.</p>
<p>The other lightweight text editors that I have tried all have the same limitation. I can get ruby highlighting, and html highlighting, but for whatever reason erb is beyond the capabilities of the editor. Which is silly because php enjoys decent html/php syntax highlighting in lots of editors, and erb is essentially the same idea.  You&#8217;d think, after 4 years of rhtml you would be able to find a text editor with support for it.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Damien</title>
		<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/comment-page-1/#comment-6450</link>
		<dc:creator>Damien</dc:creator>
		<pubDate>Tue, 22 Apr 2008 09:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=369#comment-6450</guid>
		<description>Joslyn, I haven&#039;t written any snippets yet.  I&#039;m actually only using Linux as a desktop OS until I get an insurance refund to buy another Mac.  Your repository idea does sound worthwhile, maybe you should set up a git repository somewhere?  Take care, thanks for commenting.</description>
		<content:encoded><![CDATA[<p>Joslyn, I haven&#8217;t written any snippets yet.  I&#8217;m actually only using Linux as a desktop OS until I get an insurance refund to buy another Mac.  Your repository idea does sound worthwhile, maybe you should set up a git repository somewhere?  Take care, thanks for commenting.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Joslyn Esser</title>
		<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/comment-page-1/#comment-6449</link>
		<dc:creator>Joslyn Esser</dc:creator>
		<pubDate>Tue, 22 Apr 2008 08:19:40 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=369#comment-6449</guid>
		<description>Damien, do you happen to have a set of snippets you&#039;ve created? My partner has been writing up quite a few for himself as he prefers doing development work in a Linux environment. I had a set I used for awhile until I switched over to Mac/Textmate. I&#039;m wondering if it would be beneficial to folks if we hosted a repository for gedit snippets similar to the collaboration going on with the TextMate bundle? Do you think there is enough users out there to make it worthwhile?</description>
		<content:encoded><![CDATA[<p>Damien, do you happen to have a set of snippets you&#8217;ve created? My partner has been writing up quite a few for himself as he prefers doing development work in a Linux environment. I had a set I used for awhile until I switched over to Mac/Textmate. I&#8217;m wondering if it would be beneficial to folks if we hosted a repository for gedit snippets similar to the collaboration going on with the TextMate bundle? Do you think there is enough users out there to make it worthwhile?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: A Fresh Cup &#187; Blog Archive &#187; Double Shot #191</title>
		<link>http://blog.adsdevshop.com/2008/04/19/erb-syntax-highlighting-in-gedit/comment-page-1/#comment-6434</link>
		<dc:creator>A Fresh Cup &#187; Blog Archive &#187; Double Shot #191</dc:creator>
		<pubDate>Mon, 21 Apr 2008 10:02:43 +0000</pubDate>
		<guid isPermaLink="false">http://rorblog.techcfl.com/?p=369#comment-6434</guid>
		<description>[...] ERb Syntax highlighting in gedit - I don&#8217;t expect to be hacking Rails on Linux again soon, but if you do this could come in handy. [...]</description>
		<content:encoded><![CDATA[<p>[...] ERb Syntax highlighting in gedit &#8211; I don&#8217;t expect to be hacking Rails on Linux again soon, but if you do this could come in handy. [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
