[PATCH] notmuch.vim can now archive threads using a from the show screen

Subject: [PATCH] notmuch.vim can now archive threads using a from the show screen

Date: Sun, 03 Apr 2011 18:46:55 -0700

To: notmuch@notmuchmail.org

Cc:

From: Jeff Richards


Implements the already shelled out function for archiving messages while looking at a message.

---
 vim/plugin/notmuch.vim |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim
index 67501d8..eae5297 100644
--- a/vim/plugin/notmuch.vim
+++ b/vim/plugin/notmuch.vim
@@ -507,7 +507,7 @@ function! s:NM_show_next_thread()
 endfunction
 
 function! s:NM_show_archive_thread()
-        echo 'not implemented'
+        call <SID>NM_add_remove_tags(b:nm_search_words, '-', ['unread','inbox'])
 endfunction
 
 function! s:NM_show_mark_read_then_archive_thread()
-- 
1.7.2.3





Thread: