[PATCH v2 13/14] cli/reply: pass gmime message to munge detection
[notmuch-archives.git] / e4 / 3111fc06b422e853ed5bac8488d6264ba70f3b
1 Return-Path: <tomi.ollila@iki.fi>\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 DC077431FAF\r
6         for <notmuch@notmuchmail.org>; Thu, 29 Mar 2012 22:51:13 -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 EAgMYvY-m68V for <notmuch@notmuchmail.org>;\r
16         Thu, 29 Mar 2012 22:51:13 -0700 (PDT)\r
17 Received: from guru.guru-group.fi (guru-group.fi [87.108.86.66])\r
18         by olra.theworths.org (Postfix) with ESMTP id F1973431FAE\r
19         for <notmuch@notmuchmail.org>; Thu, 29 Mar 2012 22:51:12 -0700 (PDT)\r
20 Received: by guru.guru-group.fi (Postfix, from userid 501)\r
21         id 8BE0068055; Fri, 30 Mar 2012 08:51:09 +0300 (EEST)\r
22 From: Tomi Ollila <tomi.ollila@iki.fi>\r
23 To: Jakob <jakob@pipefour.org>, notmuch@notmuchmail.org\r
24 Subject: Re: [PATCH] vim: fix regex after "notmuch show" output change\r
25 In-Reply-To: <1333058573-10120-1-git-send-email-jakob@pipefour.org>\r
26 References: <20120329214953.GA8548@dalek.hsd1.wa.comcast.net>\r
27         <1333058573-10120-1-git-send-email-jakob@pipefour.org>User-Agent:\r
28         Notmuch/0.12+70~gce7ecf1 (http://notmuchmail.org) Emacs/23.3.1\r
29         (x86_64-unknown-linux-gnu)\r
30 X-Face: HhBM'cA~<r"^Xv\KRN0P{vn'Y"Kd;zg_y3S[4)KSN~s?O\"QPoL\r
31         $[Xv_BD:i/F$WiEWax}R(MPS`^UaptOGD`*/=@\1lKoVa9tnrg0TW?"r7aRtgk[F\r
32         !)g;OY^,BjTbr)Np:%c_o'jj,Z\r
33 Date: Fri, 30 Mar 2012 08:51:09 +0300\r
34 Message-ID: <m2iphmfxgy.fsf@guru.guru-group.fi>\r
35 MIME-Version: 1.0\r
36 Content-Type: text/plain; charset=us-ascii\r
37 X-BeenThere: notmuch@notmuchmail.org\r
38 X-Mailman-Version: 2.1.13\r
39 Precedence: list\r
40 List-Id: "Use and development of the notmuch mail system."\r
41         <notmuch.notmuchmail.org>\r
42 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
43         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
44 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
45 List-Post: <mailto:notmuch@notmuchmail.org>\r
46 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
47 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
48         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
49 X-List-Received-Date: Fri, 30 Mar 2012 05:51:14 -0000\r
50 \r
51 On Fri, Mar 30 2012, Jakob <jakob@pipefour.org> wrote:\r
52 \r
53 > The new field "excluded" was added to the output and made this regex fail.\r
54 > ---\r
55 \r
56 LGTM.\r
57 \r
58 Tomi\r
59 \r
60 \r
61 >  vim/plugin/notmuch.vim |    5 +++--\r
62 >  1 files changed, 3 insertions(+), 2 deletions(-)\r
63 >\r
64 > diff --git a/vim/plugin/notmuch.vim b/vim/plugin/notmuch.vim\r
65 > index 21985c7..8f27fb9 100644\r
66 > --- a/vim/plugin/notmuch.vim\r
67 > +++ b/vim/plugin/notmuch.vim\r
68 > @@ -48,7 +48,7 @@ let s:notmuch_defaults = {\r
69 >          \ 'g:notmuch_show_part_end_regexp':          '\f\r
70 part}'                   ,\r
71 >          \ 'g:notmuch_show_marker_regexp':            '\f\r
72 \\(message\\|header\\|body\\|attachment\\|part\\)[{}].*$',\r
73 >          \\r
74 > -        \ 'g:notmuch_show_message_parse_regexp':     '\(id:[^ ]*\) depth:\([0-9]*\) match:\([0-9]*\) filename:\(.*\)$',\r
75 > +        \ 'g:notmuch_show_message_parse_regexp':     '\(id:[^ ]*\) depth:\([0-9]*\) match:\([0-9]*\) excluded:\([0-9]*\) filename:\(.*\)$',\r
76 >          \ 'g:notmuch_show_tags_regexp':              '(\([^)]*\))$'               ,\r
77 >          \\r
78 >          \ 'g:notmuch_show_signature_regexp':         '^\(-- \?\|_\+\)$'           ,\r
79 > @@ -870,7 +870,8 @@ function! s:NM_cmd_show_parse(inlines)\r
80 >                                          let msg['id'] = m[1]\r
81 >                                          let msg['depth'] = m[2]\r
82 >                                          let msg['match'] = m[3]\r
83 > -                                        let msg['filename'] = m[4]\r
84 > +                                        let msg['excluded'] = m[4]\r
85 > +                                        let msg['filename'] = m[5]\r
86 >                                  endif\r
87 >  \r
88 >                                  let in_message = 1\r
89 > -- \r
90 > 1.7.9.1\r
91 >\r
92 > _______________________________________________\r
93 > notmuch mailing list\r
94 > notmuch@notmuchmail.org\r
95 > http://notmuchmail.org/mailman/listinfo/notmuch\r