1 Return-Path: <davrieb@liegesta.at>
\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 12E09429E26
\r
6 for <notmuch@notmuchmail.org>; Fri, 21 Oct 2011 11:16:24 -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 tests=[none]
\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 atBfNLK1Oa79 for <notmuch@notmuchmail.org>;
\r
16 Fri, 21 Oct 2011 11:16:23 -0700 (PDT)
\r
17 Received: from plum.liegesta.at (plum.liegesta.at [83.169.17.237])
\r
18 by olra.theworths.org (Postfix) with ESMTP id 7AA61431FB6
\r
19 for <notmuch@notmuchmail.org>; Fri, 21 Oct 2011 11:16:23 -0700 (PDT)
\r
20 Received: by plum.liegesta.at (Postfix, from userid 1000)
\r
21 id 3AF991AF8068; Fri, 21 Oct 2011 20:16:21 +0200 (CEST)
\r
22 Date: Fri, 21 Oct 2011 20:16:21 +0200
\r
23 From: David Riebenbauer <davrieb@liegesta.at>
\r
24 To: notmuch@notmuchmail.org
\r
25 Subject: [PATCH] notmuch.vim: fix application of tags when advancing
\r
26 Message-ID: <20111021181621.GA20117@liegesta.at>
\r
28 Content-Type: text/plain; charset=us-ascii
\r
29 Content-Disposition: inline
\r
30 User-Agent: Mutt/1.5.20 (2009-06-14)
\r
31 X-BeenThere: notmuch@notmuchmail.org
\r
32 X-Mailman-Version: 2.1.13
\r
34 List-Id: "Use and development of the notmuch mail system."
\r
35 <notmuch.notmuchmail.org>
\r
36 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,
\r
37 <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>
\r
38 List-Archive: <http://notmuchmail.org/pipermail/notmuch>
\r
39 List-Post: <mailto:notmuch@notmuchmail.org>
\r
40 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>
\r
41 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,
\r
42 <mailto:notmuch-request@notmuchmail.org?subject=subscribe>
\r
43 X-List-Received-Date: Fri, 21 Oct 2011 18:16:24 -0000
\r
45 When advancing to the next thread, advance tags would be removed
\r
48 vim/plugin/notmuch.vim | 2 +-
\r
49 1 files changed, 1 insertions(+), 1 deletions(-)
\r
51 diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim
\r
52 index 21985c7..f0bc416 100644
\r
53 --- a/vim/plugin/notmuch.vim
\r
54 +++ b/vim/plugin/notmuch.vim
\r
55 @@ -616,7 +616,7 @@ function! s:NM_show_advance_marking_read_and_archiving()
\r
56 " do this last to hide the latency
\r
57 let filter = <SID>NM_combine_tags('tag:', advance_tags, 'OR', '()')
\r
58 \ + ['AND', msg_top['id']]
\r
59 - call map(advance_tags, '"-" . v:val')
\r
60 + call map(advance_tags, '"+" . v:val')
\r
61 call <SID>NM_tag(filter, advance_tags)
\r