* [sup-talk] sup setting my name
@ 2007-06-07 1:30 jeff.covey at pobox.com
2007-06-07 22:42 ` William Morgan
0 siblings, 1 reply; 6+ messages in thread
From: jeff.covey at pobox.com @ 2007-06-07 1:30 UTC (permalink / raw)
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>".
why does it do this, and how can i make it stop? adding an alias for my
address doesn't help, nor does changing the text after the numbers in
~/.sup/people.txt.
why doesn't it use the name information i set in ~/.sup/config.yaml? i have
:name: set to "jeff covey" there, and have :email: and :alternates: set.
thanks,
--
jeff covey
http://jeffcovey.net/
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sup-talk] sup setting my name
2007-06-07 1:30 [sup-talk] sup setting my name jeff.covey at pobox.com
@ 2007-06-07 22:42 ` William Morgan
2007-06-08 22:52 ` William Morgan
0 siblings, 1 reply; 6+ messages in thread
From: William Morgan @ 2007-06-07 22:42 UTC (permalink / raw)
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>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sup-talk] sup setting my name
2007-06-07 22:42 ` William Morgan
@ 2007-06-08 22:52 ` William Morgan
2007-06-10 18:37 ` jeff covey
0 siblings, 1 reply; 6+ messages in thread
From: William Morgan @ 2007-06-08 22:52 UTC (permalink / raw)
Excerpts from William Morgan's message of Thu Jun 07 15:42:09 -0700 2007:
> 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.
Ok, I believe I've fixed this in SVN. Jeff, you will have to reverse
that patch before updating, or otherwise resolve the conflict. Let me
know if I've managed to break something.
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sup-talk] sup setting my name
2007-06-08 22:52 ` William Morgan
@ 2007-06-10 18:37 ` jeff covey
2007-06-11 18:33 ` William Morgan
0 siblings, 1 reply; 6+ messages in thread
From: jeff covey @ 2007-06-10 18:37 UTC (permalink / raw)
> Ok, I believe I've fixed this in SVN.
it's fixed for composing messages, but the name displayed in threads is
still whatever sup put in people.txt. in this thread, for example, the
first message was still displayed as being from Burning House Zendo in
inbox-mode, thread-view-mode, etc. i moved people.txt out of the way, and
it started showing me as jeff.covey. i edited that to "jeff covey" in the
newly-generated people.txt, and it started showing me that.
it's not a big deal, but the display is probably most readily intelligible
if it shows people whatever names they have set for themselves in
config.yaml and the names they have set for others in contacts.txt. or
would it be even better to use "me" for messages from oneself (from all the
primary and alternate addresses), as gmail does? "me" takes the least space
on the screen, leaving more room for the names of the other conversation
participants, which is what you really want to see.
thanks!
--
jeff covey
http://jeffcovey.net/
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sup-talk] sup setting my name
2007-06-10 18:37 ` jeff covey
@ 2007-06-11 18:33 ` William Morgan
2007-06-12 1:22 ` jeff covey
0 siblings, 1 reply; 6+ messages in thread
From: William Morgan @ 2007-06-11 18:33 UTC (permalink / raw)
Excerpts from Jeff Covey's message of Sun Jun 10 11:37:52 -0700 2007:
> > Ok, I believe I've fixed this in SVN.
>
> it's fixed for composing messages, but the name displayed in threads is
> still whatever sup put in people.txt.
Ok, it should be "really fixed" now. Everything in contact.txt and
config.yaml should override everything in people.txt. Which is as it
should be, as the latter is auto-generated and the former is human-
generated.
The reason for the weirdness with Burning House Zendo, btw, is that I
have a heuristic when I have multiple names for a given email address to
prefer the longest one, which is clearly deficient in many cases.
> would it be even better to use "me" for messages from oneself (from
> all the primary and alternate addresses), as gmail does?
Apparently I broke that a few revisions ago. Should be fixed now.
Let me know how it's working for you now.
--
William <wmorgan-sup at masanjin.net>
^ permalink raw reply [flat|nested] 6+ messages in thread
* [sup-talk] sup setting my name
2007-06-11 18:33 ` William Morgan
@ 2007-06-12 1:22 ` jeff covey
0 siblings, 0 replies; 6+ messages in thread
From: jeff covey @ 2007-06-12 1:22 UTC (permalink / raw)
Excerpts from William Morgan's message of Mon Jun 11 14:33:51 -0400 2007:
> Let me know how it's working for you now.
seems to be ok; thanks!
--
jeff covey
http://jeffcovey.net/
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2007-06-12 1:22 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-06-07 1:30 [sup-talk] sup setting my name jeff.covey at pobox.com
2007-06-07 22:42 ` William Morgan
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
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox