[PATCH] RFC: all deleting all properties with a given key
[notmuch-archives.git] / be / 0ab9349747be7566654eb339f306074964b0fd
1 Return-Path: <imain@stemwinder.org>\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 E510D431FB6\r
6         for <notmuch@notmuchmail.org>; Tue, 30 Sep 2014 09:02:48 -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 Ezvy15UrrjzG for <notmuch@notmuchmail.org>;\r
16         Tue, 30 Sep 2014 09:02:43 -0700 (PDT)\r
17 X-Greylist: delayed 487 seconds by postgrey-1.32 at olra;\r
18         Tue, 30 Sep 2014 09:02:43 PDT\r
19 Received: from cmta18.telus.net (cmta18.telus.net [209.171.16.91])\r
20         by olra.theworths.org (Postfix) with ESMTP id 55CA5431FAF\r
21         for <notmuch@notmuchmail.org>; Tue, 30 Sep 2014 09:02:43 -0700 (PDT)\r
22 Received: from ovo.mains.priv ([207.102.88.62]) by cmta18.telus.net with TELUS\r
23         id xTua1o0031LiWEf01Tuan4; Tue, 30 Sep 2014 09:54:35 -0600\r
24 X-Authority-Analysis: v=2.0 cv=cbEMWA/M c=1 sm=2\r
25         a=EcQDfIwDZEqJA1f7rVUV8Q==:17 a=S-IsBHyFrF4A:10 a=tsa3CZZnAAAA:8\r
26         a=GQuKjTm4JvCeaJcCRCQA:9 a=EcQDfIwDZEqJA1f7rVUV8Q==:117\r
27 X-Telus-Outbound-IP: 207.102.88.62\r
28 From: Ian Main <imain@stemwinder.org>\r
29 To: notmuch@notmuchmail.org\r
30 Subject: [PATCH] Fix subject handling\r
31 Date: Tue, 30 Sep 2014 08:54:12 -0700\r
32 Message-Id: <1412092452-7847-1-git-send-email-imain@stemwinder.org>\r
33 X-Mailer: git-send-email 1.9.3\r
34 X-BeenThere: notmuch@notmuchmail.org\r
35 X-Mailman-Version: 2.1.13\r
36 Precedence: list\r
37 List-Id: "Use and development of the notmuch mail system."\r
38         <notmuch.notmuchmail.org>\r
39 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
40         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
41 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
42 List-Post: <mailto:notmuch@notmuchmail.org>\r
43 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
44 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
45         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
46 X-List-Received-Date: Tue, 30 Sep 2014 16:02:49 -0000\r
47 \r
48 I'm just starting to use notmuch so I'm not sure if this is the right\r
49 way to fix this but this was erroring out so I changed it to what you\r
50 see here which is working for me now.\r
51 ---\r
52  vim/notmuch.vim | 2 +-\r
53  1 file changed, 1 insertion(+), 1 deletion(-)\r
54 \r
55 diff --git a/vim/notmuch.vim b/vim/notmuch.vim\r
56 index 331e930..b33c6c6 100644\r
57 --- a/vim/notmuch.vim\r
58 +++ b/vim/notmuch.vim\r
59 @@ -653,7 +653,7 @@ ruby << EOF\r
60                         items.each do |e|\r
61                                 authors = e.authors.to_utf8.split(/[,|]/).map { |a| author_filter(a) }.join(",")\r
62                                 date = Time.at(e.newest_date).strftime(date_fmt)\r
63 -                               subject = e.messages.first['subject']\r
64 +                               subject = e.subject\r
65                                 if $mail_installed\r
66                                         subject = Mail::Field.new("Subject: " + subject).to_s\r
67                                 else\r
68 -- \r
69 1.9.3\r
70 \r