From: wmorgan Date: Thu, 8 Feb 2007 21:39:29 +0000 (+0000) Subject: various updates X-Git-Url: https://git.cworth.org/git?a=commitdiff_plain;h=fba7902420ca7f704e594f8ac64d612f2c029652;p=sup various updates git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@308 5c8cc53c-5e98-4d25-b20a-d8db53a31250 --- diff --git a/doc/FAQ.txt b/doc/FAQ.txt index 1070518..1e359dc 100644 --- a/doc/FAQ.txt +++ b/doc/FAQ.txt @@ -8,6 +8,9 @@ Q: If you love GMail so much, why not just use it? A: I hate ads, I hate using a mouse, and I hate non-programmability and non-extensibility. + Also, GMail encourages top-posting in a variety of ways. THIS CANNOT BE + TOLERATED! + Q: Why the console? A: There are many advantages to the console. A few keystrokes can accomplish the work of a hundred mouse clicks diff --git a/doc/TODO b/doc/TODO index 08139cf..3233779 100644 --- a/doc/TODO +++ b/doc/TODO @@ -1,5 +1,7 @@ for next release ---------------- +bugfix: STILL new messages, drafts sometimes not showing up in inbox +make 'a' archive in thread-view-mode message attachments warnings: top-posting, attachments bugfix: deleted threads are showing up @@ -32,7 +34,6 @@ toggle wrapping done ---- -x bugfix: new messages, drafts sometimes not showing up in inbox x bugfix: killed threads x bugfix: resuming a draft asks before discard x add a flag to sup-import to force the creation of a new source (see http://rubyforge.org/forum/forum.php?thread_id=10973&forum_id=10340) diff --git a/lib/sup/modes/thread-index-mode.rb b/lib/sup/modes/thread-index-mode.rb index 3442964..70bbffd 100644 --- a/lib/sup/modes/thread-index-mode.rb +++ b/lib/sup/modes/thread-index-mode.rb @@ -309,6 +309,7 @@ class ThreadIndexMode < LineCursorMode t = @threads[curpos] or return m = t.latest_message return if m.nil? # probably won't happen + m.load_from_source! mode = ForwardMode.new m BufferManager.spawn "Forward of #{m.subj}", mode mode.edit diff --git a/lib/sup/modes/thread-view-mode.rb b/lib/sup/modes/thread-view-mode.rb index 897f863..0cd70cd 100644 --- a/lib/sup/modes/thread-view-mode.rb +++ b/lib/sup/modes/thread-view-mode.rb @@ -287,7 +287,7 @@ private @text += chunk_to_lines m, nil, @text.length, depth, parent next end - l = @layout[m] + l = @layout[m] or next # TODO: figure out why this is nil sometimes ## build the patina text = chunk_to_lines m, l.state, @text.length, depth, parent, @layout[m].color