RE: [PATCH] Fix subject handling
authorIan Main <imain@stemwinder.org>
Wed, 1 Oct 2014 17:14:56 +0000 (10:14 +1700)
committerW. Trevor King <wking@tremily.us>
Fri, 7 Nov 2014 18:04:50 +0000 (10:04 -0800)
12/92bbf04ebf7e01177ec18128faeb3e5e3672ce [new file with mode: 0644]

diff --git a/12/92bbf04ebf7e01177ec18128faeb3e5e3672ce b/12/92bbf04ebf7e01177ec18128faeb3e5e3672ce
new file mode 100644 (file)
index 0000000..b0de1b1
--- /dev/null
@@ -0,0 +1,92 @@
+Return-Path: <imain@redhat.com>\r
+X-Original-To: notmuch@notmuchmail.org\r
+Delivered-To: notmuch@notmuchmail.org\r
+Received: from localhost (localhost [127.0.0.1])\r
+       by olra.theworths.org (Postfix) with ESMTP id 4785E431FBC\r
+       for <notmuch@notmuchmail.org>; Wed,  1 Oct 2014 10:15:07 -0700 (PDT)\r
+X-Virus-Scanned: Debian amavisd-new at olra.theworths.org\r
+X-Spam-Flag: NO\r
+X-Spam-Score: 0\r
+X-Spam-Level: \r
+X-Spam-Status: No, score=0 tagged_above=-999 required=5\r
+       tests=[RCVD_IN_DNSWL_NONE=-0.0001] autolearn=disabled\r
+Received: from olra.theworths.org ([127.0.0.1])\r
+       by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
+       with ESMTP id 7zaOMDQWxkTh for <notmuch@notmuchmail.org>;\r
+       Wed,  1 Oct 2014 10:15:01 -0700 (PDT)\r
+Received: from cmta8.telus.net (cmta8.telus.net [209.171.16.81])\r
+       by olra.theworths.org (Postfix) with ESMTP id A64CA431FB6\r
+       for <notmuch@notmuchmail.org>; Wed,  1 Oct 2014 10:15:01 -0700 (PDT)\r
+Received: from ovo.mains.priv ([207.102.88.62]) by cmta8.telus.net with TELUS\r
+       id xtF01o00S1LiWEf01tF08d; Wed, 01 Oct 2014 11:15:01 -0600\r
+X-Authority-Analysis: v=2.0 cv=ffdzPTsF c=1 sm=2\r
+       a=EcQDfIwDZEqJA1f7rVUV8Q==:17 a=S-IsBHyFrF4A:10 a=IkcTkHD0fZMA:10\r
+       a=tsa3CZZnAAAA:8 a=1OjXmaDuMcscfRqsut8A:9 a=QEXdDO2ut3YA:10\r
+       a=EcQDfIwDZEqJA1f7rVUV8Q==:117\r
+X-Telus-Outbound-IP: 207.102.88.62\r
+Received: from ovo.mains.priv (localhost.localdomain [127.0.0.1])\r
+       by ovo.mains.priv (8.14.8/8.14.8) with ESMTP id s91HEvDI012864\r
+       for <notmuch@notmuchmail.org>; Wed, 1 Oct 2014 10:14:58 -0700\r
+Received: (from imain@localhost)\r
+       by ovo.mains.priv (8.14.8/8.14.8/Submit) id s91HEufE012863;\r
+       Wed, 1 Oct 2014 10:14:56 -0700\r
+X-Authentication-Warning: ovo.mains.priv: imain set sender to imain@redhat.com\r
+       using -f\r
+Date: Wed, 01 Oct 2014 10:14:56 -0700\r
+From: Ian Main <imain@stemwinder.org>\r
+To: notmuch@notmuchmail.org\r
+Message-ID: <542c3690e6502_323583be90a@ovo.mains.priv.notmuch>\r
+In-Reply-To: <1412092452-7847-1-git-send-email-imain@stemwinder.org>\r
+References: <1412092452-7847-1-git-send-email-imain@stemwinder.org>\r
+Subject: RE: [PATCH] Fix subject handling\r
+Mime-Version: 1.0\r
+Content-Type: text/plain;\r
+ charset=utf-8\r
+Content-Transfer-Encoding: 7bit\r
+X-BeenThere: notmuch@notmuchmail.org\r
+X-Mailman-Version: 2.1.13\r
+Precedence: list\r
+List-Id: "Use and development of the notmuch mail system."\r
+       <notmuch.notmuchmail.org>\r
+List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
+List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
+List-Post: <mailto:notmuch@notmuchmail.org>\r
+List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
+List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
+       <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
+X-List-Received-Date: Wed, 01 Oct 2014 17:15:07 -0000\r
+\r
+Ian Main wrote:\r
+> I'm just starting to use notmuch so I'm not sure if this is the right\r
+> way to fix this but this was erroring out so I changed it to what you\r
+> see here which is working for me now.\r
+> ---\r
+>  vim/notmuch.vim | 2 +-\r
+>  1 file changed, 1 insertion(+), 1 deletion(-)\r
+> \r
+> diff --git a/vim/notmuch.vim b/vim/notmuch.vim\r
+> index 331e930..b33c6c6 100644\r
+> --- a/vim/notmuch.vim\r
+> +++ b/vim/notmuch.vim\r
+> @@ -653,7 +653,7 @@ ruby << EOF\r
+>                      items.each do |e|\r
+>                              authors = e.authors.to_utf8.split(/[,|]/).map { |a| author_filter(a) }.join(",")\r
+>                              date = Time.at(e.newest_date).strftime(date_fmt)\r
+> -                            subject = e.messages.first['subject']\r
+> +                            subject = e.subject\r
+>                              if $mail_installed\r
+>                                      subject = Mail::Field.new("Subject: " + subject).to_s\r
+>                              else\r
+> -- \r
+> 1.9.3\r
+\r
+You can disregard this.  I think somehow I must have had a version mismatch\r
+going on when I first set up notmuch.\r
+\r
+Also I'm on IRC as 'Slower' if any of you would like to chat with me about\r
+these patches.\r
+\r
+Thanks!!\r
+\r
+    Ian\r