1 Return-Path: <jeff@jrichards.ca>
\r
2 X-Original-To: notmuch@notmuchmail.org
\r
3 Delivered-To: notmuch@notmuchmail.org
\r
4 Received: from localhost (localhost [127.0.0.1])
\r
5 by olra.theworths.org (Postfix) with ESMTP id A0807431FB6
\r
6 for <notmuch@notmuchmail.org>; Mon, 4 Apr 2011 22:42:34 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled
\r
13 Received: from olra.theworths.org ([127.0.0.1])
\r
14 by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)
\r
15 with ESMTP id zFQ0a4nl3vwc for <notmuch@notmuchmail.org>;
\r
16 Mon, 4 Apr 2011 22:42:33 -0700 (PDT)
\r
17 Received: from idcmail-mo1so.shaw.ca (idcmail-mo1so.shaw.ca [24.71.223.10])
\r
18 by olra.theworths.org (Postfix) with ESMTP id BDE92431FB5
\r
19 for <notmuch@notmuchmail.org>; Mon, 4 Apr 2011 22:42:33 -0700 (PDT)
\r
20 Received: from pd4ml3so-ssvc.prod.shaw.ca ([10.0.141.150])
\r
21 by pd2mo1so-svcs.prod.shaw.ca with ESMTP; 04 Apr 2011 23:42:31 -0600
\r
22 X-Cloudmark-SP-Filtered: true
\r
23 X-Cloudmark-SP-Result: v=1.1 cv=fp/YrIG6YJuYYWILSlVONgBms0XWtFqTjqHWlNKfnDg=
\r
25 a=Rsd4VCfMyRYA:10 a=BLceEmwcHowA:10 a=GmI124iNGYoA:10
\r
26 a=fZIboY/cEU6l/H7GC6ozQQ==:17 a=pGLkceISAAAA:8 a=GIalLGfRMgzawCX8fV0A:9
\r
27 a=KDAKdJ8B5ObXlZGk1twA:7 a=MSl-tDqOz04A:10
\r
28 a=HpAAvcLHHh0Zw7uRqdWCyQ==:117
\r
29 Received: from unknown (HELO fanny.gardenlogbook.com) ([96.50.110.35])
\r
30 by pd4ml3so-dmz.prod.shaw.ca with ESMTP; 04 Apr 2011 23:42:31 -0600
\r
31 Received: from jeff by fanny.gardenlogbook.com with local (Exim 4.72)
\r
32 (envelope-from <jeff@jrichards.ca>)
\r
33 id 1Q6yrb-0005SC-BE; Mon, 04 Apr 2011 22:31:39 -0700
\r
34 Message-Id: <E1Q6yrb-0005SC-BE@fanny.gardenlogbook.com>
\r
35 From: Jeff Richards <jeff@jrichards.ca>
\r
36 Subject: [PATCH v2] notmuch.vim can now archive threads using a from the show
\r
38 To: Felipe Contreras <felipe.contreras@gmail.com>
\r
39 In-Reply-To: <BANLkTikmeRZsru07R3iXPGN53vwbLL8TgQ@mail.gmail.com>
\r
40 References: <E1Q6YsZ-0003nk-JT@fanny.gardenlogbook.com>
\r
41 <BANLkTikmeRZsru07R3iXPGN53vwbLL8TgQ@mail.gmail.com>
\r
42 Date: Mon, 04 Apr 2011 22:31:39 -0700
\r
43 Cc: notmuch@notmuchmail.org
\r
44 X-BeenThere: notmuch@notmuchmail.org
\r
45 X-Mailman-Version: 2.1.13
\r
47 List-Id: "Use and development of the notmuch mail system."
\r
48 <notmuch.notmuchmail.org>
\r
49 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
50 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
51 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
52 List-Post: <mailto:notmuch@notmuchmail.org>
\r
53 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
54 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
55 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
56 X-List-Received-Date: Tue, 05 Apr 2011 05:42:35 -0000
\r
58 On Mon, 4 Apr 2011 18:58:48 +0300, Felipe Contreras <felipe.contreras@gmail.com> wrote:
\r
59 > On Mon, Apr 4, 2011 at 4:46 AM, Jeff Richards <jeff@jrichards.ca> wrote:
\r
60 > > Implements the already shelled out function for archiving messages while looking at a message.
\r
62 > I'm not sure if this should also remove from 'unread', or we should
\r
63 > have two actions, one that removes from both unread and 'inbox', and
\r
64 > another one only for 'inbox'.
\r
67 Yep, that's a good point. Following the functionality for the search screen, the show screen should just remove the inbox tag and that's it.
\r
70 vim/plugin/notmuch.vim | 2 +-
\r
71 1 files changed, 1 insertions(+), 1 deletions(-)
\r
73 diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim
\r
74 index 67501d8..eae5297 100644
\r
75 --- a/vim/plugin/notmuch.vim
\r
76 +++ b/vim/plugin/notmuch.vim
\r
77 @@ -507,7 +507,7 @@ function! s:NM_show_next_thread()
\r
80 function! s:NM_show_archive_thread()
\r
81 - echo 'not implemented'
\r
82 + call <SID>NM_add_remove_tags(b:nm_search_words, '-', ['inbox'])
\r
85 function! s:NM_show_mark_read_then_archive_thread()
\r