vmail 1.2.6 → 1.2.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -281,7 +281,7 @@ the draft email into a buffer. (Use `:e!` if you're already in the message
281
281
  composition window. You can also use `:sp` if you want to open the draft email file in a
282
282
  split window, etc.) Resume editing. Send by typing `,vs`.
283
283
 
284
- At any point, you can quit the composition window by typing `q` in normal mode.
284
+ At any point, you can quit the composition window by typing `,q` in normal mode.
285
285
 
286
286
  You can also use `vmailsend` from the command line to send a message that
287
287
  you've composed with correct headers and saved to a file, like so:
@@ -826,7 +826,7 @@ endfunc
826
826
 
827
827
  func! s:compose_window_mappings()
828
828
  noremap <silent> <buffer> <leader>q :call <SID>cancel_compose()<cr>
829
- nmap <silent> <buffer> q <leader>q
829
+ "nmap <silent> <buffer> q <leader>q
830
830
  setlocal ai
831
831
  " setlocal textwidth=72
832
832
  autocmd CursorMoved <buffer> call <SID>toggle_textwidth()
@@ -275,7 +275,9 @@ module Vmail
275
275
  # flags is an array like [:Flagged, :Seen]
276
276
  def format_flags(flags)
277
277
  # other flags like "Old" should be hidden here
278
- flags = flags.map {|flag| FLAGMAP[flag]}
278
+ flags = flags.map {|flag| FLAGMAP[flag] || flag}
279
+ flags.delete("Old")
280
+ log "FLAGS: #{flags.inspect}"
279
281
  if flags.delete(:Seen).nil?
280
282
  flags << '+' # unread
281
283
  end
@@ -1,3 +1,3 @@
1
1
  module Vmail
2
- VERSION = "1.2.6"
2
+ VERSION = "1.2.8"
3
3
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 1
7
7
  - 2
8
- - 6
9
- version: 1.2.6
8
+ - 8
9
+ version: 1.2.8
10
10
  platform: ruby
11
11
  authors:
12
12
  - Daniel Choi