vmail 0.9.6 → 0.9.7
Sign up to get free protection for your applications and to get access to all the features.
- data/README.markdown +4 -4
- data/lib/vmail/imap_client.rb +5 -1
- data/lib/vmail/version.rb +1 -1
- metadata +2 -2
data/README.markdown
CHANGED
@@ -387,10 +387,10 @@ Here are some example search queries.
|
|
387
387
|
|
388
388
|
Tip: When you're entering your search query, `<C-u>` clears the query line.
|
389
389
|
|
390
|
-
Power-Tip: When you're at the search query prompt,
|
391
|
-
|
392
|
-
|
393
|
-
the query on that line.
|
390
|
+
Power-Tip: When you're at the search query prompt, `C-p` and `C-n` let you
|
391
|
+
navigate the search query history. `<C-f>` opens a mini-editor that contains
|
392
|
+
the current query plus a history of previous vmail search queries. You can edit
|
393
|
+
any line in this mini-editor and press ENTER to perform the query on that line.
|
394
394
|
|
395
395
|
## Getting help
|
396
396
|
|
data/lib/vmail/imap_client.rb
CHANGED
@@ -428,7 +428,11 @@ module Vmail
|
|
428
428
|
log "- fetching and storing to message_cache[[#{@mailbox}, #{uid}]]"
|
429
429
|
fetch_and_cache(index)
|
430
430
|
end
|
431
|
-
|
431
|
+
if data.nil?
|
432
|
+
# retry, though this is a hack!
|
433
|
+
log "- data is nil. retrying..."
|
434
|
+
return show_message(index, raw)
|
435
|
+
end
|
432
436
|
# make this more DRY later by directly using a ref to the hash
|
433
437
|
mail = data[:mail]
|
434
438
|
size = data[:size]
|
data/lib/vmail/version.rb
CHANGED