on startup, multi-threadedly call #connect on all sources
support for message-content modules such as ruby-talk:XXXXX detection
use Net::SMTP
-search for other messages from author in thread-view-mode
forward attachments
CREATE attachments
tab completion on labels, contacts
be able to mark individual messages as spam in thread-view-mode
toggle wrapping
+x search for other messages from author in thread-view-mode
x resuming of arbitrary messages
x alias authors in thread-view-mode
x fix up contact list mode: should display while loading, and when you add an alias, should move everything else to the right
def multi_search people
mode = PersonSearchResultsMode.new people
- BufferManager.spawn "personal search results", mode
+ BufferManager.spawn "search for #{people.map { |p| p.name }.join(', ')}", mode
mode.load_threads :num => mode.buffer.content_height
end
k.add :alias, "Edit alias/nickname for a person", 'a'
k.add :edit_as_new, "Edit message as new", 'd'
k.add :save_to_disk, "Save message/attachment to disk", 's'
+ k.add :search, "Search for messages from particular people", 'S'
end
## there are a couple important instance variables we hold to lay
regen_text
end
+ def search
+ p = @person_lines[curpos] or return
+ mode = PersonSearchResultsMode.new [p]
+ BufferManager.spawn "search for #{p.name}", mode
+ mode.load_threads :num => mode.buffer.content_height
+ end
+
def toggle_starred
m = @message_lines[curpos] or return
if m.has_label? :starred