<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/'><id>tag:blogger.com,1999:blog-25066620.post8215698814746425332..comments</id><updated>2008-05-04T20:42:27.796-05:00</updated><category term='sapir-whorf'/><category term='goebbels'/><category term='books'/><category term='collaboration'/><category term='development'/><category term='ranges'/><category term='coworking'/><category term='perforce'/><category term='rubyonrails'/><category term='array'/><category term='splat'/><category term='code generators'/><category term='activewarehouse'/><category term='darcs'/><category term='gnomevfs'/><category term='business analysis'/><category term='git'/><category term='configuration'/><category term='uk'/><category term='rails'/><category term='turbogears'/><category term='web2'/><category term='outsource'/><category term='nosql'/><category term='greatbritain'/><category term='serendipity'/><category term='jee'/><category term='bdd'/><category term='closures'/><category term='c++'/><category term='anti-patterns'/><category term='fraud'/><category term='code generation'/><category term='sin'/><category term='agile process'/><category term='illinilist'/><category term='reading'/><category term='metafusion'/><category term='agile practices'/><category term='CSS'/><category term='java'/><category term='Javascript'/><category term='kaizen'/><category term='restful'/><category term='cdbaby'/><category term='django'/><category term='concurrency'/><category term='cowboy monkey'/><category term='gedit'/><category term='monkey'/><category term='opinion'/><category term='mac'/><category term='power'/><category term='dsl'/><category term='benchmarking'/><category term='rbehave'/><category term='agile software'/><category term='specifications'/><category term='project'/><category term='chicken'/><category term='j2ee'/><category term='cjug'/><category term='datamapper'/><category term='stupid'/><category term='json'/><category term='svn'/><category term='subversion'/><category term='google'/><category term='gay marriage'/><category term='activewarehouse-etl'/><category term='pig'/><category term='ruby'/><category term='activerecord'/><category term='blocks'/><category term='ruby expressions'/><category term='=='/><category term='cryptography'/><category term='ETL'/><category term='messaging'/><category term='quote'/><category term='github'/><category term='merb'/><category term='SOA'/><category term='source control management'/><category term='mda'/><category term='think'/><category term='opensource'/><category term='neo4j'/><category term='illinois'/><category term='source control'/><category term='tdd'/><category term='ruby idioms'/><category term='productivity'/><category term='graph databases'/><category term='currying'/><category term='math'/><category term='dry'/><category term='liberty'/><category term='election'/><category term='Google Wave'/><category term='jug'/><category term='Cloud Computing'/><category term='smalltalk'/><category term='urbana'/><category term='scm'/><category term='basecamp'/><category term='dhh'/><category term='web services'/><category term='champaign urbana'/><category term='seo'/><category term='propaganda'/><category term='friendship'/><category term='ruby on rails'/><category term='energy'/><category term='scrum'/><category term='presenter'/><category term='paypal'/><category term='clearcase'/><category term='domain specific language'/><category term='twitter'/><category term='equal?'/><category term='rubyforge'/><category term='mathematics'/><category term='higher order messaging'/><category term='coffee'/><category term='project management'/><category term='conventions'/><category term='datawarehouse'/><category term='beautiful code'/><category term='reliable-msg'/><category term='engines'/><category term='warehouse'/><category term='erlang'/><category term='Feeds'/><category term='autotest'/><category term='commercial'/><category term='tony blair'/><category term='predictions'/><category term='BarCamp'/><category term='open source'/><category term='outsourcing'/><category term='HTTP'/><category term='psychology'/><category term='RSS'/><category term='web 2.0'/><category term='ROA'/><category term='champaign'/><category term='performance'/><category term='search engine optimization'/><category term='pradipta'/><category term='future'/><category term='xml'/><category term='fastcgi'/><category term='scala'/><category term='entrepreneur'/><category term='scalability'/><category term='==='/><category term='aesthetics'/><category term='arrays'/><category term='security'/><category term='blackle'/><category term='rails generators'/><category term='models'/><category term='language'/><category term='idioms'/><category term='equality'/><category term='Jabber'/><category term='user'/><category term='rspec'/><category term='editor'/><category term='looping'/><category term='libertarian'/><category term='coding'/><category term='agile methods'/><category term='testing'/><category term='release'/><category term='scam'/><category term='jms'/><category term='plugins'/><category term='prime minister'/><category term='test driven'/><category term='design patterns'/><category term='search engines'/><category term='beck'/><category term='apple'/><category term='illini'/><category term='twitter twitter4r'/><category term='enumerations'/><category term='hitler'/><category term='gnome'/><category term='ruby ranges'/><category term='england'/><category term='agile'/><category term='python'/><category term='consulting'/><category term='chicago'/><category term='great britain'/><category term='joseph goebbels'/><category term='range'/><category term='windows'/><category term='layout'/><category term='Alan Turing'/><category term='Service Oriented Architecture'/><category term='buddha'/><category term='tonyblair'/><category term='beauty'/><category term='database'/><category term='linux'/><category term='twitter4r'/><category term='software requirements'/><category term='oss'/><category term='cvs'/><category term='blair'/><category term='britain'/><category term='linguistics'/><category term='codegenie'/><category term='REST'/><category term='php'/><category term='loops'/><category term='patterns'/><category term='information leaks'/><category term='politics'/><category term='kent beck'/><category term='chambana'/><category term='XMPP'/><category term='expression'/><category term='YUI'/><category term='jvm'/><category term='book'/><category term='config'/><category term='jee5'/><category term='enumerable'/><category term='sapir whorf'/><category term='web2.0'/><category term='inject'/><category term='oo'/><category term='cowboy'/><category term='orm'/><category term='natural language'/><category term='functional programming'/><category term='ruby forwardable'/><category term='vote'/><category term='safir-whorf'/><category term='eql?'/><category term='model'/><category term='capistrano'/><category term='data'/><category term='conductor'/><title type='text'>Comments on Ruby, Javascript, Erlang blog: Snakes, Gems &amp;amp; Coffee: Registering Rails File Extensions in GEdit</title><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://geek.susanpotter.net/feeds/8215698814746425332/comments/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25066620/8215698814746425332/comments/default'/><link rel='alternate' type='text/html' href='http://geek.susanpotter.net/2007/04/registering-rails-file-extensions-in.html'/><author><name>S. Potter</name><uri>http://www.blogger.com/profile/17341145424164713662</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>4</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-25066620.post-969451506616857200</id><published>2008-05-04T19:17:00.000-05:00</published><updated>2008-05-04T19:17:00.000-05:00</updated><title type='text'>did you go to View-&gt;Highlight Mode and then choose...</title><content type='html'>did you go to View-&gt;Highlight Mode and then choose YAML under whichever menu you told it to be in when you created the yaml.lang file?</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25066620/8215698814746425332/comments/default/969451506616857200'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25066620/8215698814746425332/comments/default/969451506616857200'/><link rel='alternate' type='text/html' href='http://geek.susanpotter.net/2007/04/registering-rails-file-extensions-in.html?showComment=1209946620000#c969451506616857200' title=''/><author><name>ryan</name><uri>http://www.sudovi.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://geek.susanpotter.net/2007/04/registering-rails-file-extensions-in.html' ref='tag:blogger.com,1999:blog-25066620.post-8215698814746425332' source='http://www.blogger.com/feeds/25066620/posts/default/8215698814746425332' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-914581680'/></entry><entry><id>tag:blogger.com,1999:blog-25066620.post-2300203748378902392</id><published>2007-07-26T21:37:00.000-05:00</published><updated>2007-07-26T21:37:00.000-05:00</updated><title type='text'>I can't seem to get it working right, your syntax ...</title><content type='html'>I can't seem to get it working right, your syntax looks right, but it's not matching any of my yaml.  I have a simple assoc array like&lt;BR/&gt;&lt;BR/&gt;---&lt;BR/&gt;title: Cool Blogs&lt;BR/&gt;  blog: Snakes, Gems &amp; Coffee&lt;BR/&gt;  topic: Rails with Gedit&lt;BR/&gt;&lt;BR/&gt;I set all the types to different colors in my gedit and it's still all uncolored.  If I ever get  free moment between my projects then I'll work on it, but right now, I'm busy working 60+ hours/week in PHP.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25066620/8215698814746425332/comments/default/2300203748378902392'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25066620/8215698814746425332/comments/default/2300203748378902392'/><link rel='alternate' type='text/html' href='http://geek.susanpotter.net/2007/04/registering-rails-file-extensions-in.html?showComment=1185503820000#c2300203748378902392' title=''/><author><name>Tim Caswell</name><uri>http://www.creationix.com</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://geek.susanpotter.net/2007/04/registering-rails-file-extensions-in.html' ref='tag:blogger.com,1999:blog-25066620.post-8215698814746425332' source='http://www.blogger.com/feeds/25066620/posts/default/8215698814746425332' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-1754480097'/></entry><entry><id>tag:blogger.com,1999:blog-25066620.post-7771621423392902336</id><published>2007-06-21T17:06:00.000-05:00</published><updated>2007-06-21T17:06:00.000-05:00</updated><title type='text'>With the exception of YAML all the other language ...</title><content type='html'>With the exception of YAML all the other language specs were defined on my Linux installation (Fedora Core 6).  In the case of YAML, you will need to create a file at /usr/share/gtksourceview-1.0/language-specs/yaml.lang that looks something like the following (although it is far from perfect):&lt;BR/&gt;&lt;I&gt;&lt;BR/&gt;&amp;lt;?xml version="1.0" encoding="UTF-8"?&amp;gt;&lt;BR/&gt;&amp;lt;!DOCTYPE language SYSTEM "language.dtd"&amp;gt;&lt;BR/&gt;&amp;lt;language _name="YAML" version="1.0" _section="Others" mimetypes="text/x-yaml"&amp;gt;&lt;BR/&gt;&lt;BR/&gt;        &amp;lt;escape-char&amp;gt;\&amp;lt;/escape-char&amp;gt;&lt;BR/&gt;&lt;BR/&gt;        &amp;lt;string _name="String" style="String" end-at-line-end="FALSE"&amp;gt;&lt;BR/&gt;                &amp;lt;start-regex&amp;gt;&amp;quot;&amp;lt;/start-regex&amp;gt;&lt;BR/&gt;                &amp;lt;end-regex&amp;gt;&amp;quot;&amp;lt;/end-regex&amp;gt;&lt;BR/&gt;        &amp;lt;/string&amp;gt;&lt;BR/&gt;&lt;BR/&gt;        &amp;lt;string _name="Constant String" style="String" end-at-line-end="FALSE"&amp;gt;&lt;BR/&gt;                &amp;lt;start-regex&amp;gt;&amp;apos;&amp;lt;/start-regex&amp;gt;&lt;BR/&gt;                &amp;lt;end-regex&amp;gt;&amp;apos;&amp;lt;/end-regex&amp;gt;&lt;BR/&gt;        &amp;lt;/string&amp;gt;&lt;BR/&gt;&lt;BR/&gt;        &amp;lt;line-comment _name="Line Comment" style="Comment"&amp;gt;&lt;BR/&gt;                &amp;lt;start-regex&amp;gt;#&amp;lt;/start-regex&amp;gt;&lt;BR/&gt;        &amp;lt;/line-comment&amp;gt;&lt;BR/&gt;&lt;BR/&gt;        &amp;lt;pattern-item _name="Scalar Value" style="Scalar Value"&amp;gt;&lt;BR/&gt;                &amp;lt;regex&amp;gt;\w*&amp;lt;/regex&amp;gt;&lt;BR/&gt;        &amp;lt;/pattern-item&amp;gt;&lt;BR/&gt;&lt;BR/&gt;        &amp;lt;pattern-item _name="List Item Value" style="List Item Value"&amp;gt;&lt;BR/&gt;                &amp;lt;regex&amp;gt;^\- .*&amp;lt;/regex&amp;gt;&lt;BR/&gt;        &amp;lt;/pattern-item&amp;gt;&lt;BR/&gt;&lt;BR/&gt;        &amp;lt;pattern-item _name="Key" style="Key"&amp;gt;&lt;BR/&gt;                &amp;lt;regex&amp;gt;^[\w_]*:&amp;lt;/regex&amp;gt;&lt;BR/&gt;        &amp;lt;/pattern-item&amp;gt;&lt;BR/&gt;&lt;BR/&gt;        &amp;lt;pattern-item _name="Inner Key" style="Inner Key"&amp;gt;&lt;BR/&gt;                &amp;lt;regex&amp;gt;\W[\w_]*:&amp;lt;/regex&amp;gt;&lt;BR/&gt;        &amp;lt;/pattern-item&amp;gt;&lt;BR/&gt;&amp;lt;/language&amp;gt;&lt;BR/&gt;&lt;/I&gt;&lt;BR/&gt;&lt;BR/&gt;Then after the language spec is defined for gtksourceview you can customize the colors to be used for each pattern item in GEdit's Preferences (under the Syntax Highlight tab).&lt;BR/&gt;&lt;BR/&gt;HTH and let me know how I can tweak the yaml.lang file further if you play around with it.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25066620/8215698814746425332/comments/default/7771621423392902336'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25066620/8215698814746425332/comments/default/7771621423392902336'/><link rel='alternate' type='text/html' href='http://geek.susanpotter.net/2007/04/registering-rails-file-extensions-in.html?showComment=1182463560000#c7771621423392902336' title=''/><author><name>S. Potter</name><uri>http://www.blogger.com/profile/17341145424164713662</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://geek.susanpotter.net/2007/04/registering-rails-file-extensions-in.html' ref='tag:blogger.com,1999:blog-25066620.post-8215698814746425332' source='http://www.blogger.com/feeds/25066620/posts/default/8215698814746425332' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-2109202150'/></entry><entry><id>tag:blogger.com,1999:blog-25066620.post-1089995773044779192</id><published>2007-06-21T13:37:00.000-05:00</published><updated>2007-06-21T13:37:00.000-05:00</updated><title type='text'>Do you know of a way to add color support for thes...</title><content type='html'>Do you know of a way to add color support for these mime types to gedit, or is that a lot harder.  Thanks for the tip by the way.</content><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/25066620/8215698814746425332/comments/default/1089995773044779192'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/25066620/8215698814746425332/comments/default/1089995773044779192'/><link rel='alternate' type='text/html' href='http://geek.susanpotter.net/2007/04/registering-rails-file-extensions-in.html?showComment=1182451020000#c1089995773044779192' title=''/><author><name>Tim Caswell</name><uri>http://www.creationix.com/</uri><email>noreply@blogger.com</email><gd:image xmlns:gd='http://schemas.google.com/g/2005' rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img1.blogblog.com/img/blank.gif'/></author><thr:in-reply-to xmlns:thr='http://purl.org/syndication/thread/1.0' href='http://geek.susanpotter.net/2007/04/registering-rails-file-extensions-in.html' ref='tag:blogger.com,1999:blog-25066620.post-8215698814746425332' source='http://www.blogger.com/feeds/25066620/posts/default/8215698814746425332' type='text/html'/><gd:extendedProperty xmlns:gd='http://schemas.google.com/g/2005' name='blogger.itemClass' value='pid-121822122'/></entry></feed>
