Re: [PATCH v4 01/16] add util/search-path.{c, h} to test for executables in $PATH
[notmuch-archives.git] / 55 / 78531cac9e56d2ecbab42719be49aa73dd877d
1 Return-Path: <m.walters@qmul.ac.uk>\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 5D89F431FAF\r
6         for <notmuch@notmuchmail.org>; Sat, 24 Mar 2012 14:49:26 -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: -1.098\r
10 X-Spam-Level: \r
11 X-Spam-Status: No, score=-1.098 tagged_above=-999 required=5\r
12         tests=[DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001,\r
13         NML_ADSP_CUSTOM_MED=1.2, RCVD_IN_DNSWL_MED=-2.3] autolearn=disabled\r
14 Received: from olra.theworths.org ([127.0.0.1])\r
15         by localhost (olra.theworths.org [127.0.0.1]) (amavisd-new, port 10024)\r
16         with ESMTP id H3G1b1O2OkJz for <notmuch@notmuchmail.org>;\r
17         Sat, 24 Mar 2012 14:49:26 -0700 (PDT)\r
18 Received: from mail2.qmul.ac.uk (mail2.qmul.ac.uk [138.37.6.6])\r
19         (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))\r
20         (No client certificate requested)\r
21         by olra.theworths.org (Postfix) with ESMTPS id E2E1C431FAE\r
22         for <notmuch@notmuchmail.org>; Sat, 24 Mar 2012 14:49:25 -0700 (PDT)\r
23 Received: from smtp.qmul.ac.uk ([138.37.6.40])\r
24         by mail2.qmul.ac.uk with esmtp (Exim 4.71)\r
25         (envelope-from <m.walters@qmul.ac.uk>)\r
26         id 1SBYpw-000077-8O; Sat, 24 Mar 2012 21:49:24 +0000\r
27 Received: from 94-192-233-223.zone6.bethere.co.uk ([94.192.233.223]\r
28         helo=localhost)\r
29         by smtp.qmul.ac.uk with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.69)\r
30         (envelope-from <m.walters@qmul.ac.uk>)\r
31         id 1SBYpv-0006qZ-Pd; Sat, 24 Mar 2012 21:49:23 +0000\r
32 From: Mark Walters <markwalters1009@gmail.com>\r
33 To: Adam Wolfe Gordon <awg+notmuch@xvx.ca>, notmuch@notmuchmail.org\r
34 Subject: Reply code with TEXT/PLAIN\r
35 User-Agent: Notmuch/0.12+65~g8bf1842 (http://notmuchmail.org) Emacs/23.3.1\r
36         (x86_64-pc-linux-gnu)\r
37 Date: Sat, 24 Mar 2012 21:49:36 +0000\r
38 Message-ID: <87d3814qkv.fsf@qmul.ac.uk>\r
39 MIME-Version: 1.0\r
40 Content-Type: text/plain; charset=us-ascii\r
41 X-Sender-Host-Address: 94.192.233.223\r
42 X-QM-SPAM-Info: Sender has good ham record.  :)\r
43 X-QM-Body-MD5: 81184fa3cf15241b16be16260c7c8c4d (of first 20000 bytes)\r
44 X-SpamAssassin-Score: -1.8\r
45 X-SpamAssassin-SpamBar: -\r
46 X-SpamAssassin-Report: The QM spam filters have analysed this message to\r
47         determine if it is\r
48         spam. We require at least 5.0 points to mark a message as spam.\r
49         This message scored -1.8 points.\r
50         Summary of the scoring: \r
51         * -2.3 RCVD_IN_DNSWL_MED RBL: Sender listed at http://www.dnswl.org/,\r
52         *      medium trust\r
53         *      [138.37.6.40 listed in list.dnswl.org]\r
54         * 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail\r
55         provider *      (markwalters1009[at]gmail.com)\r
56         * -0.0 T_RP_MATCHES_RCVD Envelope sender domain matches handover relay\r
57         *      domain\r
58         *  0.5 AWL AWL: From: address is in the auto white-list\r
59 X-QM-Scan-Virus: ClamAV says the message is clean\r
60 X-BeenThere: notmuch@notmuchmail.org\r
61 X-Mailman-Version: 2.1.13\r
62 Precedence: list\r
63 List-Id: "Use and development of the notmuch mail system."\r
64         <notmuch.notmuchmail.org>\r
65 List-Unsubscribe: <http://notmuchmail.org/mailman/options/notmuch>,\r
66         <mailto:notmuch-request@notmuchmail.org?subject=unsubscribe>\r
67 List-Archive: <http://notmuchmail.org/pipermail/notmuch>\r
68 List-Post: <mailto:notmuch@notmuchmail.org>\r
69 List-Help: <mailto:notmuch-request@notmuchmail.org?subject=help>\r
70 List-Subscribe: <http://notmuchmail.org/mailman/listinfo/notmuch>,\r
71         <mailto:notmuch-request@notmuchmail.org?subject=subscribe>\r
72 X-List-Received-Date: Sat, 24 Mar 2012 21:49:26 -0000\r
73 \r
74 \r
75 \r
76 I am not certain if this is a bug or a request to work around broken\r
77 mailers. I tried replying to a message today (with recent git) and got\r
78 an empty message. I looked at the json output for reply and it contains\r
79 the message but the content type is TEXT/PLAIN rather than\r
80 text/plain.\r
81 \r
82 This seems to mean it doesn't match in notmuch-match-content-type\r
83 (notmuch-lib.el) called from notmuch-mua-get-quotable-parts (in\r
84 notmuch-mua.el); and so does not get included.\r
85 \r
86 Making the match case-insensitive `fixed' the problem.\r
87 \r
88 I don't know whether content-types are allowed  to be upper-case but I\r
89 seem to have several mails where they are. I am also not sure whether\r
90 the correct fix is in the emacs code, or in the cli reply format\r
91 (i.e. perhaps the reply format should lower-case the content-type).\r
92 \r
93 Best wishes\r
94 \r
95 Mark\r
96 \r
97 PS Sorry Adam for the duplicate: I sent from a wrong address (my fault\r
98 this time)!\r