Archive of RubyForge sup-talk mailing list
 help / color / mirror / Atom feed
* [sup-talk] Odd bug with lazy-loaded messages
@ 2009-07-27 17:36 Edward Z. Yang
  2009-08-03 17:18 ` William Morgan
  0 siblings, 1 reply; 5+ messages in thread
From: Edward Z. Yang @ 2009-07-27 17:36 UTC (permalink / raw)


I've been experiencing an odd bug with the following patch
for lazy loading messages:

--- a/lib/sup/modes/thread-index-mode.rb
+++ b/lib/sup/modes/thread-index-mode.rb
@@ -103,7 +103,6 @@ EOS
         t.each_with_index do |(m, *o), i|
           next unless m
           BufferManager.say "#{message} (#{i}/#{num})", sid if t.size > 1
-          m.load_from_source! 
         end
       end

Specifically, the "default" opened message when I open a thread
gets a weird misrendering of the headers that looks like:

To: foo
    foo <foo at example.com>
    foo

And so forth, for all lines in To and Cc.

Any ideas what could be causing this?  I checked load_from_source! in message.rb
but didn't see anything obvious that would prevent this behavior.

Cheers,
Edward


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-12-15 22:41 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-27 17:36 [sup-talk] Odd bug with lazy-loaded messages Edward Z. Yang
2009-08-03 17:18 ` William Morgan
2009-08-08  6:07   ` Edward Z. Yang
2009-08-09  8:40     ` Edward Z. Yang
2009-12-15 22:40       ` Edward Z. Yang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox