1 Return-Path: <jrollins@finestructure.net>
\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 0655B431FAF
\r
6 for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 08:22:05 -0700 (PDT)
\r
7 X-Virus-Scanned: Debian amavisd-new at olra.theworths.org
\r
11 X-Spam-Status: No, score=-2.29 tagged_above=-999 required=5
\r
12 tests=[RCVD_IN_DNSWL_MED=-2.3, T_MIME_NO_TEXT=0.01] 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 zsFqhQqO1V2H for <notmuch@notmuchmail.org>;
\r
16 Mon, 26 Mar 2012 08:22:04 -0700 (PDT)
\r
17 Received: from outgoing-mail.its.caltech.edu (outgoing-mail.its.caltech.edu
\r
19 by olra.theworths.org (Postfix) with ESMTP id 99EBD431FAE
\r
20 for <notmuch@notmuchmail.org>; Mon, 26 Mar 2012 08:22:04 -0700 (PDT)
\r
21 Received: from earth-doxen.imss.caltech.edu (localhost [127.0.0.1])
\r
22 by earth-doxen-postvirus (Postfix) with ESMTP id 4F99C66E0144;
\r
23 Mon, 26 Mar 2012 08:22:04 -0700 (PDT)
\r
24 X-Spam-Scanned: at Caltech-IMSS on earth-doxen by amavisd-new
\r
25 Received: from finestructure.net (pool-108-27-62-184.nycmny.fios.verizon.net
\r
26 [108.27.62.184]) (Authenticated sender: jrollins)
\r
27 by earth-doxen-submit (Postfix) with ESMTP id E675A66E0134;
\r
28 Mon, 26 Mar 2012 08:21:56 -0700 (PDT)
\r
29 Received: by finestructure.net (Postfix, from userid 1000)
\r
30 id BFBF7573; Mon, 26 Mar 2012 08:21:55 -0700 (PDT)
\r
31 From: Jameson Graef Rollins <jrollins@finestructure.net>
\r
32 To: Mark Walters <markwalters1009@gmail.com>, notmuch@notmuchmail.org
\r
33 Subject: Re: [PATCH] emacs: content-type comparison should be case
\r
35 In-Reply-To: <1332636208-9784-1-git-send-email-markwalters1009@gmail.com>
\r
37 <CAMoJFUuGS_y4Sqtug5Ohdic3M43_fexWOt7cAw-ebuZ_SVUnjQ@mail.gmail.com>
\r
38 <1332636208-9784-1-git-send-email-markwalters1009@gmail.com>
\r
39 User-Agent: Notmuch/0.11.1+335~gf868783 (http://notmuchmail.org) Emacs/23.3.1
\r
40 (x86_64-pc-linux-gnu)
\r
41 Date: Mon, 26 Mar 2012 08:21:55 -0700
\r
42 Message-ID: <87398vl758.fsf@servo.finestructure.net>
\r
44 Content-Type: multipart/signed; boundary="=-=-=";
\r
45 micalg=pgp-sha256; protocol="application/pgp-signature"
\r
46 X-BeenThere: notmuch@notmuchmail.org
\r
47 X-Mailman-Version: 2.1.13
\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: Mon, 26 Mar 2012 15:22:05 -0000
\r
61 Content-Transfer-Encoding: quoted-printable
\r
63 On Sun, 25 Mar 2012 00:43:28 +0000, Mark Walters <markwalters1009@gmail.com=
\r
65 > The function notmuch-match-content-type was comparing content types
\r
66 > case sensitively. Fix it so it tests case insensitively.
\r
68 > This fixes a bug where emacs would not include any body when replying
\r
69 > to a message with content-type TEXT/PLAIN.
\r
71 > emacs/notmuch-lib.el | 5 +++--
\r
72 > 1 files changed, 3 insertions(+), 2 deletions(-)
\r
74 > diff --git a/emacs/notmuch-lib.el b/emacs/notmuch-lib.el
\r
75 > index c146748..a754de7 100644
\r
76 > --- a/emacs/notmuch-lib.el
\r
77 > +++ b/emacs/notmuch-lib.el
\r
78 > @@ -185,8 +185,9 @@ the user hasn't set this variable with the old or new=
\r
80 > (st2 (notmuch-split-content-type t2)))
\r
81 > (if (or (string=3D (cadr st1) "*")
\r
82 > (string=3D (cadr st2) "*"))
\r
83 > - (string=3D (car st1) (car st2))
\r
84 > - (string=3D t1 t2))))
\r
85 > + ;; Comparison of content types should be case insensitive.
\r
86 > + (string=3D (downcase (car st1)) (downcase (car st2)))
\r
87 > + (string=3D (downcase t1) (downcase t2)))))
\r
89 > (defvar notmuch-multipart/alternative-discouraged
\r
97 Content-Type: application/pgp-signature
\r
99 -----BEGIN PGP SIGNATURE-----
\r
100 Version: GnuPG v1.4.11 (GNU/Linux)
\r
102 iQIcBAEBCAAGBQJPcImTAAoJEO00zqvie6q8QCMP/R0qn1Q/YfFpoFf/tB841OlF
\r
103 +L75SUTVlTPDJRW3t+fNIR5QhPKn88Vv97SpXPAuDmA+N8cVTKS/X05DfuwdFE0u
\r
104 XbsfuyaCRmQk9Wu9+GTevqlcZCZR+BsZDVc5vvi4o5zVPtBtRLbSO0KzNkbjvv7L
\r
105 5QbpRMR5M+pQKb+vSIQ5R9uKU5OMHymFGsRMKcEaEImMTqgx5Dj+L5PN//s4RaYT
\r
106 oiQ+ehVOidN3YaUkL2VH6JGIU6H1dplT3HApKgmYdyYXqtiYC4wFE/CJ8DyvPrlP
\r
107 AFVzm1EyxCXm0/+SymbdZTpuj4rym32qO4Nf6g68bSA+g10Aq+9Nvr8Bn0EJRkrj
\r
108 sbLfuiXeWig0WTFPoKBDDReR5eOV5C4OBHdffdTT17MRX03swX0NM9MsOsDegfPl
\r
109 i/UFVp/3a+EAqlvJVtIhn5L7szfnSfrUhUD623ZbfF1iQxMHAAu6tu8Ca9VtqVYZ
\r
110 WYnsrL8u3YPoJqCI6+euABboOcQ1CWRbvhK4Y/uyzFVH5XHXWCt/WLB3hNZdluoO
\r
111 MRl1hWnRuGTQ/AmK+3PHgl292SKupjKTAtoFysuNe0YQoLvwmnZW81A19L1Bs8Tw
\r
112 DsaoGAWBs9opEHg/0me/QX6mxn09LUeiROz96xImWdDC0YCqFyP/P+WuY8ZR0TrK
\r
113 NYTw34IxHkkER0hRF7Gu
\r
115 -----END PGP SIGNATURE-----
\r