Re: [PATCH 0/4] Allow specifying alternate names for addresses in other_email
[notmuch-archives.git] / af / a1be219efb08c0537481338b321351c5b6cb4c
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
8 X-Spam-Flag: NO\r
9 X-Spam-Score: 0\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=0 tagged_above=-999 required=5 tests=[none]\r
12         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 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
27 MIME-Version: 1.0\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
33 Precedence: list\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
44 \r
45 When advancing to the next thread, advance tags would be removed\r
46 instead of added.\r
47 ---\r
48  vim/plugin/notmuch.vim |    2 +-\r
49  1 files changed, 1 insertions(+), 1 deletions(-)\r
50 \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
62                  endif\r
63                  return\r
64 -- \r
65 1.7.2.5\r
66 \r