vim: primitive reply to message

This commit is contained in:
Bart Trojanowski 2009-11-27 16:52:00 -05:00
parent ab3ce6196e
commit e5a25c7692
2 changed files with 9 additions and 1 deletions

View file

@ -69,6 +69,7 @@ Buffer types:
c - toggle folding of citations
h - toggle folding of extra header lines
m - compose a new message
r - reply to the message
s - toggle folding of signatures
q - return to search display
? - reveal the message and thread IDs of what's under cursor

View file

@ -506,7 +506,14 @@ function! s:NM_show_previous_message()
endfunction
function! s:NM_show_reply()
echo 'not implemented'
let cmd = ['reply']
call add(cmd, <SID>NM_show_message_id())
call add(cmd, 'AND')
call extend(cmd, <SID>NM_get_search_words())
let data = <SID>NM_run(cmd)
let lines = split(data, "\n")
call <SID>NM_newComposeBuffer(lines, 0)
endfunction
function! s:NM_show_view_all_mime_parts()