]> git.notmuchmail.org Git - sup/commitdiff
various updates
authorwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 8 Feb 2007 21:39:29 +0000 (21:39 +0000)
committerwmorgan <wmorgan@5c8cc53c-5e98-4d25-b20a-d8db53a31250>
Thu, 8 Feb 2007 21:39:29 +0000 (21:39 +0000)
git-svn-id: svn://rubyforge.org/var/svn/sup/trunk@308 5c8cc53c-5e98-4d25-b20a-d8db53a31250

doc/FAQ.txt
doc/TODO
lib/sup/modes/thread-index-mode.rb
lib/sup/modes/thread-view-mode.rb

index 107051843edcd95a24dd4da87c0abd124bf80007..1e359dc51dec82b1deff58568ae471e90cfbe3ca 100644 (file)
@@ -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
index 08139cf553b71ad1b97f93cf3bdb13522eded99f..3233779464a8f6efeaec53affe55d00d8e3a9366 100644 (file)
--- 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)
index 34429642045f89f8acd266a454ce489fc07136b2..70bbffd8cde784c102e83b7e96ec3b09d68d1ff9 100644 (file)
@@ -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
index 897f863d73b0e52771d73102d7a06800a85890ef..0cd70cdca502591d415098dfa2d0780b78040dcf 100644 (file)
@@ -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