From: ezyang@MIT.EDU (Edward Z. Yang)
Subject: [sup-talk] Odd bug with lazy-loaded messages
Date: Mon, 27 Jul 2009 13:36:10 -0400 [thread overview]
Message-ID: <1248716007-sup-5156@javelin> (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
next reply other threads:[~2009-07-27 17:36 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-07-27 17:36 Edward Z. Yang [this message]
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
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=1248716007-sup-5156@javelin \
--to=ezyang@mit.edu \
/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