Re: [PATCH v4 10/16] Add n_d_add_message_with_indexopts (extension of n_d_add_message)
[notmuch-archives.git] / 12 / 92bbf04ebf7e01177ec18128faeb3e5e3672ce
1 Return-Path: <imain@redhat.com>\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 4785E431FBC\r
6         for <notmuch@notmuchmail.org>; Wed,  1 Oct 2014 10:15:07 -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\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 7zaOMDQWxkTh for <notmuch@notmuchmail.org>;\r
16         Wed,  1 Oct 2014 10:15:01 -0700 (PDT)\r
17 Received: from cmta8.telus.net (cmta8.telus.net [209.171.16.81])\r
18         by olra.theworths.org (Postfix) with ESMTP id A64CA431FB6\r
19         for <notmuch@notmuchmail.org>; Wed,  1 Oct 2014 10:15:01 -0700 (PDT)\r
20 Received: from ovo.mains.priv ([207.102.88.62]) by cmta8.telus.net with TELUS\r
21         id xtF01o00S1LiWEf01tF08d; Wed, 01 Oct 2014 11:15:01 -0600\r
22 X-Authority-Analysis: v=2.0 cv=ffdzPTsF c=1 sm=2\r
23         a=EcQDfIwDZEqJA1f7rVUV8Q==:17 a=S-IsBHyFrF4A:10 a=IkcTkHD0fZMA:10\r
24         a=tsa3CZZnAAAA:8 a=1OjXmaDuMcscfRqsut8A:9 a=QEXdDO2ut3YA:10\r
25         a=EcQDfIwDZEqJA1f7rVUV8Q==:117\r
26 X-Telus-Outbound-IP: 207.102.88.62\r
27 Received: from ovo.mains.priv (localhost.localdomain [127.0.0.1])\r
28         by ovo.mains.priv (8.14.8/8.14.8) with ESMTP id s91HEvDI012864\r
29         for <notmuch@notmuchmail.org>; Wed, 1 Oct 2014 10:14:58 -0700\r
30 Received: (from imain@localhost)\r
31         by ovo.mains.priv (8.14.8/8.14.8/Submit) id s91HEufE012863;\r
32         Wed, 1 Oct 2014 10:14:56 -0700\r
33 X-Authentication-Warning: ovo.mains.priv: imain set sender to imain@redhat.com\r
34         using -f\r
35 Date: Wed, 01 Oct 2014 10:14:56 -0700\r
36 From: Ian Main <imain@stemwinder.org>\r
37 To: notmuch@notmuchmail.org\r
38 Message-ID: <542c3690e6502_323583be90a@ovo.mains.priv.notmuch>\r
39 In-Reply-To: <1412092452-7847-1-git-send-email-imain@stemwinder.org>\r
40 References: <1412092452-7847-1-git-send-email-imain@stemwinder.org>\r
41 Subject: RE: [PATCH] Fix subject handling\r
42 Mime-Version: 1.0\r
43 Content-Type: text/plain;\r
44  charset=utf-8\r
45 Content-Transfer-Encoding: 7bit\r
46 X-BeenThere: notmuch@notmuchmail.org\r
47 X-Mailman-Version: 2.1.13\r
48 Precedence: list\r
49 List-Id: "Use and development of the notmuch mail system."\r
50         <notmuch.notmuchmail.org>\r
51 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
52         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
53 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
54 List-Post: <mailto:notmuch@notmuchmail.org>\r
55 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
56 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
57         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
58 X-List-Received-Date: Wed, 01 Oct 2014 17:15:07 -0000\r
59 \r
60 Ian Main wrote:\r
61 > I'm just starting to use notmuch so I'm not sure if this is the right\r
62 > way to fix this but this was erroring out so I changed it to what you\r
63 > see here which is working for me now.\r
64 > ---\r
65 >  vim/notmuch.vim | 2 +-\r
66 >  1 file changed, 1 insertion(+), 1 deletion(-)\r
67\r
68 > diff --git a/vim/notmuch.vim b/vim/notmuch.vim\r
69 > index 331e930..b33c6c6 100644\r
70 > --- a/vim/notmuch.vim\r
71 > +++ b/vim/notmuch.vim\r
72 > @@ -653,7 +653,7 @@ ruby << EOF\r
73 >                       items.each do |e|\r
74 >                               authors = e.authors.to_utf8.split(/[,|]/).map { |a| author_filter(a) }.join(",")\r
75 >                               date = Time.at(e.newest_date).strftime(date_fmt)\r
76 > -                             subject = e.messages.first['subject']\r
77 > +                             subject = e.subject\r
78 >                               if $mail_installed\r
79 >                                       subject = Mail::Field.new("Subject: " + subject).to_s\r
80 >                               else\r
81 > -- \r
82 > 1.9.3\r
83 \r
84 You can disregard this.  I think somehow I must have had a version mismatch\r
85 going on when I first set up notmuch.\r
86 \r
87 Also I'm on IRC as 'Slower' if any of you would like to chat with me about\r
88 these patches.\r
89 \r
90 Thanks!!\r
91 \r
92     Ian\r