<?xml version="1.0" encoding="UTF-8"?>
<commit>
  <added type="array"/>
  <modified type="array">
    <modified>
      <diff>@@ -5,8 +5,8 @@ type: :feature
 component: twitterui
 release: &quot;0.1&quot;
 reporter: Arnaud Berthomier &lt;oz@cyprio.net&gt;
-status: :unstarted
-disposition: 
+status: :closed
+disposition: :fixed
 creation_time: 2008-06-29 20:26:19.458852 Z
 references: []
 
@@ -16,3 +16,7 @@ log_events:
   - Arnaud Berthomier &lt;oz@cyprio.net&gt;
   - created
   - &quot;&quot;
+- - 2008-06-30 13:45:28.725599 Z
+  - Arnaud Berthomier &lt;oz@cyprio.net&gt;
+  - closed issue with disposition fixed
+  - &quot;&quot;</diff>
      <filename>bugs/issue-871e9668f6b6ee7d26fdb7beb8dabe7ae84f0345.yaml</filename>
    </modified>
    <modified>
      <diff>@@ -47,7 +47,7 @@ class TwitterApp
     unless config.nil?
       @login     = config[:user]
       @password  = config[:password]
-      @cache_dir = config[:cache_dir]
+      @cache_dir = config[:cache_dir] || ENV['HOME'] + '/.twitterui/cache'
       @twitter   = Twitter::Base.new @login, @password
       @coder     = HTMLEntities.new
     end
@@ -223,10 +223,10 @@ class TwitterUI &lt; Shoes
     text.gsub!(/&amp;lt;/, '&lt;')
     text.gsub!(/&amp;gt;/, '&gt;')
     text.gsub!(/#/, &quot;\\#&quot;)
-    return '&quot;'+text+'&quot;' unless text.include? 'http'
+    return '&quot;'+text+'&quot;' unless text.include?('http') || text.include?('@')
 
     # Clickable links.
-    text.split.collect do |tok|
+    text = text.split.collect do |tok|
       if tok =~ /http:\/\//
         tok.gsub(/(.*)(http:\/\/.*)/, '&quot;\1&quot;, link(&quot;\2&quot;, :click =&gt; &quot;\2&quot;,' +
                                 ':stroke =&gt; orange, :fill =&gt; &quot;'+bg+'&quot;), &quot; &quot;') + ' '
@@ -234,6 +234,12 @@ class TwitterUI &lt; Shoes
         &quot;\&quot;#{tok} \&quot;&quot;
       end
     end.join(', ')
+
+    if text.include? '@'
+      text.gsub!(/(.*)@(\w+)\b(.*)/, '\1@&quot;, link(&quot;\2&quot;, :click =&gt; &quot;http://twitter.com/\2&quot;,'+
+        ' :underline =&gt; false, :stroke =&gt; &quot;#bfd34a&quot;, :fill =&gt; &quot;'+bg+'&quot;), &quot;\3')
+    end
+    text
   end
 
   # shows update edit-box &amp; refresh links...</diff>
      <filename>twitterui.rb</filename>
    </modified>
  </modified>
  <removed type="array"/>
  <parents type="array">
    <parent>
      <id>42b0b663bccbcf18e3876efe59cfd9e4f0f733ef</id>
    </parent>
  </parents>
  <author>
    <name>Arnaud Berthomier</name>
    <email>oz@cyprio.net</email>
  </author>
  <url>http://github.com/oz/twitterui/commit/bb4939131b3d52c569d5b26b203e583d6637269a</url>
  <id>bb4939131b3d52c569d5b26b203e583d6637269a</id>
  <committed-date>2008-06-30T06:46:20-07:00</committed-date>
  <authored-date>2008-06-30T06:46:20-07:00</authored-date>
  <message>Highlight &quot;@someone&quot; in friends' status messages + turn to link.</message>
  <tree>b9a41cb95e234ce78ecb29cac9d3e5117a5f2ff1</tree>
  <committer>
    <name>Arnaud Berthomier</name>
    <email>oz@cyprio.net</email>
  </committer>
</commit>
