Return-Path: X-Original-To: notmuch@notmuchmail.org Delivered-To: notmuch@notmuchmail.org Received: from localhost (localhost [127.0.0.1]) by olra.theworths.org (Postfix) with ESMTP id 46FD9431FB6 for ; Sun, 3 Apr 2011 19:07:24 -0700 (PDT) X-Virus-Scanned: Debian amavisd-new at olra.theworths.org X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled Received: from olra.theworths.org ([127.0.0.1]) by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id ekdZjsQ0YOx4 for ; Sun, 3 Apr 2011 19:07:22 -0700 (PDT) X-Greylist: delayed 578 seconds by postgrey-1.32 at olra; Sun, 03 Apr 2011 19:07:22 PDT Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10]) by olra.theworths.org (Postfix) with ESMTP id 31F99431FB5 for ; Sun, 3 Apr 2011 19:07:22 -0700 (PDT) Received: from pd2ml1so-ssvc.prod.shaw.ca ([10.0.141.139]) by pd3mo1so-svcs.prod.shaw.ca with ESMTP; 03 Apr 2011 19:57:43 -0600 X-Cloudmark-SP-Filtered: true X-Cloudmark-SP-Result: v=1.1 cv=6EkEX6JM2LCztCEhkE317K9SpBSN4cB8nbuuHVfFIzI= c=1 sm=1 a=ZBOBthjvTJcA:10 a=BLceEmwcHowA:10 a=GmI124iNGYoA:10 a=fZIboY/cEU6l/H7GC6ozQQ==:17 a=wW842EWMroZnxjKOiyEA:9 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117 Received: from unknown (HELO fanny.gardenlogbook.com) ([96.50.110.35]) by pd2ml1so-dmz.prod.shaw.ca with ESMTP; 03 Apr 2011 19:57:42 -0600 Received: from jeff by fanny.gardenlogbook.com with local (Exim 4.72) (envelope-from ) id 1Q6YsZ-0003nk-JT for notmuch@notmuchmail.org; Sun, 03 Apr 2011 18:46:55 -0700 Date: Sun, 03 Apr 2011 18:46:55 -0700 Message-Id: From: Jeff Richards To: notmuch@notmuchmail.org Subject: [PATCH] notmuch.vim can now archive threads using a from the show screen X-BeenThere: notmuch@notmuchmail.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: "Use and development of the notmuch mail system." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2011 02:07:24 -0000 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 NM_add_remove_tags(b:nm_search_words, '-', ['unread','inbox']) endfunction function! s:NM_show_mark_read_then_archive_thread() -- 1.7.2.3