From: wmorgan-sup@masanjin.net (William Morgan)
Subject: [sup-talk] sup setting my name
Date: Thu, 07 Jun 2007 15:42:09 -0700 [thread overview]
Message-ID: <1181256092-sup-5757@south> (raw)
In-Reply-To: <1181179353-sup-8570@mona>
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 <jeff.covey at pobox.com>".
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 <wmorgan-sup at masanjin.net>
next prev parent reply other threads:[~2007-06-07 22:42 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-06-07 1:30 jeff.covey at pobox.com
2007-06-07 22:42 ` William Morgan [this message]
2007-06-08 22:52 ` William Morgan
2007-06-10 18:37 ` jeff covey
2007-06-11 18:33 ` William Morgan
2007-06-12 1:22 ` jeff covey
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1181256092-sup-5757@south \
--to=wmorgan-sup@masanjin.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox