From mboxrd@z Thu Jan 1 00:00:00 1970 From: wmorgan-sup@masanjin.net (William Morgan) Date: Thu, 07 Jun 2007 15:42:09 -0700 Subject: [sup-talk] sup setting my name In-Reply-To: <1181179353-sup-8570@mona> References: <1181179353-sup-8570@mona> Message-ID: <1181256092-sup-5757@south> Excerpts from jeff.covey's message of Wed Jun 06 18:30:31 -0700 2007: > sup seems to have the idea that my name is "Burning House Zendo", > apparently based on something it found while indexing. whenever it > finds a message from jeff.covey at pobox.com, it displays it with that > name, and when i start composing a message, it sets the first line to > "From: Burning House Zendo ". Hah. Good catch. I'm going to fix this in a general way by treating all names in config.yaml and contacts.txt as definitive. For the time being just delete every instance of that name from people.txt, and apply this patch: Index: lib/sup/person.rb =================================================================== --- lib/sup/person.rb (revision 433) +++ lib/sup/person.rb (working copy) @@ -19,7 +19,7 @@ ## all else being equal, prefer longer names, unless the prior name ## doesn't contain any capitalization oldcount, oldname = @names[email] - @names[email] = [0, name] if oldname.nil? || oldname.length < name.length || (oldname !~ /[A-Z]/ && name =~ /[A-Z]/) + @names[email] = [0, name] if oldname.nil? @names[email][0] = Time.now.to_i end -- William